cns 0.2.3 → 0.2.4
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/Gemfile.lock +26 -22
- data/lib/cns/bigquery2.rb +1 -1
- data/lib/cns/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a70e8085779d5be20a45b77233bbd04bda60b4d22ccda0e61cc13fdd582b3a9
|
|
4
|
+
data.tar.gz: fb49057ca707701b388da3021f54b8ad71156ddd56cb7eaa8c2922c5a9c726cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db35460753d91513de88101fc89b331cbfea04abf06d7e350287b8be3022fb5cca2056d773dc2a4de4979eadb21b7b54157a76291c524473c911477d8c454566
|
|
7
|
+
data.tar.gz: b3874d81594d8f1a26162a1348d3c4e502ced917e277385b8da6ce813c4303281c4c087cd4ed5b72e69282eb7a8c759e558fc6be5a59e8f2eb15b405ef74e93f
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
cns (0.2.
|
|
4
|
+
cns (0.2.4)
|
|
5
5
|
curb
|
|
6
6
|
faraday
|
|
7
7
|
google-cloud-bigquery
|
|
@@ -12,10 +12,10 @@ GEM
|
|
|
12
12
|
specs:
|
|
13
13
|
addressable (2.7.0)
|
|
14
14
|
public_suffix (>= 2.0.2, < 5.0)
|
|
15
|
-
ast (2.4.
|
|
15
|
+
ast (2.4.2)
|
|
16
16
|
backport (1.1.2)
|
|
17
17
|
benchmark (0.1.1)
|
|
18
|
-
concurrent-ruby (1.1.
|
|
18
|
+
concurrent-ruby (1.1.8)
|
|
19
19
|
curb (0.9.11)
|
|
20
20
|
declarative (0.0.20)
|
|
21
21
|
declarative-option (0.1.0)
|
|
@@ -25,18 +25,21 @@ GEM
|
|
|
25
25
|
multipart-post (>= 1.2, < 3)
|
|
26
26
|
ruby2_keywords
|
|
27
27
|
faraday-net_http (1.0.1)
|
|
28
|
-
google-
|
|
28
|
+
google-apis-bigquery_v2 (0.2.0)
|
|
29
|
+
google-apis-core (~> 0.1)
|
|
30
|
+
google-apis-core (0.2.1)
|
|
29
31
|
addressable (~> 2.5, >= 2.5.1)
|
|
30
|
-
googleauth (~> 0.
|
|
32
|
+
googleauth (~> 0.14)
|
|
31
33
|
httpclient (>= 2.8.1, < 3.0)
|
|
32
34
|
mini_mime (~> 1.0)
|
|
33
35
|
representable (~> 3.0)
|
|
34
36
|
retriable (>= 2.0, < 4.0)
|
|
35
37
|
rexml
|
|
36
|
-
signet (~> 0.
|
|
37
|
-
|
|
38
|
+
signet (~> 0.14)
|
|
39
|
+
webrick
|
|
40
|
+
google-cloud-bigquery (1.26.0)
|
|
38
41
|
concurrent-ruby (~> 1.0)
|
|
39
|
-
google-
|
|
42
|
+
google-apis-bigquery_v2 (~> 0.1)
|
|
40
43
|
google-cloud-core (~> 1.2)
|
|
41
44
|
googleauth (~> 0.9)
|
|
42
45
|
mini_mime (~> 1.0)
|
|
@@ -46,7 +49,7 @@ GEM
|
|
|
46
49
|
google-cloud-env (1.4.0)
|
|
47
50
|
faraday (>= 0.17.3, < 2.0)
|
|
48
51
|
google-cloud-errors (1.0.1)
|
|
49
|
-
googleauth (0.
|
|
52
|
+
googleauth (0.15.1)
|
|
50
53
|
faraday (>= 0.17.3, < 2.0)
|
|
51
54
|
jwt (>= 1.4, < 3.0)
|
|
52
55
|
memoist (~> 0.16)
|
|
@@ -71,16 +74,16 @@ GEM
|
|
|
71
74
|
racc (~> 1.4)
|
|
72
75
|
os (1.1.1)
|
|
73
76
|
parallel (1.20.1)
|
|
74
|
-
parser (
|
|
77
|
+
parser (3.0.0.0)
|
|
75
78
|
ast (~> 2.4.1)
|
|
76
79
|
psych (3.3.0)
|
|
77
80
|
public_suffix (4.0.6)
|
|
78
81
|
racc (1.5.2)
|
|
79
82
|
rainbow (3.0.0)
|
|
80
83
|
rake (12.3.3)
|
|
81
|
-
reek (6.0.
|
|
84
|
+
reek (6.0.3)
|
|
82
85
|
kwalify (~> 0.7.0)
|
|
83
|
-
parser (
|
|
86
|
+
parser (~> 3.0.0)
|
|
84
87
|
psych (~> 3.1)
|
|
85
88
|
rainbow (>= 2.0, < 4.0)
|
|
86
89
|
regexp_parser (2.0.3)
|
|
@@ -92,27 +95,27 @@ GEM
|
|
|
92
95
|
reverse_markdown (2.0.0)
|
|
93
96
|
nokogiri
|
|
94
97
|
rexml (3.2.4)
|
|
95
|
-
rubocop (1.
|
|
98
|
+
rubocop (1.9.1)
|
|
96
99
|
parallel (~> 1.10)
|
|
97
|
-
parser (>=
|
|
100
|
+
parser (>= 3.0.0.0)
|
|
98
101
|
rainbow (>= 2.2.2, < 4.0)
|
|
99
102
|
regexp_parser (>= 1.8, < 3.0)
|
|
100
103
|
rexml
|
|
101
104
|
rubocop-ast (>= 1.2.0, < 2.0)
|
|
102
105
|
ruby-progressbar (~> 1.7)
|
|
103
|
-
unicode-display_width (>= 1.4.0, <
|
|
104
|
-
rubocop-ast (1.4.
|
|
106
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
|
107
|
+
rubocop-ast (1.4.1)
|
|
105
108
|
parser (>= 2.7.1.5)
|
|
106
109
|
rubocop-rake (0.5.1)
|
|
107
110
|
rubocop
|
|
108
111
|
ruby-progressbar (1.11.0)
|
|
109
|
-
ruby2_keywords (0.0.
|
|
110
|
-
signet (0.14.
|
|
112
|
+
ruby2_keywords (0.0.4)
|
|
113
|
+
signet (0.14.1)
|
|
111
114
|
addressable (~> 2.3)
|
|
112
115
|
faraday (>= 0.17.3, < 2.0)
|
|
113
116
|
jwt (>= 1.5, < 3.0)
|
|
114
117
|
multi_json (~> 1.10)
|
|
115
|
-
solargraph (0.40.
|
|
118
|
+
solargraph (0.40.3)
|
|
116
119
|
backport (~> 1.1)
|
|
117
120
|
benchmark
|
|
118
121
|
bundler (>= 1.17.2)
|
|
@@ -120,16 +123,17 @@ GEM
|
|
|
120
123
|
jaro_winkler (~> 1.5)
|
|
121
124
|
kramdown (~> 2.3)
|
|
122
125
|
kramdown-parser-gfm (~> 1.1)
|
|
123
|
-
parser (~>
|
|
126
|
+
parser (~> 3.0)
|
|
124
127
|
reverse_markdown (>= 1.0.5, < 3)
|
|
125
128
|
rubocop (>= 0.52)
|
|
126
129
|
thor (~> 1.0)
|
|
127
130
|
tilt (~> 2.0)
|
|
128
131
|
yard (~> 0.9, >= 0.9.24)
|
|
129
|
-
thor (1.0
|
|
132
|
+
thor (1.1.0)
|
|
130
133
|
tilt (2.0.10)
|
|
131
134
|
uber (0.1.0)
|
|
132
|
-
unicode-display_width (
|
|
135
|
+
unicode-display_width (2.0.0)
|
|
136
|
+
webrick (1.7.0)
|
|
133
137
|
yard (0.9.26)
|
|
134
138
|
|
|
135
139
|
PLATFORMS
|
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..1300].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.2.
|
|
4
|
+
version: 0.2.4
|
|
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: 2021-
|
|
11
|
+
date: 2021-02-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|