eu_central_bank 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 51dcca97dcb36785e7f708fd5151dd27e455abbb
4
- data.tar.gz: 6f21ed060c828d42fdc900735749e24304765bf3
3
+ metadata.gz: 01a35ff1906fc6fcb306bff2804ed3684b8925ab
4
+ data.tar.gz: 56e430e88205e5f30248570cacc32d7cfdcd7270
5
5
  SHA512:
6
- metadata.gz: e1752efc73635f1263b99a39ef9243b7bb36a19c89573d52814659231b194be651e310bab321a4bde933d166f8071d8d4ac597125bc3c6cd927f34fcf19af016
7
- data.tar.gz: ea48fd4d71b9c8f7ce1a08673c7526bbdeb17b9093d4638ff9e09926f2b0972716d770c228f81f06750957ed57c7b6c166bd9142d4fb51655354fd3f729dc2ee
6
+ metadata.gz: e84505f83a5c70373b71cb0f07325fef8e11c313fa4936e607bc5162531b666a5e04f53a9dedf18270113ce402d3f3c65948cfac7633d1146782c437e64079fe
7
+ data.tar.gz: beef6198548c17b60f27e0151cee6df2a59280ebdd7c4261621ca4359274ada0aa6d7043db5e6d25be2e54330e3a150f6aea1dc7b671d4fff0bf96138dcafe30
@@ -1,5 +1,9 @@
1
1
  # eu_central_bank changelog
2
2
 
3
+ ## 1.4.2 (Feb 2 2019)
4
+
5
+ * Fix issue with importing exported rates
6
+
3
7
  ## 1.4.1 (Jan 14 2019)
4
8
 
5
9
  * Relax Nokogiri dependency to `~> 1.8` on newer rubies
@@ -145,7 +145,8 @@ class EuCentralBank < Money::Bank::VariableExchange
145
145
  data.each do |key, rate|
146
146
  from, to = key.split(SERIALIZER_SEPARATOR)
147
147
  to, date = to.split(SERIALIZER_DATE_SEPARATOR)
148
- store.add_rate from, to, rate, date
148
+
149
+ store.add_rate from, to, BigDecimal(rate), date
149
150
  end
150
151
  end
151
152
 
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.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Emmons
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-14 00:00:00.000000000 Z
11
+ date: 2019-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri