cns 0.4.8 → 0.4.9
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 +6 -5
- data/lib/cns/etherscan.rb +2 -2
- 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: 134a23107603b36daafa829f25acf5ce35c6fe83a0a29c28225ccc3cbbd2a29d
|
|
4
|
+
data.tar.gz: 3423b8cba4b82a90e104cbd3a947636c8c6f9593ab403c41acea38dae1443770
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1548931e463555a564a11697c3dc1ec8a11727e26562b8890d5e94f0999172d77c4b3034f311b9672e2d97e1d1a595244a08b13be1efe8095edf5bbc635c24d6
|
|
7
|
+
data.tar.gz: 699539ab568c79427b321cc126b987b2c17672b2e5c0e7df9a611e2e026c3218a0dd4fd2e3d820261f1922fa7b60065a996c099db07c5c073fd768e3c892bc3c
|
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.9)
|
|
5
5
|
curb
|
|
6
6
|
faraday
|
|
7
7
|
google-cloud-bigquery
|
|
@@ -10,7 +10,7 @@ PATH
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
addressable (2.8.
|
|
13
|
+
addressable (2.8.6)
|
|
14
14
|
public_suffix (>= 2.0.2, < 6.0)
|
|
15
15
|
ast (2.4.2)
|
|
16
16
|
backport (1.2.0)
|
|
@@ -45,11 +45,12 @@ GEM
|
|
|
45
45
|
google-cloud-core (1.6.1)
|
|
46
46
|
google-cloud-env (>= 1.0, < 3.a)
|
|
47
47
|
google-cloud-errors (~> 1.0)
|
|
48
|
-
google-cloud-env (2.0
|
|
48
|
+
google-cloud-env (2.1.0)
|
|
49
49
|
faraday (>= 1.0, < 3.a)
|
|
50
50
|
google-cloud-errors (1.3.1)
|
|
51
|
-
googleauth (1.
|
|
52
|
-
faraday (>= 0
|
|
51
|
+
googleauth (1.9.1)
|
|
52
|
+
faraday (>= 1.0, < 3.a)
|
|
53
|
+
google-cloud-env (~> 2.1)
|
|
53
54
|
jwt (>= 1.4, < 3.0)
|
|
54
55
|
multi_json (~> 1.11)
|
|
55
56
|
os (>= 0.9, < 2.0)
|
data/lib/cns/etherscan.rb
CHANGED
|
@@ -187,7 +187,7 @@ module Cns
|
|
|
187
187
|
def mostra_resumo
|
|
188
188
|
return unless dados.count.positive?
|
|
189
189
|
|
|
190
|
-
puts("\nid address etherscan tn ti tb tk
|
|
190
|
+
puts("\nid address etherscan tn ti tb tk tw bigquery tn ti tb tk tw")
|
|
191
191
|
dados.each { |obj| puts(formata_carteira(obj)) }
|
|
192
192
|
mostra_transacao_norml
|
|
193
193
|
mostra_transacao_inter
|
|
@@ -211,7 +211,7 @@ module Cns
|
|
|
211
211
|
# @return [String] texto formatado valores duma carteira
|
|
212
212
|
def formata_valores(hjn)
|
|
213
213
|
format(
|
|
214
|
-
'%<v1>11.4f %<n1>3i %<n2>2i %<n3>2i %<n4>2i %<w1>
|
|
214
|
+
'%<v1>11.4f %<n1>3i %<n2>2i %<n3>2i %<n4>2i %<w1>4i %<v2>11.4f %<n5>3i %<n6>2i %<n7>2i %<n8>2i %<w2>4i %<ok>-3s',
|
|
215
215
|
v1: hjn[:es],
|
|
216
216
|
n1: hjn[:et].count,
|
|
217
217
|
n2: hjn[:ei].count,
|
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.9
|
|
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-12-
|
|
11
|
+
date: 2023-12-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|