nx 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74635fa7f7e61c40b978d72e274f1b7ac1b5449ae489d83715850e7c53f53b90
4
- data.tar.gz: a1a1b9d342f191b6e64214e41158d6b31364179299abf26c7ef4c459759b3264
3
+ metadata.gz: 860d0e3a899e4d301495e6810141328e64f1bd43aa2b710e251c722345439cf1
4
+ data.tar.gz: d8616dacb3c1677aebc27b1552f012efa9cb6979a43185c780ec6115e208657b
5
5
  SHA512:
6
- metadata.gz: 99e0f6b0ceb8656d2c5791988c1ca3317f5b90215ee421077dd7e5de60dd557e29f3b0758d00e4cb9bb8fd11df00f5c065ec8de646c746b64b26c207c5fde572
7
- data.tar.gz: 4b4dfd71558dcfe3bb3cdcc555c9e7e3c9b25a64b35783035eb2b65425f2752fc366f85861b2743be49b87b5ecbdec7f895766aed42cb68c06262c7b9132f9e7
6
+ metadata.gz: 0a23742695babfe1c03239f2c69c2b6b4eb7c2cb1533255cd080f925374ba5a34a0eb76132985aa713bd1e52ff75d755017ac9d8e4919e110455433c99f34035
7
+ data.tar.gz: 29c7c2c5729e8ef957b6f555eabd2592ba12eedb5752a28c0fd72c19652ba205efaa6135cad62317c78509f67737c9cc5905e57704c25ec79e3e91bfd834448b
data/lib/nx.rb CHANGED
@@ -12,7 +12,8 @@ module Nx
12
12
 
13
13
  # set by path:
14
14
  keys[0..-2].each_with_index do |key, index|
15
- me = me[key] = me[key] || (keys[index + 1].class == String ? {} : [])
15
+ the_key = key.to_sym
16
+ me = me[the_key] = me[the_key] || (keys[index + 1].class == String ? {} : [])
16
17
  end
17
18
 
18
19
  me[keys[-1].to_sym] = value
@@ -1,3 +1,3 @@
1
1
  module Nx
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/nx-0.1.2.gem ADDED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - afeiship
@@ -60,7 +60,7 @@ files:
60
60
  - bin/setup
61
61
  - lib/nx.rb
62
62
  - lib/templates/version.rb
63
- - nx-0.1.1.gem
63
+ - nx-0.1.2.gem
64
64
  - nx.gemspec
65
65
  - package.json
66
66
  homepage: https://github.com/afeiship/nx
data/nx-0.1.1.gem DELETED
Binary file