rsk_snitch 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 +4 -4
- data/exe/rsk_snitch +12 -1
- data/lib/rsk_snitch/version.rb +1 -1
- data/rsk_snitch.gemspec +1 -1
- metadata +2 -4
- data/bin/rsk_snitch +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d918e04f319d5c047cc07a4797c61474fe2faa1
|
4
|
+
data.tar.gz: 99d066a75bd3a84b287e41bd03c180ad8301c1aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1796ebcf1c14e26e7e71433173b5caf586e6e29c00aff3c8613db6988935d266f8eee993caea419c94a65d1654bef0b596a0b2283085a37e6a0a9e08bf6a57f
|
7
|
+
data.tar.gz: 1efd0208bce14e5bb10f148425bdd62fbd2b4749ea087cb08e01311e432fdaa2f9f8fb77497f192d518c97a8fbc04fb0aebeb7e76ddf989296bc72efda4b6fc3
|
data/exe/rsk_snitch
CHANGED
@@ -1,3 +1,14 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require
|
3
|
+
require 'rsk_snitch'
|
4
|
+
|
5
|
+
puts "Looking for a node with id #{ARGV[0]}, this may take a while."
|
6
|
+
|
7
|
+
if RskSnitch::Nodes.up?(ARGV[0], 10)
|
8
|
+
puts "Found it"
|
9
|
+
exit 0
|
10
|
+
else
|
11
|
+
puts "Not found"
|
12
|
+
exit 1
|
13
|
+
end
|
14
|
+
|
data/lib/rsk_snitch/version.rb
CHANGED
data/rsk_snitch.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["yo@nubis.im"]
|
11
11
|
|
12
12
|
spec.summary = %q{Check if a node is reporting stats in stats.rsk.co}
|
13
|
-
spec.description = %q{Check if a node is reporting stats in stats.rsk.co
|
13
|
+
spec.description = %q{Check if a node is reporting stats in stats.rsk.co}
|
14
14
|
spec.homepage = "https://github.com/bitex-la/rsk-snitch"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsk_snitch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nubis
|
@@ -122,8 +122,7 @@ dependencies:
|
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '1.0'
|
125
|
-
description: Check if a node is reporting stats in stats.rsk.co
|
126
|
-
or executable.
|
125
|
+
description: Check if a node is reporting stats in stats.rsk.co
|
127
126
|
email:
|
128
127
|
- yo@nubis.im
|
129
128
|
executables:
|
@@ -139,7 +138,6 @@ files:
|
|
139
138
|
- README.md
|
140
139
|
- Rakefile
|
141
140
|
- bin/console
|
142
|
-
- bin/rsk_snitch
|
143
141
|
- bin/setup
|
144
142
|
- exe/rsk_snitch
|
145
143
|
- lib/rsk_snitch.rb
|
data/bin/rsk_snitch
DELETED