currency-rate 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -0
  3. data/VERSION +1 -1
  4. data/currency-rate.gemspec +22 -3
  5. data/lib/adapter.rb +17 -9
  6. data/lib/btc_adapter.rb +4 -6
  7. data/lib/btc_adapters/average_rate_adapter.rb +4 -3
  8. data/lib/btc_adapters/bitfinex_adapter.rb +30 -0
  9. data/lib/btc_adapters/bitpay_adapter.rb +10 -3
  10. data/lib/btc_adapters/bitstamp_adapter.rb +24 -5
  11. data/lib/btc_adapters/btcchina_adapter.rb +13 -0
  12. data/lib/btc_adapters/btce_adapter.rb +26 -5
  13. data/lib/btc_adapters/coinbase_adapter.rb +2 -2
  14. data/lib/btc_adapters/huobi_adapter.rb +30 -0
  15. data/lib/btc_adapters/kraken_adapter.rb +14 -5
  16. data/lib/btc_adapters/localbitcoins_adapter.rb +10 -3
  17. data/lib/btc_adapters/okcoin_adapter.rb +24 -5
  18. data/lib/currency_rate.rb +11 -10
  19. data/lib/fiat_adapter.rb +4 -18
  20. data/lib/fiat_adapters/fixer_adapter.rb +20 -5
  21. data/lib/fiat_adapters/yahoo_adapter.rb +28 -6
  22. data/spec/currency_rate_spec.rb +10 -6
  23. data/spec/fixtures/vcr/exchange_rate_adapters/btc_adapters/average_rate_adapter.yml +423 -0
  24. data/spec/fixtures/vcr/exchange_rate_adapters/btc_adapters/bitfinex_adapter.yml +125 -0
  25. data/spec/fixtures/vcr/exchange_rate_adapters/btc_adapters/bitpay_adapter_yml.yml +272 -0
  26. data/spec/fixtures/vcr/exchange_rate_adapters/btc_adapters/bitstamp_adapter.yml +153 -0
  27. data/spec/fixtures/vcr/exchange_rate_adapters/btc_adapters/btcchina_adapter.yml +83 -0
  28. data/spec/fixtures/vcr/exchange_rate_adapters/btc_adapters/btce_adapter.yml +223 -0
  29. data/spec/fixtures/vcr/exchange_rate_adapters/btc_adapters/coinbase_adapter.yml +76 -0
  30. data/spec/fixtures/vcr/exchange_rate_adapters/btc_adapters/huobi_adapter.yml +83 -0
  31. data/spec/fixtures/vcr/exchange_rate_adapters/btc_adapters/kraken_adapter.yml +83 -0
  32. data/spec/fixtures/vcr/exchange_rate_adapters/btc_adapters/localbitcoins_adapter.yml +128 -0
  33. data/spec/fixtures/vcr/exchange_rate_adapters/btc_adapters/okcoin_adapter.yml +207 -0
  34. data/spec/fixtures/vcr/exchange_rate_adapters/fiat_adapters/fixer_adapter.yml +81 -0
  35. data/spec/fixtures/vcr/exchange_rate_adapters/fiat_adapters/yahoo_adapter.yml +50 -0
  36. data/spec/lib/btc_adapter_spec.rb +16 -28
  37. data/spec/lib/btc_adapters/average_rate_adapter_spec.rb +4 -4
  38. data/spec/lib/btc_adapters/bitfinex_adapter_spec.rb +38 -0
  39. data/spec/lib/btc_adapters/bitpay_adapter_spec.rb +8 -3
  40. data/spec/lib/btc_adapters/bitstamp_adapter_spec.rb +8 -3
  41. data/spec/lib/btc_adapters/btcchina_adapter_spec.rb +36 -0
  42. data/spec/lib/btc_adapters/btce_adapter_spec.rb +10 -3
  43. data/spec/lib/btc_adapters/coinbase_adapter_spec.rb +5 -3
  44. data/spec/lib/btc_adapters/huobi_adapter_spec.rb +38 -0
  45. data/spec/lib/btc_adapters/kraken_adapter_spec.rb +6 -3
  46. data/spec/lib/btc_adapters/localbitcoins_adapter_spec.rb +4 -3
  47. data/spec/lib/btc_adapters/okcoin_adapter_spec.rb +11 -3
  48. data/spec/lib/fiat_adapters/fixer_adapter_spec.rb +5 -2
  49. data/spec/lib/fiat_adapters/yahoo_adapter_spec.rb +5 -2
  50. metadata +21 -2
@@ -0,0 +1,125 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.bitfinex.com/v1/pubticker/btcusd
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx
23
+ Date:
24
+ - Mon, 20 Jun 2016 06:58:42 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - keep-alive
31
+ Vary:
32
+ - Accept-Encoding
33
+ X-Ua-Compatible:
34
+ - IE=Edge,chrome=1
35
+ Etag:
36
+ - '"59136e30c95f01b5c136770220aa846e"'
37
+ Cache-Control:
38
+ - no-cache
39
+ X-Request-Id:
40
+ - c753494b3227cfad50f8945966d39c8d
41
+ X-Runtime:
42
+ - '0.007791'
43
+ X-Rack-Cache:
44
+ - miss
45
+ Expires:
46
+ - Mon, 20 Jun 2016 06:58:41 GMT
47
+ X-Frame-Options:
48
+ - SAMEORIGIN
49
+ Set-Cookie:
50
+ - incap_ses_220_116519=8b+gI3trGBYpDLXOOqINAyGUZ1cAAAAAQM8WsGM6w+YwPHmncx+niw==;
51
+ path=/; Domain=.bitfinex.com
52
+ - nlbi_116519=HuwXBwJMIxm8yM1pAW4sjgAAAABRTx8p7HVHSrl6wTiQvNNI; path=/; Domain=.bitfinex.com
53
+ - visid_incap_116519=L54xa4vmRP6KAQ4z4aLnMSGUZ1cAAAAAQUIPAAAAAADfguZq9rKJ6IjaTgC2Q5+V;
54
+ expires=Mon, 19 Jun 2017 07:26:37 GMT; path=/; Domain=.bitfinex.com
55
+ X-Iinfo:
56
+ - 10-121398064-121388225 PNNN RT(1466405921277 608) q(0 0 0 -1) r(1 1) U5
57
+ X-Cdn:
58
+ - Incapsula
59
+ body:
60
+ encoding: ASCII-8BIT
61
+ string: '{"mid":"763.26999999999995","bid":"763.23","ask":"763.3099999999999","last_price":"763.0","low":"743.1","high":"775.0","volume":"25691.14266963","timestamp":"1466405921.347352017"}'
62
+ http_version:
63
+ recorded_at: Mon, 20 Jun 2016 06:58:43 GMT
64
+ - request:
65
+ method: get
66
+ uri: https://api.bitfinex.com/v1/pubticker/ltcusd
67
+ body:
68
+ encoding: US-ASCII
69
+ string: ''
70
+ headers:
71
+ Accept-Encoding:
72
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
73
+ Accept:
74
+ - "*/*"
75
+ User-Agent:
76
+ - Ruby
77
+ response:
78
+ status:
79
+ code: 200
80
+ message: OK
81
+ headers:
82
+ Server:
83
+ - nginx
84
+ Date:
85
+ - Mon, 20 Jun 2016 06:58:44 GMT
86
+ Content-Type:
87
+ - application/json; charset=utf-8
88
+ Transfer-Encoding:
89
+ - chunked
90
+ Connection:
91
+ - keep-alive
92
+ Vary:
93
+ - Accept-Encoding
94
+ X-Ua-Compatible:
95
+ - IE=Edge,chrome=1
96
+ Etag:
97
+ - '"631b709f658a68d802be723ff93619e4"'
98
+ Cache-Control:
99
+ - no-cache
100
+ X-Request-Id:
101
+ - b8e3581e6fa3c87e585e313877b1e1ec
102
+ X-Runtime:
103
+ - '0.005262'
104
+ X-Rack-Cache:
105
+ - miss
106
+ Expires:
107
+ - Mon, 20 Jun 2016 06:58:43 GMT
108
+ X-Frame-Options:
109
+ - SAMEORIGIN
110
+ Set-Cookie:
111
+ - incap_ses_220_116519=GIbaZrYdtxMQEbXOOqINAyOUZ1cAAAAAycnlvhfe0Isz+HA9+Pp/NQ==;
112
+ path=/; Domain=.bitfinex.com
113
+ - nlbi_116519=VnM6Dh8v/je+PlhWAW4sjgAAAACgdvqJaRM1yNUCSKWSWKd1; path=/; Domain=.bitfinex.com
114
+ - visid_incap_116519=X2lKapZlTTqMla2h0a3lqSOUZ1cAAAAAQUIPAAAAAABmZgMQLk1YH1cryK/6D7ZS;
115
+ expires=Mon, 19 Jun 2017 07:26:37 GMT; path=/; Domain=.bitfinex.com
116
+ X-Iinfo:
117
+ - 8-96464173-96432433 PNNN RT(1466405922881 596) q(0 0 0 -1) r(1 1) U5
118
+ X-Cdn:
119
+ - Incapsula
120
+ body:
121
+ encoding: ASCII-8BIT
122
+ string: '{"mid":"5.5237","bid":"5.5105","ask":"5.5369","last_price":"5.5105","low":"5.4952","high":"5.6365","volume":"17967.21301685","timestamp":"1466405918.717334694"}'
123
+ http_version:
124
+ recorded_at: Mon, 20 Jun 2016 06:58:44 GMT
125
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,272 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://bitpay.com/api/rates
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Date:
22
+ - Sat, 18 Jun 2016 13:51:33 GMT
23
+ Content-Type:
24
+ - application/json
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ Set-Cookie:
30
+ - __cfduid=dfebcb13e4bfa0f072ba22bf6c1c908ec1466257893; expires=Sun, 18-Jun-17
31
+ 13:51:33 GMT; path=/; domain=.bitpay.com; HttpOnly
32
+ Strict-Transport-Security:
33
+ - max-age=31536000
34
+ X-Download-Options:
35
+ - noopen
36
+ X-Content-Type-Options:
37
+ - nosniff
38
+ Access-Control-Allow-Origin:
39
+ - "*"
40
+ Cache-Control:
41
+ - public, max-age=1800
42
+ Expires:
43
+ - Sat, 18 Jun 2016 14:21:33 GMT
44
+ Cf-Cache-Status:
45
+ - HIT
46
+ Vary:
47
+ - Accept-Encoding
48
+ Server:
49
+ - cloudflare-nginx
50
+ Cf-Ray:
51
+ - 2b4f37794bd91141-SIN
52
+ body:
53
+ encoding: ASCII-8BIT
54
+ string: !binary |-
55
+ W3siY29kZSI6IkJUQyIsIm5hbWUiOiJCaXRjb2luIiwicmF0ZSI6MX0seyJj
56
+ b2RlIjoiVVNEIiwibmFtZSI6IlVTIERvbGxh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 dGUiOjE4NjkyOC43MDI3MDh9LHsiY29kZSI6IlpBUiIsIm5hbWUiOiJTb3V0
266
+ aCBBZnJpY2FuIFJhbmQiLCJyYXRlIjoxMTM0Mi41MTE1MDh9LHsiY29kZSI6
267
+ IlpNVyIsIm5hbWUiOiJaYW1iaWFuIEt3YWNoYSIsInJhdGUiOjgxNzIuNjE0
268
+ NDM3fSx7ImNvZGUiOiJaV0wiLCJuYW1lIjoiWmltYmFid2VhbiBEb2xsYXIi
269
+ LCJyYXRlIjoyNDExNTIuMTA4NTAxfV0=
270
+ http_version:
271
+ recorded_at: Sat, 18 Jun 2016 13:51:33 GMT
272
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,153 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.bitstamp.net/api/v2/ticker/btcusd/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Etag:
22
+ - '"6294c-c6-5358c763fe1e1"'
23
+ Last-Modified:
24
+ - Sat, 18 Jun 2016 12:17:59 GMT
25
+ Content-Type:
26
+ - application/json
27
+ Content-Length:
28
+ - '142'
29
+ Connection:
30
+ - keep-alive
31
+ Cache-Control:
32
+ - max-age=10, public
33
+ Expires:
34
+ - Sat, 18 Jun 2016 12:18:22 GMT
35
+ Date:
36
+ - Sat, 18 Jun 2016 12:18:12 GMT
37
+ Set-Cookie:
38
+ - incap_ses_220_99025=wQfzfpFG+Eq6yG7FOqINAwQ8ZVcAAAAA2IIq95EXi1XBrD3laKUZ+A==;
39
+ path=/; Domain=.bitstamp.net
40
+ - visid_incap_99025=wweiKoT2RWWFdobKK3cf4wQ8ZVcAAAAAQUIPAAAAAADnH3BD8BCXGU0F8hWrQTXg;
41
+ expires=Sun, 18 Jun 2017 07:26:36 GMT; path=/; Domain=.bitstamp.net
42
+ X-Iinfo:
43
+ - 9-56714738-0 0CNN RT(1466252292066 592) q(0 -1 -1 -1) r(0 -1)
44
+ X-Cdn:
45
+ - Incapsula
46
+ body:
47
+ encoding: ASCII-8BIT
48
+ string: '{"high": "757.96000", "last": "751.97000", "timestamp": "1466252278",
49
+ "bid": "751.47000", "vwap": "745.36091", "volume": "6901.58275229", "low":
50
+ "723.02000", "ask": "751.97000", "open": "745.00000"}'
51
+ http_version:
52
+ recorded_at: Sat, 18 Jun 2016 12:18:13 GMT
53
+ - request:
54
+ method: get
55
+ uri: https://www.bitstamp.net/api/v2/ticker/btceur/
56
+ body:
57
+ encoding: US-ASCII
58
+ string: ''
59
+ headers:
60
+ Accept-Encoding:
61
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
62
+ Accept:
63
+ - "*/*"
64
+ User-Agent:
65
+ - Ruby
66
+ response:
67
+ status:
68
+ code: 200
69
+ message: OK
70
+ headers:
71
+ Etag:
72
+ - '"62428-c6-5358c76731722"'
73
+ Last-Modified:
74
+ - Sat, 18 Jun 2016 12:18:02 GMT
75
+ Content-Type:
76
+ - application/json
77
+ Content-Length:
78
+ - '144'
79
+ Connection:
80
+ - keep-alive
81
+ Cache-Control:
82
+ - max-age=10, public
83
+ Expires:
84
+ - Sat, 18 Jun 2016 12:18:24 GMT
85
+ Date:
86
+ - Sat, 18 Jun 2016 12:18:14 GMT
87
+ Set-Cookie:
88
+ - incap_ses_220_99025=X4gkKY1GaAzZzG7FOqINAwY8ZVcAAAAA7sir6DswX0eW+RHQAZ3P2w==;
89
+ path=/; Domain=.bitstamp.net
90
+ - visid_incap_99025=1xi3KqDBRaC9elEeju7YyQY8ZVcAAAAAQUIPAAAAAAD5Hd7wQZNNpNjBCz4yMhvE;
91
+ expires=Sun, 18 Jun 2017 07:26:36 GMT; path=/; Domain=.bitstamp.net
92
+ X-Iinfo:
93
+ - 9-56715209-0 0CNN RT(1466252293557 573) q(0 -1 -1 -1) r(0 -1)
94
+ X-Cdn:
95
+ - Incapsula
96
+ body:
97
+ encoding: ASCII-8BIT
98
+ string: '{"high": "679.08000", "last": "674.50000", "timestamp": "1466252282",
99
+ "bid": "670.67000", "vwap": "668.63961", "volume": "1356.06136004", "low":
100
+ "659.34000", "ask": "674.50000", "open": "672.15000"}'
101
+ http_version:
102
+ recorded_at: Sat, 18 Jun 2016 12:18:15 GMT
103
+ - request:
104
+ method: get
105
+ uri: https://www.bitstamp.net/api/v2/ticker/eurusd/
106
+ body:
107
+ encoding: US-ASCII
108
+ string: ''
109
+ headers:
110
+ Accept-Encoding:
111
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
112
+ Accept:
113
+ - "*/*"
114
+ User-Agent:
115
+ - Ruby
116
+ response:
117
+ status:
118
+ code: 200
119
+ message: OK
120
+ headers:
121
+ Etag:
122
+ - '"62a85-b6-5358c76799efe"'
123
+ Last-Modified:
124
+ - Sat, 18 Jun 2016 12:18:02 GMT
125
+ Content-Type:
126
+ - application/json
127
+ Content-Length:
128
+ - '135'
129
+ Connection:
130
+ - keep-alive
131
+ Cache-Control:
132
+ - max-age=10, public
133
+ Expires:
134
+ - Sat, 18 Jun 2016 12:18:25 GMT
135
+ Date:
136
+ - Sat, 18 Jun 2016 12:18:15 GMT
137
+ Set-Cookie:
138
+ - incap_ses_220_99025=wERdE34q4y7x0G7FOqINAwc8ZVcAAAAAPxSkhEAtIJ28pp8s9oRuiQ==;
139
+ path=/; Domain=.bitstamp.net
140
+ - visid_incap_99025=3suN8VjZRqKmkj5hkjOFVwc8ZVcAAAAAQUIPAAAAAAD6yyMULIf23R9y57+RIwUr;
141
+ expires=Sun, 18 Jun 2017 07:26:36 GMT; path=/; Domain=.bitstamp.net
142
+ X-Iinfo:
143
+ - 9-56715632-0 0CNN RT(1466252295021 664) q(0 -1 -1 -1) r(0 -1)
144
+ X-Cdn:
145
+ - Incapsula
146
+ body:
147
+ encoding: ASCII-8BIT
148
+ string: '{"high": "1.12350", "last": "1.11002", "timestamp": "1466252282", "bid":
149
+ "1.11003", "vwap": "1.11349", "volume": "55451.55469", "low": "1.09500", "ask":
150
+ "1.12496", "open": "1.11002"}'
151
+ http_version:
152
+ recorded_at: Sat, 18 Jun 2016 12:18:16 GMT
153
+ recorded_with: VCR 3.0.3