pickynode 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/pickynode.rb +5 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5fccd137dcf0d78b38edab501a8c3c02b5d1c1dc80ffafcf65cdc18d503906b
4
- data.tar.gz: c0c8a24d017f7e23404a91dd75c0ef7fcc9daf7317a49429a272a0e093a75f5f
3
+ metadata.gz: 6c3f5ef27c2bf380f1091c6dd43d1de29c07524d2a4fbf080bf775c8c3651f02
4
+ data.tar.gz: 5eae95257a114d37b6d1a3e12770c07d653f5c1e87db501bc374543dc37a8359
5
5
  SHA512:
6
- metadata.gz: b5f709d9f1ae5802c2ae07b9c7445882add45955af0afe9bee0b00e89b51c8c33a9283cbf5b95f4c0cc2c7ae58015d6114c5b8e53403c0965de7dd6b3218a08b
7
- data.tar.gz: fa2e7689fea07663d5eda913742fdd0278c4b030f6c9b59fea7d3677e4bbb29bd0d67ac2e8b98ba36590521a53fe2be901fde83a1b3bb1cd0628e91e301845bf
6
+ metadata.gz: 13bba46b0295a4d37ccc36f3f701669ae7454a0c8fbc5f7be68832f2fd26ff225e1914853895676170cbcfe9801e39e0869815a60b15fe07a6f0258565af061d
7
+ data.tar.gz: 53072c53f84bbd76b03f047496f9b115fcd6209a278d33fcd9d0eae2f1ad30e447fd25f71d4f088a4f2d8b32b43e926de281ddd48399d4bfa91a31d89ea8015d
data/README.md CHANGED
@@ -45,7 +45,7 @@ pickynode --disconnect=USER_AGENT_FILTER
45
45
  ### Help:
46
46
 
47
47
  ```
48
- pickynode v0.2.0
48
+ pickynode v0.2.1
49
49
  Options:
50
50
  -a, --add=<s> Add node type
51
51
  -c, --connect=<s> Connect to node type
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.0'
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pickynode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Ellithorpe