blackstack-nodes 1.2.3 → 1.2.4

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/blackstack-nodes.rb +0 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 564b1ff0cb7e036e0e9b934ededf8898c1c2fcec954f510fd9b4081bac502a68
4
- data.tar.gz: 72f9667c3dddd1fd6bee131c3f4420681a6328c4584fe1c3455aa36389e3b87f
3
+ metadata.gz: 0b715095e772fb75530a3e4340f703a8581b6784f3596cfa412a7528fbd2a865
4
+ data.tar.gz: ce11f94afead91279cd7e5e1a793c8030c42bfc17f35dee3a5806d4e56460b29
5
5
  SHA512:
6
- metadata.gz: 6d18846e64fbe0dca169445941d502d45f88d57c7046c0b90a437188a574ae1c619eb04d8ffc0a5ed130d1141112f696fe8a21a7894642b30c066693bc2dbefb
7
- data.tar.gz: 993e4291693c2ed190e924b9186ca2f97c5fef142d70097c3f76741f6d9a85ff9aed77238fed71ffcb3f3483701a4f1e13b056fb1ca7018d240d71c1c617af28
6
+ metadata.gz: 277fd5c174de605aca61735767fcdfbd3643b48663cef5132a4d08c94d5a654374fac6c86c003f98632e55f2eefeab19a23c801e7b7cf3df9b67f0b7b17701da
7
+ data.tar.gz: 9f068a0b5852259d7e5c79a1f1e1c3647b53bcbdea66d8f1b0c05361629cbe88872cdace540bf14dec94685c268823bccea6f2561895fe04ee5c6060ea82222c
@@ -23,9 +23,6 @@ module BlackStack
23
23
  # validate: the parameter h[:name] is a string
24
24
  errors << "The parameter h[:name] is not a string" unless h[:name].is_a?(String)
25
25
 
26
- # validate: does not exist any other element in @@nodes with the same value for the parameter h[:name]
27
- errors << "The parameter h[:name] is not unique" if @@nodes.select{|n| n[:name] == h[:name]}.length > 0
28
-
29
26
  # validate: the paramerer h has a key :net_remote_ip
30
27
  errors << "The parameter h does not have a key :net_remote_ip" unless h.has_key?(:net_remote_ip)
31
28
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blackstack-nodes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi