btce 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/btce.rb +7 -10
  2. metadata +6 -2
@@ -43,15 +43,6 @@ require 'yaml'
43
43
  module Btce
44
44
  class API
45
45
  BTCE_DOMAIN = "btc-e.com"
46
- CURRENCIES = %w(btc
47
- usd
48
- rur
49
- ltc
50
- nmc
51
- eur
52
- nvc
53
- ppc
54
- fnc)
55
46
  CURRENCY_PAIRS = %w(btc_usd
56
47
  btc_eur
57
48
  btc_rur
@@ -59,11 +50,17 @@ module Btce
59
50
  ltc_usd
60
51
  ltc_rur
61
52
  nmc_btc
53
+ nmc_usd
62
54
  usd_rur
63
55
  eur_usd
64
56
  nvc_btc
57
+ nvc_usd
65
58
  ppc_btc
66
- ftc_btc)
59
+ ftc_btc
60
+ trc_btc
61
+ ppc_btc
62
+ xpm_btc)
63
+ CURRENCIES = CURRENCY_PAIRS.map {|pair| pair.split("_")}.flatten.uniq.sort
67
64
  MAX_DIGITS = {
68
65
  "btc_usd" => 3,
69
66
  "btc_eur" => 3,
metadata CHANGED
@@ -1,15 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: btce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
+ - Edward Funger
8
9
  - Christopher Mark Gore
10
+ - Sami Laine
11
+ - Jaime Quint
9
12
  autorequire:
10
13
  bindir: bin
11
14
  cert_chain: []
12
- date: 2013-11-14 00:00:00.000000000 Z
15
+ date: 2013-11-21 00:00:00.000000000 Z
13
16
  dependencies:
14
17
  - !ruby/object:Gem::Dependency
15
18
  name: monkey-patch
@@ -59,3 +62,4 @@ signing_key:
59
62
  specification_version: 3
60
63
  summary: A simple library to interface with the API for btc-e.com in Ruby.
61
64
  test_files: []
65
+ has_rdoc: