cns 0.3.6 → 0.3.8

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: 50e17e193099669aed9ed6e7b5b555cd6a8ed33a664d4390ca96f3c0dd633da5
4
- data.tar.gz: 47ef9c5fde7e329a39d3c2efbc37a004bafe215bfdaafdab2ea0502e3930f4ec
3
+ metadata.gz: 2c9a5c258c826d1e40061b723fdd3fcd54a00fc4ca00a66dc3f966a27590e808
4
+ data.tar.gz: 060b4b375474e47b5a0ebf90d5cccabe01ef00c745b0cfd3d2f67d62efccbf5f
5
5
  SHA512:
6
- metadata.gz: 6dae786aa9f694ee2bcd67ff33fe929bc2a45b71829c015e2ba210551a609c332123bd0c7d8761dabcb73eceaa817b8216123b89560380927243abe6d16d4361
7
- data.tar.gz: 2a7a177ffb73054a36972c2616b99a69222ab838f2e9f1ddae48497abd2238becc7be13b636d124c28b43a7f5fbcbbd108e9a08c6fff546f5af71ee476068978
6
+ metadata.gz: 98997f03f3031ac5536f128b3eaed7f3cf1ebbf77e854b15633d395e40c09fe751eeaf4672d6ccf33563f1a02ebfff006674fc7240071cc39b7e0c8d490b1564
7
+ data.tar.gz: bc1ecfacb6ddf886ac425713da2d08c934953d20f649bf434df9606b2471a2aaec396dddeb63f77801af935ef4bb785441eedc933a40e83ad73c32c18fadee3d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cns (0.3.6)
4
+ cns (0.3.8)
5
5
  curb
6
6
  faraday
7
7
  google-cloud-bigquery
@@ -23,7 +23,7 @@ GEM
23
23
  faraday-net_http (>= 2.0, < 3.1)
24
24
  ruby2_keywords (>= 0.0.4)
25
25
  faraday-net_http (3.0.2)
26
- google-apis-bigquery_v2 (0.55.0)
26
+ google-apis-bigquery_v2 (0.56.0)
27
27
  google-apis-core (>= 0.11.0, < 2.a)
28
28
  google-apis-core (0.11.0)
29
29
  addressable (~> 2.5, >= 2.5.1)
@@ -71,7 +71,7 @@ GEM
71
71
  parser (2.7.2.0)
72
72
  ast (~> 2.4.1)
73
73
  psych (3.3.4)
74
- public_suffix (5.0.1)
74
+ public_suffix (5.0.3)
75
75
  racc (1.7.1)
76
76
  rainbow (3.1.1)
77
77
  rake (12.3.3)
data/lib/cns/apice.rb CHANGED
@@ -380,7 +380,8 @@ module Cns
380
380
  symbolize_names: true
381
381
  )[:result]
382
382
  has.merge!(res[:trades])
383
- (ofs += 50) < res[:count] ? trades_us(ofs, has) : has
383
+ sleep 2
384
+ res[:trades].count > 0 ? trades_us(ofs + res[:trades].count, has) : has
384
385
  rescue StandardError
385
386
  has
386
387
  end
@@ -416,7 +417,8 @@ module Cns
416
417
  symbolize_names: true
417
418
  )[:result]
418
419
  has.merge!(res[:ledger])
419
- (ofs += 50) < res[:count] ? ledger_us(ofs, has) : has
420
+ sleep 2
421
+ res[:ledger].count > 0 ? ledger_us(ofs + res[:ledger].count, has) : has
420
422
  rescue StandardError
421
423
  has
422
424
  end
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.3.6'
4
+ VERSION = '0.3.8'
5
5
  end
data/ruby-lint.yml CHANGED
@@ -5,6 +5,6 @@ analysis_classes:
5
5
  - shadowing_variables
6
6
  # - undefined_methods
7
7
  # - undefined_variables
8
- - unused_variables
8
+ # - unused_variables
9
9
  - useless_equality_checks
10
10
 
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.3.6
4
+ version: 0.3.8
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-07-11 00:00:00.000000000 Z
11
+ date: 2023-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler