trade-o-matic 0.5.3 → 0.5.4

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
  SHA1:
3
- metadata.gz: b576a3dcdc653394bb76f68e9b9623d03eb762cd
4
- data.tar.gz: e37a4067ea7d14ee39417fe91bb96c2c7205bd80
3
+ metadata.gz: d7c7a1d55b67326622eea9562e032ea26f85e528
4
+ data.tar.gz: 123d8eb84dc23191288c8fdf9d391317f1fed0f1
5
5
  SHA512:
6
- metadata.gz: 3dd600bd73ef4edbb3cb9a30e2711467d90f11194896e676ae73706fe485e189035f6d5dcb4ca3cbc71f3cdeb26c6c368681b737707c07e2ec9bf76619d69168
7
- data.tar.gz: 5fd1be56bd9a05c605970cccd6f52a91f94c1648e860361642d96ba029f85b8c3613d4ed58156c7d0e2e4811311c9b6f35596070c6f97dc1174fed7e2767ac57
6
+ metadata.gz: 0db96eff0a3dddabf187d6ee54528707c020c3656efbf7fb3ccedb4a02eac98f239ecadd190033226c78dead74e13b764ecabd69690171b1adc2b65a84064955
7
+ data.tar.gz: 60c2d37e546ffaaf67d1d411067ec13b8f704addafc812e4601edccdbe6e7abd187901c552a9437aac947e1607872cca86d00ea10cc3fac14b9e4a28efcbebd7
@@ -18,7 +18,7 @@ module Trader
18
18
  'canceled' => AccountOrder::CANCELED
19
19
  }
20
20
 
21
- MAIN_MARKET = CurrencyPair.new(:SATOSHI, :CLP)
21
+ MAIN_MARKET = CurrencyPair.new(:SATOSHI, :CLP_CENT)
22
22
 
23
23
  class SurbtcBalance < RawBalance
24
24
  attr_mapped :amount
@@ -112,7 +112,7 @@ module Trader
112
112
  end
113
113
 
114
114
  def currency_code_for(_currency)
115
- return 'clp' if _currency.code == :CLP
115
+ return 'clp' if _currency.code == :CLP_CENT
116
116
  return 'btc' if _currency.code == :SATOSHI
117
117
  _currency.to_s.downcase
118
118
  end
@@ -1,3 +1,3 @@
1
1
  module Trader
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trade-o-matic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ignacio Baixas