eu_central_bank 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/eu_central_bank.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87c3be2859e80a5b6333cd87bcf2895c653baf3a
|
4
|
+
data.tar.gz: a78a0dc23f3acdd61c927d8c23cac695535250e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b89ae31c95e961aec67596968dc44d2c7393012b19d98b081a7c7b7c2e132f1bcbb7d4a3003398ba4d2e04a7e3658789574b265241887cbf1d7b2f682f796882
|
7
|
+
data.tar.gz: 555eb9d9f044f74d880e4bd6e9e58206922d6cec4682d835489ce28eefb1e8103bf36f4dea6a456fc50b82a6f82167ced83c78c383f64e803220dc95d9ec9e00
|
data/CHANGELOG.md
CHANGED
data/lib/eu_central_bank.rb
CHANGED
@@ -17,8 +17,8 @@ class EuCentralBank < Money::Bank::VariableExchange
|
|
17
17
|
SERIALIZER_DATE_SEPARATOR = '_AT_'
|
18
18
|
|
19
19
|
CURRENCIES = %w(USD JPY BGN CZK DKK GBP HUF ILS ISK PLN RON SEK CHF NOK HRK RUB TRY AUD BRL CAD CNY HKD IDR INR KRW MXN MYR NZD PHP SGD THB ZAR).map(&:freeze).freeze
|
20
|
-
ECB_RATES_URL = '
|
21
|
-
ECB_90_DAY_URL = '
|
20
|
+
ECB_RATES_URL = 'https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml'.freeze
|
21
|
+
ECB_90_DAY_URL = 'https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml'.freeze
|
22
22
|
|
23
23
|
def initialize(st = Money::RatesStore::StoreWithHistoricalDataSupport.new, &block)
|
24
24
|
super
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eu_central_bank
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Emmons
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
86
|
rubyforge_project:
|
87
|
-
rubygems_version: 2.
|
87
|
+
rubygems_version: 2.5.2
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: Calculates exchange rates based on rates from european central bank. Money
|