pickynode 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/pickynode.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c3f5ef27c2bf380f1091c6dd43d1de29c07524d2a4fbf080bf775c8c3651f02
|
4
|
+
data.tar.gz: 5eae95257a114d37b6d1a3e12770c07d653f5c1e87db501bc374543dc37a8359
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13bba46b0295a4d37ccc36f3f701669ae7454a0c8fbc5f7be68832f2fd26ff225e1914853895676170cbcfe9801e39e0869815a60b15fe07a6f0258565af061d
|
7
|
+
data.tar.gz: 53072c53f84bbd76b03f047496f9b115fcd6209a278d33fcd9d0eae2f1ad30e447fd25f71d4f088a4f2d8b32b43e926de281ddd48399d4bfa91a31d89ea8015d
|
data/README.md
CHANGED
data/lib/pickynode.rb
CHANGED
@@ -9,7 +9,7 @@ require 'uri'
|
|
9
9
|
# Allows you to easily add/ban/connect/disconnect nodes
|
10
10
|
# based on User Agent.
|
11
11
|
class Pickynode
|
12
|
-
VERSION = '0.2.
|
12
|
+
VERSION = '0.2.1'
|
13
13
|
|
14
14
|
def initialize(opts = {})
|
15
15
|
@opts = opts
|
@@ -91,6 +91,10 @@ class Pickynode
|
|
91
91
|
|
92
92
|
def display_info
|
93
93
|
info if @opts[:info]
|
94
|
+
|
95
|
+
# Remove default ticker value. Not applicable.
|
96
|
+
@opts.delete(:ticker)
|
97
|
+
|
94
98
|
display if @opts.values.select { |v| v }.empty?
|
95
99
|
end
|
96
100
|
|