is_same 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/is_same/core_ext.rb +11 -3
  2. metadata +1 -1
@@ -106,11 +106,19 @@ class Array
106
106
 
107
107
  end
108
108
 
109
+
110
+ # #matching? and #matching support
109
111
  class BasicObject
110
- alias :matching? :is_same?
112
+ def matching? *args
113
+ is_same? *args
114
+ end
111
115
  end
112
116
 
113
117
  class Array
114
- alias :matching? :include_same?
115
- alias :matching :including_same
118
+ def matching? *args
119
+ include_same? *args
120
+ end
121
+ def matching *args
122
+ including_same *args
123
+ end
116
124
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: is_same
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: