hashlib 0.0.21 → 0.0.22
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.
- data/lib/hashlib.rb +4 -1
- metadata +2 -2
data/lib/hashlib.rb
CHANGED
|
@@ -220,6 +220,9 @@ class Hash
|
|
|
220
220
|
end
|
|
221
221
|
return rv
|
|
222
222
|
end
|
|
223
|
+
|
|
224
|
+
alias_method :set, :rset
|
|
225
|
+
alias_method :get, :rget
|
|
223
226
|
end
|
|
224
227
|
|
|
225
228
|
class Array
|
|
@@ -279,4 +282,4 @@ class Array
|
|
|
279
282
|
|
|
280
283
|
rv.inject([]){|s,(k,v)| populate.call(s,k,v) }
|
|
281
284
|
end
|
|
282
|
-
end
|
|
285
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hashlib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.22
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -40,7 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
40
40
|
version: '0'
|
|
41
41
|
requirements: []
|
|
42
42
|
rubyforge_project:
|
|
43
|
-
rubygems_version: 1.8.
|
|
43
|
+
rubygems_version: 1.8.11
|
|
44
44
|
signing_key:
|
|
45
45
|
specification_version: 3
|
|
46
46
|
summary: Useful utility methods for working with Ruby hashes
|