All Versions
9
Latest Version
Avg Release Cycle
1 days
Latest Release
-
Changelog History
Changelog History
-
v1.4.0 Changes
array_diff_indexes(other_array)
(alias:array_diff_indices
)array_intersection_indexes(other_array)
(alias:array_intersection_indices
)
-
v1.3.0 Changes
- [API Breaking] Separate between operations
include_any?(*array)
andinclude_any?(array)
to avoid confusion (remove support for the latter as it is not necessary) - [API Breaking] Separate between operations
include_all?(*array)
andinclude_all?(array)
to avoid confusion (rename the latter toinclude_array?(array)
) Array#include_all?(*other_array, same_sort: true)
acceptssame_sort
option (default:false
)
- [API Breaking] Separate between operations
-
v1.2.0 Changes
- โ Add
Array#array_index(array)
method to determine start array index of other array
- โ Add
-
v1.1.0 Changes
- Perform contiguous-element
include_all?([...])
check against an array argument (not splatted) - Perform sorted
include_all?([...])
check against an array argument (not splatted) - Perform non-repetition
include_all?([...])
check against an array argument (not splatted)
- Perform contiguous-element
-
v1.0.4 Changes
- Support splat args (e.g.
include_any?(1, 2, 3)
instead ofinclude_any?([1, 2, 3])
)
- Support splat args (e.g.
-
v1.0.3 Changes
- ๐ Opal compatibility through monkey-patching and providing a
using
method shim so that existing gems that used the refinement in Ruby work
- ๐ Opal compatibility through monkey-patching and providing a
-
v1.0.2 Changes
June 02, 2020- ๐ Handled case of two arrays with elements of unsortable object types (e.g. Hash)
-
v1.0.1 Changes
June 01, 2020- ๐ Handled case of two arrays with different ordering of common elements
-
v1.0.0 Changes
June 01, 2020- Initial implementation of Array#include_all? & Array#include_any?