eu_central_bank 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/eu_central_bank.rb +1 -1
- metadata +26 -18
- checksums.yaml +0 -7
data/lib/eu_central_bank.rb
CHANGED
@@ -12,7 +12,7 @@ class EuCentralBank < Money::Bank::VariableExchange
|
|
12
12
|
attr_accessor :historical_last_updated
|
13
13
|
attr_accessor :historical_rates_updated_at
|
14
14
|
|
15
|
-
CURRENCIES = %w(USD JPY BGN CZK DKK GBP HUF ILS
|
15
|
+
CURRENCIES = %w(USD JPY BGN CZK DKK GBP HUF ILS PLN RON SEK CHF NOK HRK RUB TRY AUD BRL CAD CNY HKD IDR INR KRW MXN MYR NZD PHP SGD THB ZAR)
|
16
16
|
ECB_RATES_URL = 'http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml'
|
17
17
|
ECB_90_DAY_URL = 'http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml'
|
18
18
|
|
metadata
CHANGED
@@ -1,55 +1,62 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eu_central_bank
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Shane Emmons
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2015-01-09 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: nokogiri
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- -
|
19
|
+
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
21
|
+
version: 1.6.3
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
29
|
+
version: 1.6.3
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: money
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- -
|
35
|
+
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
33
|
-
version: 6.
|
37
|
+
version: 6.5.0
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- -
|
43
|
+
- - ~>
|
39
44
|
- !ruby/object:Gem::Version
|
40
|
-
version: 6.
|
45
|
+
version: 6.5.0
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: rspec
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
|
-
- -
|
51
|
+
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: 3.0.0
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
|
-
- -
|
59
|
+
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: 3.0.0
|
55
62
|
description: This gem reads exchange rates from the european central bank website.
|
@@ -60,32 +67,33 @@ executables: []
|
|
60
67
|
extensions: []
|
61
68
|
extra_rdoc_files: []
|
62
69
|
files:
|
70
|
+
- lib/eu_central_bank.rb
|
63
71
|
- CHANGELOG.md
|
64
72
|
- LICENSE
|
65
73
|
- README.md
|
66
|
-
- lib/eu_central_bank.rb
|
67
74
|
homepage: http://github.com/RubyMoney/eu_central_bank
|
68
75
|
licenses: []
|
69
|
-
metadata: {}
|
70
76
|
post_install_message:
|
71
77
|
rdoc_options: []
|
72
78
|
require_paths:
|
73
79
|
- lib
|
74
80
|
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
75
82
|
requirements:
|
76
|
-
- -
|
83
|
+
- - ! '>='
|
77
84
|
- !ruby/object:Gem::Version
|
78
85
|
version: '0'
|
79
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
|
+
none: false
|
80
88
|
requirements:
|
81
|
-
- -
|
89
|
+
- - ! '>='
|
82
90
|
- !ruby/object:Gem::Version
|
83
91
|
version: '0'
|
84
92
|
requirements: []
|
85
93
|
rubyforge_project:
|
86
|
-
rubygems_version:
|
94
|
+
rubygems_version: 1.8.23.2
|
87
95
|
signing_key:
|
88
|
-
specification_version:
|
96
|
+
specification_version: 3
|
89
97
|
summary: Calculates exchange rates based on rates from european central bank. Money
|
90
98
|
gem compatible.
|
91
99
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 2ecdbda3cf40f2ffa1e54020dd8c93e045ee428b
|
4
|
-
data.tar.gz: a6a95b47411c3ec8e0ad5da4a04c12e35cd6ce1b
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 73d3a0b6ef922aa0c75cfe45e1371440a35598e93b39d180a06f382a5c1b95f1eca88d20a0788151b6737b893d3b882f0b35cfe5c74cbe8eabd37e17b3724826
|
7
|
-
data.tar.gz: 9c7f41bc3ba48142d2459e666acc85a607b5018b3adb0138bd29a2271cdaf6f7ab4335c7f56ce28e2d51ce251ecc1bcb35d0e3dee176140bf4aee2078ce6bba2
|