btce 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/btce.rb +11 -3
  2. metadata +2 -2
data/lib/btce.rb CHANGED
@@ -49,8 +49,11 @@ module Btce
49
49
  ltc
50
50
  nmc
51
51
  eur
52
- nvc)
52
+ nvc
53
+ trc
54
+ ppc)
53
55
  CURRENCY_PAIRS = %w(btc_usd
56
+ btc_eur
54
57
  btc_rur
55
58
  ltc_btc
56
59
  ltc_usd
@@ -58,9 +61,12 @@ module Btce
58
61
  nmc_btc
59
62
  usd_rur
60
63
  eur_usd
61
- nvc_btc)
64
+ nvc_btc
65
+ trc_btc
66
+ ppc_btc)
62
67
  MAX_DIGITS = {
63
68
  "btc_usd" => 3,
69
+ "btc_eur" => 3,
64
70
  "btc_rur" => 4,
65
71
  "ltc_btc" => 5,
66
72
  "ltc_usd" => 6,
@@ -68,7 +74,9 @@ module Btce
68
74
  "nmc_btc" => 4,
69
75
  "usd_rur" => 4,
70
76
  "eur_usd" => 4,
71
- "nvc_btc" => 4
77
+ "nvc_btc" => 4,
78
+ "trc_btc" => 4,
79
+ "ppc_btc" => 4
72
80
  }
73
81
  KEY = YAML::load File.open 'btce-api-key.yml'
74
82
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: btce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-18 00:00:00.000000000 Z
12
+ date: 2013-04-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: monkey-patch