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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ecd6c6f2d56a62e7cb1a64e9026e8201994261b81d537b38906850290794a4ba
4
- data.tar.gz: 1403714b61b45a630032a3579bd469cd033a9aa0bc40291d5d2687bd4701425e
3
+ metadata.gz: 1eb8b20b87c583f48d121aa34c064856359e287984a237c9c807f53391f7a93b
4
+ data.tar.gz: 94b0b7971a7abaa87bbcd75807609f1ed0e175b504d26ff7d4879aaae2764347
5
5
  SHA512:
6
- metadata.gz: 996a15cebd8abaa76f8e459b0149513369453ddd5b05eaa8dfaec9f15bae5f0b24596c4103baaa66b7aff266790f06a1ea0c0cd02e389f364d027a1f7fdc452e
7
- data.tar.gz: 9beca3e56a939497c50bbd7d39b3d10fedf6a6017123d83a6ac060304c1fe07aae75491bfd6b0a68c01f0429dc4e3fd6edfea31a9afb1009925e022cc78a86d6
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.2)
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
- benchmark (0.2.1)
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.10)
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.57.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.1)
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.43.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.7.0)
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
- memoist (0.16.2)
65
- mini_mime (1.1.2)
65
+ mini_mime (1.1.5)
66
66
  multi_json (1.15.0)
67
- nokogiri (1.15.3-x86_64-linux)
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.1)
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.1)
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.17.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.2.2)
131
- tilt (2.2.0)
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[:bs].round(4) == hjn[:es].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
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cns
4
- VERSION = '0.4.2'
4
+ VERSION = '0.4.3'
5
5
  end
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.2
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-08-05 00:00:00.000000000 Z
11
+ date: 2023-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler