cryptum 0.0.447 → 0.0.449

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: eeaa176f04f89b6a39a50b69d9e6bdac80e58965ceb7ed83c6974839184ee653
4
- data.tar.gz: a3a1435caa2c02517007dd0ce2fef695319546a67e6a079de5aed93648f67d49
3
+ metadata.gz: 2ed04c5ea1bd30c1b84d5c3a806d1718eac8019f30dad82e249f42043fd1473d
4
+ data.tar.gz: d818ae7eeb05d3c0933e48508b9bdc485b87515884de0d95fc5f3cc6c5594e0f
5
5
  SHA512:
6
- metadata.gz: 4a7f3d9237d12824ff2d0b29237146ca0f9f1d53a5e340efb69e279ae366d2ae103561d5c4fb4ff9bb1dfc3eff0fcd3b9e02b89e3162e36c7ea96f2d859a44e8
7
- data.tar.gz: 182f2f09e2aae04692f328a32051f5594200f438b05522c5d02d08b9b3fb51f14fdd5028da4faef8b049d787198a62012199cbf349a7aef9418fe4b2c3749bc8
6
+ metadata.gz: 0d54c6e0e324b3f093c0cbe86b2a556a787ba79d9383fdfdf4818e0ab97ffc7b1603bfa8a2d6476fa76512ca8ad7517ba18f044d3f1d4696e1026e1c886135a6
7
+ data.tar.gz: 638b5570f41e22daaca9f6044fc571ebb3ff4881ec31dce2ed4e22e4b25a5197d7f5ed9b188d2a09bf4c2eeca66a2c080d014a1c6817045aa756d898009b8769
data/Gemfile CHANGED
@@ -16,7 +16,7 @@ gem 'bundler', '>=2.4.17'
16
16
  gem 'bundler-audit', '0.9.1'
17
17
  gem 'curses', '1.4.4'
18
18
  gem 'eventmachine', '1.2.7'
19
- gem 'faye-websocket', '0.11.2'
19
+ gem 'faye-websocket', '0.11.3'
20
20
  gem 'neovim', '0.9.0'
21
21
  gem 'permessage_deflate', '0.1.4'
22
22
  gem 'pry', '0.14.2'
@@ -27,7 +27,7 @@ gem 'rdoc', '6.5.0'
27
27
  gem 'require_all', '3.0.0'
28
28
  gem 'rest-client', '2.1.0'
29
29
  gem 'rspec', '3.12.0'
30
- gem 'rubocop', '1.54.2'
30
+ gem 'rubocop', '1.55.0'
31
31
  gem 'rubocop-rake', '0.6.0'
32
32
  gem 'rubocop-rspec', '2.22.0'
33
33
  gem 'ruby-prof', '1.6.3'
@@ -269,10 +269,10 @@ module Cryptum
269
269
  learning_arr.push(learning)
270
270
  end
271
271
 
272
- oh_sold = order_history.find { |oh| oh[:id] == sell_order_id }
273
- meta[:done_at] = Time.parse(oh_sold[:done_at]).strftime('%Y-%m-%d %H:%M:%S%z') unless oh_sold.nil?
272
+ # oh_sold = order_history.find { |oh| oh[:id] == sell_order_id }
273
+ # meta[:done_at] = Time.parse(oh_sold[:done_at]).strftime('%Y-%m-%d %H:%M:%S%z') unless oh_sold.nil?
274
+ meta[:done_at] = meta[:sell_details][:done_at] unless meta[:sell_details].nil?
274
275
  meta[:done_at] ||= '____-__-__ __:__:__-____'
275
- # meta[:done_at] ||= Time.now.strftime('%Y-%m-%d %H:%M:%S%z')
276
276
  meta[:color] = :green
277
277
 
278
278
  # Obtain buy && sell order details from order history
@@ -302,7 +302,7 @@ module Cryptum
302
302
  ohm_sold_twenty_four_arr = []
303
303
  unless oh_meta_sold_arr.empty?
304
304
  ohm_sold_twenty_four_arr = oh_meta_sold_arr.select do |o|
305
- Time.parse(o[:done_at]) >= twenty_four_hrs_ago
305
+ Time.parse(o[:sell_details][:done_at]) >= twenty_four_hrs_ago
306
306
  end
307
307
  end
308
308
  order_hist_meta_sold_twenty_four = ohm_sold_twenty_four_arr.length
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.447'
4
+ VERSION = '0.0.449'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.447
4
+ version: 0.0.449
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-24 00:00:00.000000000 Z
11
+ date: 2023-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 0.11.2
89
+ version: 0.11.3
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 0.11.2
96
+ version: 0.11.3
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: neovim
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -240,14 +240,14 @@ dependencies:
240
240
  requirements:
241
241
  - - '='
242
242
  - !ruby/object:Gem::Version
243
- version: 1.54.2
243
+ version: 1.55.0
244
244
  type: :runtime
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
248
  - - '='
249
249
  - !ruby/object:Gem::Version
250
- version: 1.54.2
250
+ version: 1.55.0
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: rubocop-rake
253
253
  requirement: !ruby/object:Gem::Requirement