cns 0.2.8 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c86e08f9f4622657ef12fd6f87f4f9ada78a609fba48051b6e42794eb32a945
4
- data.tar.gz: bcbe6365b8af92d70768046a4ca3a864e358e7bdcd3311082540245f9cef56bf
3
+ metadata.gz: 102edda2af2ea68bbe58ceb856e54ad0662649d59dc05768dcac0434458cbfc0
4
+ data.tar.gz: dd611d1c1d5c403b0763c2f9605ac8305b707165ca996533a87956c3a84f0cfb
5
5
  SHA512:
6
- metadata.gz: f4e69a81838da4f00c94526ef73524ced6df37d151116cf3b82bdfb5a2d5574de03fdd22007ed3899b625e1df68e891f4b26b4f073f315812afd702336223a5a
7
- data.tar.gz: 0310eaf049b6112fa5eb4bd7db54e4d2a88df4c8c14c25766d1bd0c5d388a9b76da2ef1136143c0b32fcda62dee20cc7fdc3b8d24a8c94e71d7b47da5b92a9fe
6
+ metadata.gz: 4da538113768e3ed1a18aea93055f33244946667ac8c8e38efacc24fc2d09d19173b61d18cc6fb7b05a494efe1dc583960bc57cc71c0b678918bfda20b0f3fba
7
+ data.tar.gz: ed72048cf2b2515a5092b82a940667deb3dfea9de00805a5b399f17814576ab4d6e76be165cc2566ff36da615c63a3ba41d7345e287d33ec2a4fb8ed87bb03d4
data/.rubocop.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  AllCops:
3
- TargetRubyVersion: 2.7
3
+ TargetRubyVersion: 3.1
4
4
  EnabledByDefault: true
5
5
 
6
6
  Style/Copyright:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cns (0.2.8)
4
+ cns (0.3.0)
5
5
  curb
6
6
  faraday
7
7
  google-cloud-bigquery
@@ -10,42 +10,32 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- addressable (2.7.0)
14
- public_suffix (>= 2.0.2, < 5.0)
13
+ addressable (2.8.1)
14
+ public_suffix (>= 2.0.2, < 6.0)
15
15
  ast (2.4.2)
16
16
  backport (1.2.0)
17
- benchmark (0.1.1)
18
- concurrent-ruby (1.1.9)
19
- curb (0.9.11)
17
+ benchmark (0.2.0)
18
+ concurrent-ruby (1.1.10)
19
+ curb (1.0.1)
20
20
  declarative (0.0.20)
21
- diff-lcs (1.4.4)
21
+ diff-lcs (1.5.0)
22
22
  e2mmap (0.1.0)
23
- faraday (1.4.3)
24
- faraday-em_http (~> 1.0)
25
- faraday-em_synchrony (~> 1.0)
26
- faraday-excon (~> 1.1)
27
- faraday-net_http (~> 1.0)
28
- faraday-net_http_persistent (~> 1.1)
29
- multipart-post (>= 1.2, < 3)
23
+ faraday (2.6.0)
24
+ faraday-net_http (>= 2.0, < 3.1)
30
25
  ruby2_keywords (>= 0.0.4)
31
- faraday-em_http (1.0.0)
32
- faraday-em_synchrony (1.0.0)
33
- faraday-excon (1.1.0)
34
- faraday-net_http (1.0.1)
35
- faraday-net_http_persistent (1.1.0)
36
- google-apis-bigquery_v2 (0.13.0)
37
- google-apis-core (~> 0.1)
38
- google-apis-core (0.3.0)
26
+ faraday-net_http (3.0.1)
27
+ google-apis-bigquery_v2 (0.41.0)
28
+ google-apis-core (>= 0.9.0, < 2.a)
29
+ google-apis-core (0.9.0)
39
30
  addressable (~> 2.5, >= 2.5.1)
40
- googleauth (~> 0.14)
41
- httpclient (>= 2.8.1, < 3.0)
31
+ googleauth (>= 0.16.2, < 2.a)
32
+ httpclient (>= 2.8.1, < 3.a)
42
33
  mini_mime (~> 1.0)
43
34
  representable (~> 3.0)
44
- retriable (>= 2.0, < 4.0)
35
+ retriable (>= 2.0, < 4.a)
45
36
  rexml
46
- signet (~> 0.14)
47
37
  webrick
48
- google-cloud-bigquery (1.32.0)
38
+ google-cloud-bigquery (1.39.0)
49
39
  concurrent-ruby (~> 1.0)
50
40
  google-apis-bigquery_v2 (~> 0.1)
51
41
  google-cloud-core (~> 1.6)
@@ -54,76 +44,73 @@ GEM
54
44
  google-cloud-core (1.6.0)
55
45
  google-cloud-env (~> 1.0)
56
46
  google-cloud-errors (~> 1.0)
57
- google-cloud-env (1.5.0)
58
- faraday (>= 0.17.3, < 2.0)
59
- google-cloud-errors (1.1.0)
60
- googleauth (0.16.2)
61
- faraday (>= 0.17.3, < 2.0)
47
+ google-cloud-env (1.6.0)
48
+ faraday (>= 0.17.3, < 3.0)
49
+ google-cloud-errors (1.3.0)
50
+ googleauth (1.2.0)
51
+ faraday (>= 0.17.3, < 3.a)
62
52
  jwt (>= 1.4, < 3.0)
63
53
  memoist (~> 0.16)
64
54
  multi_json (~> 1.11)
65
55
  os (>= 0.9, < 2.0)
66
- signet (~> 0.14)
56
+ signet (>= 0.16, < 2.a)
67
57
  httpclient (2.8.3)
68
58
  jaro_winkler (1.5.4)
69
- jwt (2.2.3)
70
- kramdown (2.3.1)
59
+ json (2.6.2)
60
+ jwt (2.5.0)
61
+ kramdown (2.4.0)
71
62
  rexml
72
63
  kramdown-parser-gfm (1.1.0)
73
64
  kramdown (~> 2.0)
74
65
  kwalify (0.7.2)
75
66
  memoist (0.16.2)
76
- mini_mime (1.1.0)
77
- mini_portile2 (2.5.3)
67
+ mini_mime (1.1.2)
78
68
  multi_json (1.15.0)
79
- multipart-post (2.1.1)
80
- nokogiri (1.11.7)
81
- mini_portile2 (~> 2.5.0)
69
+ nokogiri (1.13.8-x86_64-linux)
82
70
  racc (~> 1.4)
83
- os (1.1.1)
84
- parallel (1.20.1)
85
- parser (3.0.1.1)
71
+ os (1.1.4)
72
+ parallel (1.22.1)
73
+ parser (3.1.2.1)
86
74
  ast (~> 2.4.1)
87
- psych (3.3.2)
88
- public_suffix (4.0.6)
89
- racc (1.5.2)
90
- rainbow (3.0.0)
75
+ public_suffix (5.0.0)
76
+ racc (1.6.0)
77
+ rainbow (3.1.1)
91
78
  rake (12.3.3)
92
- reek (6.0.4)
79
+ reek (6.1.1)
93
80
  kwalify (~> 0.7.0)
94
- parser (~> 3.0.0)
95
- psych (~> 3.1)
81
+ parser (~> 3.1.0)
96
82
  rainbow (>= 2.0, < 4.0)
97
- regexp_parser (2.1.1)
98
- representable (3.1.1)
83
+ regexp_parser (2.6.0)
84
+ representable (3.2.0)
99
85
  declarative (< 0.1.0)
100
86
  trailblazer-option (>= 0.1.1, < 0.2.0)
101
87
  uber (< 0.2.0)
102
88
  retriable (3.1.2)
103
- reverse_markdown (2.0.0)
89
+ reverse_markdown (2.1.1)
104
90
  nokogiri
105
91
  rexml (3.2.5)
106
- rubocop (1.17.0)
92
+ rubocop (1.36.0)
93
+ json (~> 2.3)
107
94
  parallel (~> 1.10)
108
- parser (>= 3.0.0.0)
95
+ parser (>= 3.1.2.1)
109
96
  rainbow (>= 2.2.2, < 4.0)
110
97
  regexp_parser (>= 1.8, < 3.0)
