cns 2.0.5 → 2.0.7
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 -25
- data/lib/cns/apibc.rb +1 -1
- data/lib/cns/version.rb +1 -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: 66a8560b33e2dde0b1567ad2f42c16bcc6b70c407dbb8e1e7c186a35cabcf9d0
|
4
|
+
data.tar.gz: 3f5aa10bbc0634d0efc4f5ca0a0af6fa8ad8731c1cd91bfe662cfd1e90f95b43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ca08a51425a7199bf02a38197d36968de326bef30a19548fa4676127fe447de37e83c8658031c1e676b41eb80f84d50de4a73e7e1d9033d87d022979f31fd05
|
7
|
+
data.tar.gz: c93acf84eeee10b576bde22ef34b210f93c54b3e87f787e64b7c927759d73130e79ee4e8b7cc209438a6a8a95514c95ef38bc49c35b096454f8ed92073255076
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cns (2.0.
|
4
|
+
cns (2.0.7)
|
5
5
|
curb
|
6
6
|
faraday
|
7
7
|
faraday-retry
|
@@ -16,11 +16,11 @@ GEM
|
|
16
16
|
public_suffix (>= 2.0.2, < 7.0)
|
17
17
|
ast (2.4.3)
|
18
18
|
backport (1.2.0)
|
19
|
-
base64 (0.
|
20
|
-
benchmark (0.4.
|
21
|
-
bigdecimal (3.
|
19
|
+
base64 (0.3.0)
|
20
|
+
benchmark (0.4.1)
|
21
|
+
bigdecimal (3.2.2)
|
22
22
|
concurrent-ruby (1.3.5)
|
23
|
-
curb (1.0
|
23
|
+
curb (1.1.0)
|
24
24
|
declarative (0.0.20)
|
25
25
|
diff-lcs (1.6.2)
|
26
26
|
dry-configurable (1.3.0)
|
@@ -45,22 +45,22 @@ GEM
|
|
45
45
|
dry-logic (~> 1.5)
|
46
46
|
dry-types (~> 1.8)
|
47
47
|
zeitwerk (~> 2.6)
|
48
|
-
dry-types (1.8.
|
48
|
+
dry-types (1.8.3)
|
49
49
|
bigdecimal (~> 3.0)
|
50
50
|
concurrent-ruby (~> 1.0)
|
51
51
|
dry-core (~> 1.0)
|
52
52
|
dry-inflector (~> 1.0)
|
53
53
|
dry-logic (~> 1.4)
|
54
54
|
zeitwerk (~> 2.6)
|
55
|
-
faraday (2.13.
|
55
|
+
faraday (2.13.4)
|
56
56
|
faraday-net_http (>= 2.0, < 3.5)
|
57
57
|
json
|
58
58
|
logger
|
59
|
-
faraday-net_http (3.4.
|
59
|
+
faraday-net_http (3.4.1)
|
60
60
|
net-http (>= 0.5.0)
|
61
|
-
faraday-retry (2.3.
|
61
|
+
faraday-retry (2.3.2)
|
62
62
|
faraday (~> 2.0)
|
63
|
-
google-apis-bigquery_v2 (0.
|
63
|
+
google-apis-bigquery_v2 (0.92.0)
|
64
64
|
google-apis-core (>= 0.15.0, < 2.a)
|
65
65
|
google-apis-core (0.18.0)
|
66
66
|
addressable (~> 2.5, >= 2.5.1)
|
@@ -81,7 +81,7 @@ GEM
|
|
81
81
|
google-cloud-core (1.8.0)
|
82
82
|
google-cloud-env (>= 1.0, < 3.a)
|
83
83
|
google-cloud-errors (~> 1.0)
|
84
|
-
google-cloud-env (2.3.
|
84
|
+
google-cloud-env (2.3.1)
|
85
85
|
base64 (~> 0.2)
|
86
86
|
faraday (>= 1.0, < 3.a)
|
87
87
|
google-cloud-errors (1.5.0)
|
@@ -97,8 +97,8 @@ GEM
|
|
97
97
|
httpclient (2.9.0)
|
98
98
|
mutex_m
|
99
99
|
jaro_winkler (1.6.1)
|
100
|
-
json (2.
|
101
|
-
jwt (2.10.
|
100
|
+
json (2.13.2)
|
101
|
+
jwt (2.10.2)
|
102
102
|
base64
|
103
103
|
kramdown (2.5.1)
|
104
104
|
rexml (>= 3.3.9)
|
@@ -109,17 +109,17 @@ GEM
|
|
109
109
|
logger (1.7.0)
|
110
110
|
memoist (0.16.2)
|
111
111
|
mini_mime (1.1.5)
|
112
|
-
multi_json (1.
|
112
|
+
multi_json (1.17.0)
|
113
113
|
mutex_m (0.3.0)
|
114
114
|
net-http (0.6.0)
|
115
115
|
uri
|
116
|
-
nokogiri (1.18.
|
116
|
+
nokogiri (1.18.9-x86_64-linux-gnu)
|
117
117
|
racc (~> 1.4)
|
118
118
|
observer (0.1.2)
|
119
119
|
os (1.1.4)
|
120
|
-
ostruct (0.6.
|
120
|
+
ostruct (0.6.3)
|
121
121
|
parallel (1.27.0)
|
122
|
-
parser (3.3.
|
122
|
+
parser (3.3.9.0)
|
123
123
|
ast (~> 2.4.1)
|
124
124
|
racc
|
125
125
|
prism (1.4.0)
|
@@ -135,7 +135,7 @@ GEM
|
|
135
135
|
parser (~> 3.3.0)
|
136
136
|
rainbow (>= 2.0, < 4.0)
|
137
137
|
rexml (~> 3.1)
|
138
|
-
regexp_parser (2.
|
138
|
+
regexp_parser (2.11.0)
|
139
139
|
representable (3.2.0)
|
140
140
|
declarative (< 0.1.0)
|
141
141
|
trailblazer-option (>= 0.1.1, < 0.2.0)
|
@@ -144,7 +144,7 @@ GEM
|
|
144
144
|
reverse_markdown (3.0.0)
|
145
145
|
nokogiri
|
146
146
|
rexml (3.4.1)
|
147
|
-
rubocop (1.
|
147
|
+
rubocop (1.79.1)
|
148
148
|
json (~> 2.3)
|
149
149
|
language_server-protocol (~> 3.17.0.2)
|
150
150
|
lint_roller (~> 1.1.0)
|
@@ -152,10 +152,10 @@ GEM
|
|
152
152
|
parser (>= 3.3.0.2)
|
153
153
|
rainbow (>= 2.2.2, < 4.0)
|
154
154
|
regexp_parser (>= 2.9.3, < 3.0)
|
155
|
-
rubocop-ast (>= 1.
|
155
|
+
rubocop-ast (>= 1.46.0, < 2.0)
|
156
156
|
ruby-progressbar (~> 1.7)
|
157
157
|
unicode-display_width (>= 2.4.0, < 4.0)
|
158
|
-
rubocop-ast (1.
|
158
|
+
rubocop-ast (1.46.0)
|
159
159
|
parser (>= 3.3.7.2)
|
160
160
|
prism (~> 1.4)
|
161
161
|
rubocop-rake (0.7.1)
|
@@ -167,7 +167,7 @@ GEM
|
|
167
167
|
faraday (>= 0.17.5, < 3.a)
|
168
168
|
jwt (>= 1.5, < 3.0)
|
169
169
|
multi_json (~> 1.10)
|
170
|
-
solargraph (0.
|
170
|
+
solargraph (0.56.0)
|
171
171
|
backport (~> 1.2)
|
172
172
|
benchmark (~> 0.4)
|
173
173
|
bundler (~> 2.0)
|
@@ -179,6 +179,7 @@ GEM
|
|
179
179
|
observer (~> 0.1)
|
180
180
|
ostruct (~> 0.6)
|
181
181
|
parser (~> 3.0)
|
182
|
+
prism (~> 1.4)
|
182
183
|
rbs (~> 3.3)
|
183
184
|
reverse_markdown (~> 3.0)
|
184
185
|
rubocop (~> 1.38)
|
@@ -186,8 +187,8 @@ GEM
|
|
186
187
|
tilt (~> 2.0)
|
187
188
|
yard (~> 0.9, >= 0.9.24)
|
188
189
|
yard-solargraph (~> 0.1)
|
189
|
-
thor (1.
|
190
|
-
tilt (2.6.
|
190
|
+
thor (1.4.0)
|
191
|
+
tilt (2.6.1)
|
191
192
|
trailblazer-option (0.1.2)
|
192
193
|
uber (0.1.0)
|
193
194
|
unicode-display_width (3.1.4)
|
@@ -213,4 +214,4 @@ DEPENDENCIES
|
|
213
214
|
yard
|
214
215
|
|
215
216
|
BUNDLED WITH
|
216
|
-
2.
|
217
|
+
2.6.7
|
data/lib/cns/apibc.rb
CHANGED
@@ -103,7 +103,7 @@ module Cns
|
|
103
103
|
# @param [Hash] prm Additional request parameters
|
104
104
|
# @return [Hash] Parsed API response
|
105
105
|
def es_req(act, add, pag = 1, prm = {})
|
106
|
-
pjsn(@escn.get('/api', prm.merge(module: 'account', action: act, address: add, page: pag, apikey: @esky)))
|
106
|
+
pjsn(@escn.get('/v2/api', prm.merge(chainid: 1, module: 'account', action: act, address: add, page: pag, apikey: @esky)))
|
107
107
|
rescue Faraday::Error
|
108
108
|
{status: '0'}
|
109
109
|
end
|
data/lib/cns/version.rb
CHANGED