cryptum 0.0.306 → 0.0.307

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: 219457ec2de37938a864b65a951e81f8b52a095f0361991a0621355379f41801
4
- data.tar.gz: f585c516dba1b148b9f7781942c62ce217d7b88b603cc5f005a165bc5a3fec4c
3
+ metadata.gz: faa4809c3c4cd47f2ecad06fde334a0e22956187b01589b22c7856e98763bdf2
4
+ data.tar.gz: e35b9fb12ea5fbb7376b02404488d6ac49b4efee53d7d615dd43eeb40e93bdf7
5
5
  SHA512:
6
- metadata.gz: 706814ae44b2cd0c3abaf47067657cf98986121f1d417877909e2ccf852571e6a3f21606bd998a396e55db6b5e367ea76ad3a01f884d0f0c4022372675cf72d8
7
- data.tar.gz: d207d9a246a8fb57e2dd0fe993217382b5e9c1157cfcc7bb275ac36aa8adb1811f8a37e84a8c62cfefbc9060e73a06b928b80a88ddd74926d0661702157e993b
6
+ metadata.gz: 3cd86f23ba8a783c95ad38a21b78d48091f9f8431dcc932be3e182aa7f41745046f3a47e20a83d44da5ebd714666e69b4a7c946e9969ea274c95ba0a0bd8f56b
7
+ data.tar.gz: d5c343f0738921b46c0befd116ff466922d2c5d135ee1248ab239fce632c204124626eee82e0a7ddb24f477a33b1d4dd51c194512eed137eeb5c64fdde57ded1
@@ -91,16 +91,36 @@ module Cryptum
91
91
 
92
92
  option_choice.market_trend_reset = 60 if option_choice.market_trend_reset.to_i.zero?
93
93
  unless option_choice.market_trend_reset.to_i >= 60 &&
94
- option_choice.market_trend_reset <= 86_400
94
+ option_choice.market_trend_reset <= 604_800
95
95
  usage = true
96
96
  reason = :market_trend_reset
97
97
  end
98
98
 
99
99
  case option_choice.market_trend_reset
100
+ when 604_800
101
+ option_choice.market_trend_reset_label = '1W'
100
102
  when 86_400
101
- option_choice.market_trend_reset_label = 'D'
103
+ option_choice.market_trend_reset_label = '1D'
104
+ when 14_400
105
+ option_choice.market_trend_reset_label = '4h'
106
+ when 10_800
107
+ option_choice.market_trend_reset_label = '3h'
108
+ when 7_200
109
+ option_choice.market_trend_reset_label = '2h'
102
110
  when 3_600
103
111
  option_choice.market_trend_reset_label = '1h'
112
+ when 2_700
113
+ option_choice.market_trend_reset_label = '45m'
114
+ when 2_700
115
+ option_choice.market_trend_reset_label = '45m'
116
+ when 1_800
117
+ option_choice.market_trend_reset_label = '30m'
118
+ when 900
119
+ option_choice.market_trend_reset_label = '15m'
120
+ when 300
121
+ option_choice.market_trend_reset_label = '5m'
122
+ when 180
123
+ option_choice.market_trend_reset_label = '3m'
104
124
  when 60
105
125
  option_choice.market_trend_reset_label = '1m'
106
126
  else
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.306'
4
+ VERSION = '0.0.307'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.306
4
+ version: 0.0.307
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.