pickynode 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +1 -0
- data/Gemfile +4 -4
- data/README.md +1 -1
- data/lib/pickynode.rb +5 -1
- data/pickynode.gemspec +4 -4
- metadata +15 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 899148c95accbff4dc6f49d6bb6b1a5f54493bb1b80a75fa46e371f6b1811290
|
4
|
+
data.tar.gz: 34b007873b58500893efd584b70eec3b717ddb864b5eb196ec9f3f8f25b3e990
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01d61195516cd0ff23666998ee8ef2d3f23c1d9fb8af003a4e9f3894785f9d118cda0768c7ecc625eb5e704524bdf4466f1bcbd18d9834d840c29bb20572c014
|
7
|
+
data.tar.gz: 1d753bf0092910ac2806f790e6b690b3a0fa2ec31e24db74ac3f899c46e1b0dc555306219d3a53ecfa749f652a3217254adcbd15fbf59a6458499b28ff7bfacb
|
data/.github/FUNDING.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
github: [zquestz]
|
data/Gemfile
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
source 'https://rubygems.org'
|
4
4
|
ruby '>= 2.5.0'
|
5
5
|
|
6
|
-
gem 'awesome_print', '
|
7
|
-
gem 'base64'
|
8
|
-
gem 'optimist', '
|
9
|
-
gem 'ostruct'
|
6
|
+
gem 'awesome_print', '> 1.7'
|
7
|
+
gem 'base64'
|
8
|
+
gem 'optimist', '> 3.0'
|
9
|
+
gem 'ostruct'
|
10
10
|
gem 'rake', '~> 12.0'
|
11
11
|
gem 'rspec', '~> 3.6'
|
12
12
|
gem 'rubocop', '~> 0.48'
|
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.2'
|
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
|
|
data/pickynode.gemspec
CHANGED
@@ -17,10 +17,10 @@ bitcoin nodes they connect to."
|
|
17
17
|
s.require_paths = ['lib']
|
18
18
|
s.required_ruby_version = '>= 2.5'
|
19
19
|
|
20
|
-
s.add_dependency 'awesome_print', '
|
21
|
-
s.add_dependency 'base64'
|
22
|
-
s.add_dependency 'optimist', '
|
23
|
-
s.add_dependency 'ostruct'
|
20
|
+
s.add_dependency 'awesome_print', '> 1.7'
|
21
|
+
s.add_dependency 'base64'
|
22
|
+
s.add_dependency 'optimist', '> 3.0'
|
23
|
+
s.add_dependency 'ostruct'
|
24
24
|
|
25
25
|
s.add_development_dependency 'rake', '~> 12.0'
|
26
26
|
s.add_development_dependency 'rspec', '~> 3.6'
|
metadata
CHANGED
@@ -1,71 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pickynode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Ellithorpe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.7'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: base64
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: optimist
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '3.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: ostruct
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0
|
61
|
+
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,6 +129,7 @@ executables:
|
|
129
129
|
extensions: []
|
130
130
|
extra_rdoc_files: []
|
131
131
|
files:
|
132
|
+
- ".github/FUNDING.yml"
|
132
133
|
- ".gitignore"
|
133
134
|
- ".rubocop.yml"
|
134
135
|
- ".ruby-gemset"
|