hashlib 0.0.18 → 0.0.19

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/hashlib.rb +2 -2
  2. metadata +1 -1
@@ -126,10 +126,10 @@ class Hash
126
126
  path << k
127
127
 
128
128
  if v.is_a?(Hash)
129
- each_recurse(v, path, &block)
129
+ each_recurse(v, path, inplace, &block)
130
130
  else
131
131
  rv = yield(k, v, path)
132
- root[k] = rv if inplace === true
132
+ self.set(path, rv) if inplace === true
133
133
  end
134
134
 
135
135
  path.pop
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.18
4
+ version: 0.0.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: