All Versions
9
Latest Version
Avg Release Cycle
1 days
Latest Release
-

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) and include_any?(array) to avoid confusion (remove support for the latter as it is not necessary)
    • [API Breaking] Separate between operations include_all?(*array) and include_all?(array) to avoid confusion (rename the latter to include_array?(array))
    • Array#include_all?(*other_array, same_sort: true) accepts same_sort option (default: false)
  • v1.2.0 Changes

    • ➕ Add Array#array_index(array) method to determine start array index of other array
  • 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)
  • v1.0.4 Changes

    • Support splat args (e.g. include_any?(1, 2, 3) instead of include_any?([1, 2, 3]))
  • 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
  • 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?