cns 0.2.8 → 0.3.0
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.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/Gemfile.lock +61 -73
- data/cns.gemspec +1 -1
- data/lib/cns/bigquery2.rb +1 -1
- data/lib/cns/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 102edda2af2ea68bbe58ceb856e54ad0662649d59dc05768dcac0434458cbfc0
|
|
4
|
+
data.tar.gz: dd611d1c1d5c403b0763c2f9605ac8305b707165ca996533a87956c3a84f0cfb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4da538113768e3ed1a18aea93055f33244946667ac8c8e38efacc24fc2d09d19173b61d18cc6fb7b05a494efe1dc583960bc57cc71c0b678918bfda20b0f3fba
|
|
7
|
+
data.tar.gz: ed72048cf2b2515a5092b82a940667deb3dfea9de00805a5b399f17814576ab4d6e76be165cc2566ff36da615c63a3ba41d7345e287d33ec2a4fb8ed87bb03d4
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
cns (0.
|
|
4
|
+
cns (0.3.0)
|
|
5
5
|
curb
|
|
6
6
|
faraday
|
|
7
7
|
google-cloud-bigquery
|
|
@@ -10,42 +10,32 @@ PATH
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
addressable (2.
|
|
14
|
-
public_suffix (>= 2.0.2, <
|
|
13
|
+
addressable (2.8.1)
|
|
14
|
+
public_suffix (>= 2.0.2, < 6.0)
|
|
15
15
|
ast (2.4.2)
|
|
16
16
|
backport (1.2.0)
|
|
17
|
-
benchmark (0.
|
|
18
|
-
concurrent-ruby (1.1.
|
|
19
|
-
curb (0.
|
|
17
|
+
benchmark (0.2.0)
|
|
18
|
+
concurrent-ruby (1.1.10)
|
|
19
|
+
curb (1.0.1)
|
|
20
20
|
declarative (0.0.20)
|
|
21
|
-
diff-lcs (1.
|
|
21
|
+
diff-lcs (1.5.0)
|
|
22
22
|
e2mmap (0.1.0)
|
|
23
|
-
faraday (
|
|
24
|
-
faraday-
|
|
25
|
-
faraday-em_synchrony (~> 1.0)
|
|
26
|
-
faraday-excon (~> 1.1)
|
|
27
|
-
faraday-net_http (~> 1.0)
|
|
28
|
-
faraday-net_http_persistent (~> 1.1)
|
|
29
|
-
multipart-post (>= 1.2, < 3)
|
|
23
|
+
faraday (2.6.0)
|
|
24
|
+
faraday-net_http (>= 2.0, < 3.1)
|
|
30
25
|
ruby2_keywords (>= 0.0.4)
|
|
31
|
-
faraday-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
faraday-net_http_persistent (1.1.0)
|
|
36
|
-
google-apis-bigquery_v2 (0.13.0)
|
|
37
|
-
google-apis-core (~> 0.1)
|
|
38
|
-
google-apis-core (0.3.0)
|
|
26
|
+
faraday-net_http (3.0.1)
|
|
27
|
+
google-apis-bigquery_v2 (0.41.0)
|
|
28
|
+
google-apis-core (>= 0.9.0, < 2.a)
|
|
29
|
+
google-apis-core (0.9.0)
|
|
39
30
|
addressable (~> 2.5, >= 2.5.1)
|
|
40
|
-
googleauth (
|
|
41
|
-
httpclient (>= 2.8.1, < 3.
|
|
31
|
+
googleauth (>= 0.16.2, < 2.a)
|
|
32
|
+
httpclient (>= 2.8.1, < 3.a)
|
|
42
33
|
mini_mime (~> 1.0)
|
|
43
34
|
representable (~> 3.0)
|
|
44
|
-
retriable (>= 2.0, < 4.
|
|
35
|
+
retriable (>= 2.0, < 4.a)
|
|
45
36
|
rexml
|
|
46
|
-
signet (~> 0.14)
|
|
47
37
|
webrick
|
|
48
|
-
google-cloud-bigquery (1.
|
|
38
|
+
google-cloud-bigquery (1.39.0)
|
|
49
39
|
concurrent-ruby (~> 1.0)
|
|
50
40
|
google-apis-bigquery_v2 (~> 0.1)
|
|
51
41
|
google-cloud-core (~> 1.6)
|
|
@@ -54,76 +44,73 @@ GEM
|
|
|
54
44
|
google-cloud-core (1.6.0)
|
|
55
45
|
google-cloud-env (~> 1.0)
|
|
56
46
|
google-cloud-errors (~> 1.0)
|
|
57
|
-
google-cloud-env (1.
|
|
58
|
-
faraday (>= 0.17.3, <
|
|
59
|
-
google-cloud-errors (1.
|
|
60
|
-
googleauth (
|
|
61
|
-
faraday (>= 0.17.3, <
|
|
47
|
+
google-cloud-env (1.6.0)
|
|
48
|
+
faraday (>= 0.17.3, < 3.0)
|
|
49
|
+
google-cloud-errors (1.3.0)
|
|
50
|
+
googleauth (1.2.0)
|
|
51
|
+
faraday (>= 0.17.3, < 3.a)
|
|
62
52
|
jwt (>= 1.4, < 3.0)
|
|
63
53
|
memoist (~> 0.16)
|
|
64
54
|
multi_json (~> 1.11)
|
|
65
55
|
os (>= 0.9, < 2.0)
|
|
66
|
-
signet (
|
|
56
|
+
signet (>= 0.16, < 2.a)
|
|
67
57
|
httpclient (2.8.3)
|
|
68
58
|
jaro_winkler (1.5.4)
|
|
69
|
-
|
|
70
|
-
|
|
59
|
+
json (2.6.2)
|
|
60
|
+
jwt (2.5.0)
|
|
61
|
+
kramdown (2.4.0)
|
|
71
62
|
rexml
|
|
72
63
|
kramdown-parser-gfm (1.1.0)
|
|
73
64
|
kramdown (~> 2.0)
|
|
74
65
|
kwalify (0.7.2)
|
|
75
66
|
memoist (0.16.2)
|
|
76
|
-
mini_mime (1.1.
|
|
77
|
-
mini_portile2 (2.5.3)
|
|
67
|
+
mini_mime (1.1.2)
|
|
78
68
|
multi_json (1.15.0)
|
|
79
|
-
|
|
80
|
-
nokogiri (1.11.7)
|
|
81
|
-
mini_portile2 (~> 2.5.0)
|
|
69
|
+
nokogiri (1.13.8-x86_64-linux)
|
|
82
70
|
racc (~> 1.4)
|
|
83
|
-
os (1.1.
|
|
84
|
-
parallel (1.
|
|
85
|
-
parser (3.
|
|
71
|
+
os (1.1.4)
|
|
72
|
+
parallel (1.22.1)
|
|
73
|
+
parser (3.1.2.1)
|
|
86
74
|
ast (~> 2.4.1)
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
rainbow (3.0.0)
|
|
75
|
+
public_suffix (5.0.0)
|
|
76
|
+
racc (1.6.0)
|
|
77
|
+
rainbow (3.1.1)
|
|
91
78
|
rake (12.3.3)
|
|
92
|
-
reek (6.
|
|
79
|
+
reek (6.1.1)
|
|
93
80
|
kwalify (~> 0.7.0)
|
|
94
|
-
parser (~> 3.
|
|
95
|
-
psych (~> 3.1)
|
|
81
|
+
parser (~> 3.1.0)
|
|
96
82
|
rainbow (>= 2.0, < 4.0)
|
|
97
|
-
regexp_parser (2.
|
|
98
|
-
representable (3.
|
|
83
|
+
regexp_parser (2.6.0)
|
|
84
|
+
representable (3.2.0)
|
|
99
85
|
declarative (< 0.1.0)
|
|
100
86
|
trailblazer-option (>= 0.1.1, < 0.2.0)
|
|
101
87
|
uber (< 0.2.0)
|
|
102
88
|
retriable (3.1.2)
|
|
103
|
-
reverse_markdown (2.
|
|
89
|
+
reverse_markdown (2.1.1)
|
|
104
90
|
nokogiri
|
|
105
91
|
rexml (3.2.5)
|
|
106
|
-
rubocop (1.
|
|
92
|
+
rubocop (1.36.0)
|
|
93
|
+
json (~> 2.3)
|
|
107
94
|
parallel (~> 1.10)
|
|
108
|
-
parser (>= 3.
|
|
95
|
+
parser (>= 3.1.2.1)
|
|
109
96
|
rainbow (>= 2.2.2, < 4.0)
|
|
110
97
|
regexp_parser (>= 1.8, < 3.0)
|
|
111
|
-
rexml
|
|
112
|
-
rubocop-ast (>= 1.
|
|
98
|
+
rexml (>= 3.2.5, < 4.0)
|
|
99
|
+
rubocop-ast (>= 1.20.1, < 2.0)
|
|
113
100
|
ruby-progressbar (~> 1.7)
|
|
114
101
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
115
|
-
rubocop-ast (1.
|
|
116
|
-
parser (>= 3.
|
|
117
|
-
rubocop-rake (0.
|
|
118
|
-
rubocop
|
|
102
|
+
rubocop-ast (1.21.0)
|
|
103
|
+
parser (>= 3.1.1.0)
|
|
104
|
+
rubocop-rake (0.6.0)
|
|
105
|
+
rubocop (~> 1.0)
|
|
119
106
|
ruby-progressbar (1.11.0)
|
|
120
|
-
ruby2_keywords (0.0.
|
|
121
|
-
signet (0.
|
|
122
|
-
addressable (~> 2.
|
|
123
|
-
faraday (>= 0.17.
|
|
107
|
+
ruby2_keywords (0.0.5)
|
|
108
|
+
signet (0.17.0)
|
|
109
|
+
addressable (~> 2.8)
|
|
110
|
+
faraday (>= 0.17.5, < 3.a)
|
|
124
111
|
jwt (>= 1.5, < 3.0)
|
|
125
112
|
multi_json (~> 1.10)
|
|
126
|
-
solargraph (0.
|
|
113
|
+
solargraph (0.47.2)
|
|
127
114
|
backport (~> 1.2)
|
|
128
115
|
benchmark
|
|
129
116
|
bundler (>= 1.17.2)
|
|
@@ -138,16 +125,17 @@ GEM
|
|
|
138
125
|
thor (~> 1.0)
|
|
139
126
|
tilt (~> 2.0)
|
|
140
127
|
yard (~> 0.9, >= 0.9.24)
|
|
141
|
-
thor (1.1
|
|
142
|
-
tilt (2.0.
|
|
143
|
-
trailblazer-option (0.1.
|
|
128
|
+
thor (1.2.1)
|
|
129
|
+
tilt (2.0.11)
|
|
130
|
+
trailblazer-option (0.1.2)
|
|
144
131
|
uber (0.1.0)
|
|
145
|
-
unicode-display_width (2.
|
|
132
|
+
unicode-display_width (2.3.0)
|
|
146
133
|
webrick (1.7.0)
|
|
147
|
-
yard (0.9.
|
|
134
|
+
yard (0.9.28)
|
|
135
|
+
webrick (~> 1.7.0)
|
|
148
136
|
|
|
149
137
|
PLATFORMS
|
|
150
|
-
|
|
138
|
+
x86_64-linux
|
|
151
139
|
|
|
152
140
|
DEPENDENCIES
|
|
153
141
|
bundler
|
|
@@ -160,4 +148,4 @@ DEPENDENCIES
|
|
|
160
148
|
yard
|
|
161
149
|
|
|
162
150
|
BUNDLED WITH
|
|
163
|
-
2.
|
|
151
|
+
2.3.7
|
data/cns.gemspec
CHANGED
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.summary = 'Arquiva transactions etherscan/greymass/bitcoinde/kraken/paymium/therock no bigquery.'
|
|
13
13
|
spec.description = "#{spec.summary} Pode ajustar dias para reposicionamento temporal."
|
|
14
14
|
|
|
15
|
-
spec.required_ruby_version = Gem::Requirement.new('~>
|
|
15
|
+
spec.required_ruby_version = Gem::Requirement.new('~> 3.1')
|
|
16
16
|
spec.metadata['homepage_uri'] = spec.homepage
|
|
17
17
|
spec.metadata['yard.run'] = 'yard'
|
|
18
18
|
|
data/lib/cns/bigquery2.rb
CHANGED
|
@@ -15,7 +15,7 @@ module Cns
|
|
|
15
15
|
# @return [String] comando insert SQL formatado eth2bh
|
|
16
16
|
def eth2bh_ins
|
|
17
17
|
"insert #{BD}.eth2bh(balance,effectivebalance,epoch,validatorindex" \
|
|
18
|
-
") VALUES#{apibc.nov[0..
|
|
18
|
+
") VALUES#{apibc.nov[0..1000].map { |obj| eth2bh_1val(obj) }.join(',')}"
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
# @return [Etherscan] API blockchain ETH
|
data/lib/cns/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cns
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hernâni Rodrigues Vaz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-10-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -220,14 +220,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
220
220
|
requirements:
|
|
221
221
|
- - "~>"
|
|
222
222
|
- !ruby/object:Gem::Version
|
|
223
|
-
version: '
|
|
223
|
+
version: '3.1'
|
|
224
224
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
225
|
requirements:
|
|
226
226
|
- - ">="
|
|
227
227
|
- !ruby/object:Gem::Version
|
|
228
228
|
version: '0'
|
|
229
229
|
requirements: []
|
|
230
|
-
rubygems_version: 3.
|
|
230
|
+
rubygems_version: 3.3.7
|
|
231
231
|
signing_key:
|
|
232
232
|
specification_version: 4
|
|
233
233
|
summary: Arquiva transactions etherscan/greymass/bitcoinde/kraken/paymium/therock
|