hashlib 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/hashlib.rb +1 -1
  2. metadata +1 -1
data/lib/hashlib.rb CHANGED
@@ -45,7 +45,7 @@ class Hash
45
45
 
46
46
  def set(path, value)
47
47
  if not path.is_a?(Array)
48
- path = path.strip.split(/[\/\.]/)
48
+ path = path.to_s.strip.split(/[\/\.]/)
49
49
  end
50
50
  root = self
51
51
 
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.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: