cryptum 0.0.362 → 0.0.363

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: 81280048c0a0ce151b105bc5705e7b886d4554172e3f4ef51349437f4b2c2d85
4
- data.tar.gz: b5c8e7c1cc800c0a1e05ee135e9de589c2c724f193b8f4da5c3994716b15cc62
3
+ metadata.gz: 68828b6b87e0870751c42dcec69b36a60ca72782cca5837800e14719da4d064b
4
+ data.tar.gz: 3ff3f279eb11a2cc8146e57d1e54689acd100e072ccb91e272ca49853f8438dd
5
5
  SHA512:
6
- metadata.gz: 3d316a8a94edcdfc01df2aff2125c94c59c58167648875f994453229239c5566542b339b924dc706c89046960684b79f903abdbaaef7c54fe0f4714b0e907d06
7
- data.tar.gz: b3545d8e37240d613dfdca0e26bc58553a302afdaaa88d2e18c51bdda6e3c1140830893ac8cd57420a916f847110fee61d010b5edf9c8442f597f6ce0b3c62a5
6
+ metadata.gz: a111cd5506be46ee46ca56bce53077e7e3d88b133a470dab14fe45c83c40df8d0364e56008330a78888edcb2201c719406891d496c142a1037d365401d014f16
7
+ data.tar.gz: 7fe8dee8b6d7b18f015711261387e62f368da4cddef7d0bc1fc25546c5ca4936d696b928f4ba18997e92fdb7b0941e0c7f56de49bbcaece9e2ca3df4e5117152
@@ -89,7 +89,7 @@ module Cryptum
89
89
  order if order[:color] == 'yellow'
90
90
  end.last
91
91
  last_purchase_price = 0.0
92
- last_purchase_price = last_order[:price].to_f if last_order.any?
92
+ last_purchase_price = last_order[:price].to_f if last_order
93
93
 
94
94
  limit_price = last_purchase_price - quote_increment.to_f if last_purchase_price.positive? && last_purchase_price < limit_price
95
95
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.362'
4
+ VERSION = '0.0.363'
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.362
4
+ version: 0.0.363
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-01-25 00:00:00.000000000 Z
11
+ date: 2023-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable