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 +4 -4
- data/lib/nx.rb +2 -1
- data/lib/templates/version.rb +1 -1
- data/nx-0.1.2.gem +0 -0
- metadata +2 -2
- data/nx-0.1.1.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 860d0e3a899e4d301495e6810141328e64f1bd43aa2b710e251c722345439cf1
|
4
|
+
data.tar.gz: d8616dacb3c1677aebc27b1552f012efa9cb6979a43185c780ec6115e208657b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
data/lib/templates/version.rb
CHANGED
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.
|
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.
|
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
|