nx 0.1.0 → 0.1.1

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: 5f7c349f24f446f5d13d739c79eab2b3f133e3a7dc159b0da2df35369c682af6
4
- data.tar.gz: 3ec07565edc6d250233e3509f99c96ac7725666b5fc839d939cce4abd1a72108
3
+ metadata.gz: 81f8fad223bcd77c7f8f079bfdf73154341ec8d33557880912e6dc8fca0a5eea
4
+ data.tar.gz: 9d385b8eca2cd8170ad5629b1eb8a3005a3e02d91a92226ef7f625850114ffb3
5
5
  SHA512:
6
- metadata.gz: bdb9cb3e76b9a956a62a3669b1dde2d2d2ae631a2298e866f03122319e479cde7465ecc68ad1b2fa20501c6588f2ad2d75283b70679e9a1b2896260035f57009
7
- data.tar.gz: 1aa016243e19717fc04ca09d459d97564b0aac0951c77802efc423f36a6fc654d368274862f6cde4d93a7e0fb83f78484235273a67b5691ab31b9b3eea99c283
6
+ metadata.gz: dda8bd5667c28ed94b54e8a12c4ad6f9ca914def906858c13bace09be06b38cff2508fea725f068417ea6b3847f7e66d940733970a018fa8ddfe167f3616a862
7
+ data.tar.gz: 77d1a8dbaf81dd4cc9057cc9587bc04f89f5c65715ff197961ea166caa06cb06a40dc6d669e5bb963f2696262abad3d6b72421bfaa2d48394489b1e1dcd7d8fa
data/lib/nx.rb CHANGED
@@ -9,7 +9,7 @@ module Nx
9
9
  keys << (part.include?("]") ? part.to_i : part)
10
10
  end
11
11
  end
12
-
12
+
13
13
  # set by path:
14
14
  keys[0..-2].each_with_index do |key, index|
15
15
  me = me[key] = me[key] || (keys[index + 1].class == String ? {} : [])
@@ -18,7 +18,7 @@ module Nx
18
18
  me[keys[-1]] = value
19
19
  end
20
20
 
21
- def get( path)
21
+ def get(path)
22
22
  result = self
23
23
  path.split(".").each do |dot_part|
24
24
  dot_part.split("[").each do |part|
@@ -1,3 +1,3 @@
1
1
  module Nx
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/nx-0.1.0.gem ADDED
Binary file
data/nx.gemspec CHANGED
@@ -29,7 +29,6 @@ Gem::Specification.new do |spec|
29
29
  spec.bindir = "exe"
30
30
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
31
  spec.require_paths = ["lib"]
32
-
33
32
  spec.add_development_dependency "bundler", "~> 1.14"
34
- spec.add_development_dependency "rake", "~> 10.0"
33
+ spec.add_development_dependency "rake", "~> 12.3", ">= 12.3.3"
35
34
  end
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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - afeiship
@@ -30,14 +30,20 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '12.3'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 12.3.3
34
37
  type: :development
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
41
  - - "~>"
39
42
  - !ruby/object:Gem::Version
40
- version: '10.0'
43
+ version: '12.3'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 12.3.3
41
47
  description: Next core for ruby gem.
42
48
  email:
43
49
  - 1290657123@qq.com
@@ -54,6 +60,7 @@ files:
54
60
  - bin/setup
55
61
  - lib/nx.rb
56
62
  - lib/templates/version.rb
63
+ - nx-0.1.0.gem
57
64
  - nx.gemspec
58
65
  homepage: https://github.com/afeiship/nx
59
66
  licenses: