README.md in array_include_methods-1.4.0 vs README.md in array_include_methods-1.5.0

- old
+ new

@@ -1,20 +1,20 @@ -# ArrayIncludeMethods 1.4.0 - Ruby Refinement +# ArrayIncludeMethods 1.5.0 - Ruby Refinement [![Gem Version](https://badge.fury.io/rb/array_include_methods.svg)](http://badge.fury.io/rb/array_include_methods) [![Build Status](https://travis-ci.com/AndyObtiva/array_include_methods.svg?branch=master)](https://travis-ci.com/AndyObtiva/array_include_methods) [![Coverage Status](https://coveralls.io/repos/github/AndyObtiva/array_include_methods/badge.svg?branch=master)](https://coveralls.io/github/AndyObtiva/array_include_methods?branch=master) -`Array#include_all?` & `Array#include_any?` methods missing from basic Ruby `Array` API. +`Array#include_all?`, `Array#include_any?`, `Array#include_array?`, `Array#array_index`, `Array#array_diff_indices`, and `Array#array_intersection_indices` methods missing from basic Ruby `Array` API. ## Setup ### With Bundler: Include the following in Gemfile: ```ruby -gem 'array_include_methods', '~> 1.4.0' +gem 'array_include_methods', '~> 1.5.0' ``` Run: ``` @@ -24,11 +24,11 @@ ### Without Bundler: Run: ``` -gem install array_include_methods -v1.4.0 +gem install array_include_methods -v1.5.0 ``` ## Usage Add the following line to your application if you are not requiring all gems via Bundler (e.g. `Bundler.require(:default)`): @@ -126,12 +126,20 @@ [1, 2, 3, 4].array_diff_indexes([2, 4, 5]) # returns [0, 2] [1, 2, 3, 4].array_diff_indexes([]) # returns [0, 1, 2, 3] [1, 2, 3, 4].array_diff_indexes(nil) # returns [0, 1, 2, 3] ``` +## JRuby Compatibility + +This gem is 100% compatible with JRuby. + ## Opal Compatibility -This gem degrades gracefully to monkey-patching in [Opal Ruby](https://opalrb.com) and provides a `using` method shim so consumer code does not have to change if it used gems that rely on the Ruby refinement +This gem degrades gracefully to monkey-patching in [Opal Ruby](https://opalrb.com) and provides a `using` method shim so consumer code does not have to change if it used gems that rely on the Ruby refinement. + +## RubyMotion Compatibility + +This gem degrades gracefully to monkey-patching in [RubyMotion](http://www.rubymotion.com/) and provides a `using` method shim so consumer code does not have to change if it used gems that rely on the Ruby refinement. ## TODO [TODO.md](TODO.md)