cns 0.4.2 → 0.4.3
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 +16 -16
- data/lib/cns/etherscan.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: 1eb8b20b87c583f48d121aa34c064856359e287984a237c9c807f53391f7a93b
|
|
4
|
+
data.tar.gz: 94b0b7971a7abaa87bbcd75807609f1ed0e175b504d26ff7d4879aaae2764347
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87a6da8d1389c9fdf8a3c668856030c2c7b3f70f9261bbed7c5f7051eb31a703f93a9acce46356d72eaf197fdec73cca802ca11dea0bd8b2b7792a1d8194f75f
|
|
7
|
+
data.tar.gz: 32fbe0ea5b6479784774de1efffb213314ff33ad70dbab5e8f50e64ec1250c6bc99f085961da4f243a935b4e73ae01bb4c07861f6a5d730ac137105b113a8551
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
cns (0.4.
|
|
4
|
+
cns (0.4.3)
|
|
5
5
|
curb
|
|
6
6
|
faraday
|
|
7
7
|
google-cloud-bigquery
|
|
@@ -14,18 +14,20 @@ GEM
|
|
|
14
14
|
public_suffix (>= 2.0.2, < 6.0)
|
|
15
15
|
ast (2.4.2)
|
|
16
16
|
backport (1.2.0)
|
|
17
|
-
|
|
17
|
+
base64 (0.2.0)
|
|
18
|
+
benchmark (0.3.0)
|
|
18
19
|
concurrent-ruby (1.2.2)
|
|
19
20
|
curb (1.0.5)
|
|
20
21
|
declarative (0.0.20)
|
|
21
22
|
e2mmap (0.1.0)
|
|
22
|
-
faraday (2.7.
|
|
23
|
+
faraday (2.7.11)
|
|
24
|
+
base64
|
|
23
25
|
faraday-net_http (>= 2.0, < 3.1)
|
|
24
26
|
ruby2_keywords (>= 0.0.4)
|
|
25
27
|
faraday-net_http (3.0.2)
|
|
26
|
-
google-apis-bigquery_v2 (0.
|
|
28
|
+
google-apis-bigquery_v2 (0.60.0)
|
|
27
29
|
google-apis-core (>= 0.11.0, < 2.a)
|
|
28
|
-
google-apis-core (0.11.
|
|
30
|
+
google-apis-core (0.11.2)
|
|
29
31
|
addressable (~> 2.5, >= 2.5.1)
|
|
30
32
|
googleauth (>= 0.16.2, < 2.a)
|
|
31
33
|
httpclient (>= 2.8.1, < 3.a)
|
|
@@ -34,7 +36,7 @@ GEM
|
|
|
34
36
|
retriable (>= 2.0, < 4.a)
|
|
35
37
|
rexml
|
|
36
38
|
webrick
|
|
37
|
-
google-cloud-bigquery (1.
|
|
39
|
+
google-cloud-bigquery (1.45.0)
|
|
38
40
|
concurrent-ruby (~> 1.0)
|
|
39
41
|
google-apis-bigquery_v2 (~> 0.1)
|
|
40
42
|
google-cloud-core (~> 1.6)
|
|
@@ -46,10 +48,9 @@ GEM
|
|
|
46
48
|
google-cloud-env (1.6.0)
|
|
47
49
|
faraday (>= 0.17.3, < 3.0)
|
|
48
50
|
google-cloud-errors (1.3.1)
|
|
49
|
-
googleauth (1.
|
|
51
|
+
googleauth (1.8.1)
|
|
50
52
|
faraday (>= 0.17.3, < 3.a)
|
|
51
53
|
jwt (>= 1.4, < 3.0)
|
|
52
|
-
memoist (~> 0.16)
|
|
53
54
|
multi_json (~> 1.11)
|
|
54
55
|
os (>= 0.9, < 2.0)
|
|
55
56
|
signet (>= 0.16, < 2.a)
|
|
@@ -61,10 +62,9 @@ GEM
|
|
|
61
62
|
kramdown-parser-gfm (1.1.0)
|
|
62
63
|
kramdown (~> 2.0)
|
|
63
64
|
kwalify (0.7.2)
|
|
64
|
-
|
|
65
|
-
mini_mime (1.1.2)
|
|
65
|
+
mini_mime (1.1.5)
|
|
66
66
|
multi_json (1.15.0)
|
|
67
|
-
nokogiri (1.15.
|
|
67
|
+
nokogiri (1.15.4-x86_64-linux)
|
|
68
68
|
racc (~> 1.4)
|
|
69
69
|
os (1.1.4)
|
|
70
70
|
parallel (1.23.0)
|
|
@@ -72,7 +72,7 @@ GEM
|
|
|
72
72
|
ast (~> 2.4.1)
|
|
73
73
|
psych (3.3.4)
|
|
74
74
|
public_suffix (5.0.3)
|
|
75
|
-
racc (1.7.
|
|
75
|
+
racc (1.7.3)
|
|
76
76
|
rainbow (3.1.1)
|
|
77
77
|
rake (12.3.3)
|
|
78
78
|
reek (6.0.2)
|
|
@@ -80,7 +80,7 @@ GEM
|
|
|
80
80
|
parser (>= 2.5.0.0, < 2.8, != 2.5.1.1)
|
|
81
81
|
psych (~> 3.1)
|
|
82
82
|
rainbow (>= 2.0, < 4.0)
|
|
83
|
-
regexp_parser (2.8.
|
|
83
|
+
regexp_parser (2.8.2)
|
|
84
84
|
representable (3.2.0)
|
|
85
85
|
declarative (< 0.1.0)
|
|
86
86
|
trailblazer-option (>= 0.1.1, < 0.2.0)
|
|
@@ -107,7 +107,7 @@ GEM
|
|
|
107
107
|
slop (~> 3.4, >= 3.4.7)
|
|
108
108
|
ruby-progressbar (1.13.0)
|
|
109
109
|
ruby2_keywords (0.0.5)
|
|
110
|
-
signet (0.
|
|
110
|
+
signet (0.18.0)
|
|
111
111
|
addressable (~> 2.8)
|
|
112
112
|
faraday (>= 0.17.5, < 3.a)
|
|
113
113
|
jwt (>= 1.5, < 3.0)
|
|
@@ -127,8 +127,8 @@ GEM
|
|
|
127
127
|
thor (~> 1.0)
|
|
128
128
|
tilt (~> 2.0)
|
|
129
129
|
yard (~> 0.9, >= 0.9.24)
|
|
130
|
-
thor (1.
|
|
131
|
-
tilt (2.
|
|
130
|
+
thor (1.3.0)
|
|
131
|
+
tilt (2.3.0)
|
|
132
132
|
trailblazer-option (0.1.2)
|
|
133
133
|
uber (0.1.0)
|
|
134
134
|
unicode-display_width (1.8.0)
|
data/lib/cns/etherscan.rb
CHANGED
|
@@ -231,7 +231,7 @@ module Cns
|
|
|
231
231
|
# @param (see formata_carteira)
|
|
232
232
|
# @return [Boolean] carteira tem transacoes novas(sim=NOK, nao=OK)?
|
|
233
233
|
def ok?(hjn)
|
|
234
|
-
hjn[:
|
|
234
|
+
hjn[:es].round(4) == hjn[:bs].round(4) && hjn[:bt].count == hjn[:et].count && hjn[:bi].count == hjn[:ei].count && hjn[:bp].count == hjn[:ep].count && hjn[:bk].count == hjn[:ek].count && hjn[:bw].count == hjn[:ew].count
|
|
235
235
|
end
|
|
236
236
|
|
|
237
237
|
# @example ether address inicio..fim
|
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.
|
|
4
|
+
version: 0.4.3
|
|
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: 2023-
|
|
11
|
+
date: 2023-11-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|