111
- rexml
112
- rubocop-ast (>= 1.7.0, < 2.0)
98
+ rexml (>= 3.2.5, < 4.0)
99
+ rubocop-ast (>= 1.20.1, < 2.0)
113
100
  ruby-progressbar (~> 1.7)
114
101
  unicode-display_width (>= 1.4.0, < 3.0)
115
- rubocop-ast (1.7.0)
116
- parser (>= 3.0.1.1)
117
- rubocop-rake (0.5.1)
118
- rubocop
102
+ rubocop-ast (1.21.0)
103
+ parser (>= 3.1.1.0)
104
+ rubocop-rake (0.6.0)
105
+ rubocop (~> 1.0)
119
106
  ruby-progressbar (1.11.0)
120
- ruby2_keywords (0.0.4)
121
- signet (0.15.0)
122
- addressable (~> 2.3)
123
- faraday (>= 0.17.3, < 2.0)
107
+ ruby2_keywords (0.0.5)
108
+ signet (0.17.0)
109
+ addressable (~> 2.8)
110
+ faraday (>= 0.17.5, < 3.a)
124
111
  jwt (>= 1.5, < 3.0)
125
112
  multi_json (~> 1.10)
126
- solargraph (0.42.3)
113
+ solargraph (0.47.2)
127
114
  backport (~> 1.2)
128
115
  benchmark
129
116
  bundler (>= 1.17.2)
@@ -138,16 +125,17 @@ GEM
138
125
  thor (~> 1.0)
139
126
  tilt (~> 2.0)
140
127
  yard (~> 0.9, >= 0.9.24)
141
- thor (1.1.0)
142
- tilt (2.0.10)
143
- trailblazer-option (0.1.1)
128
+ thor (1.2.1)
129
+ tilt (2.0.11)
130
+ trailblazer-option (0.1.2)
144
131
  uber (0.1.0)
145
- unicode-display_width (2.0.0)
132
+ unicode-display_width (2.3.0)
146
133
  webrick (1.7.0)
147
- yard (0.9.26)
134
+ yard (0.9.28)
135
+ webrick (~> 1.7.0)
148
136
 
149
137
  PLATFORMS
150
- ruby
138
+ x86_64-linux
151
139
 
152
140
  DEPENDENCIES
153
141
  bundler
@@ -160,4 +148,4 @@ DEPENDENCIES
160
148
  yard
161
149
 
162
150
  BUNDLED WITH
163
- 2.2.19
151
+ 2.3.7
data/cns.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.summary = 'Arquiva transactions etherscan/greymass/bitcoinde/kraken/paymium/therock no bigquery.'
13
13
  spec.description = "#{spec.summary} Pode ajustar dias para reposicionamento temporal."
14
14
 
15
- spec.required_ruby_version = Gem::Requirement.new('~> 2.7')
15
+ spec.required_ruby_version = Gem::Requirement.new('~> 3.1')
16
16
  spec.metadata['homepage_uri'] = spec.homepage
17
17
  spec.metadata['yard.run'] = 'yard'
18
18
 
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..1300].map { |obj| eth2bh_1val(obj) }.join(',')}"
18
+ ") VALUES#{apibc.nov[0..1000].map { |obj| eth2bh_1val(obj) }.join(',')}"
19
19
  end
20
20
 
21
21
  # @return [Etherscan] API blockchain ETH
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.2.8'
4
+ VERSION = '0.3.0'
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.2.8
4
+ version: 0.3.0
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-06-25 00:00:00.000000000 Z
11
+ date: 2022-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -220,14 +220,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
220
220
  requirements:
221
221
  - - "~>"
222
222
  - !ruby/object:Gem::Version
223
- version: '2.7'
223
+ version: '3.1'
224
224
  required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  requirements:
226
226
  - - ">="
227
227
  - !ruby/object:Gem::Version
228
228
  version: '0'
229
229
  requirements: []
230
- rubygems_version: 3.1.4
230
+ rubygems_version: 3.3.7
231
231
  signing_key:
232
232
  specification_version: 4
233
233
  summary: Arquiva transactions etherscan/greymass/bitcoinde/kraken/paymium/therock