money-open-exchange-rates 1.2.0 → 1.2.1

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
  SHA256:
3
- metadata.gz: 533cde694f8fe852a3c3876b5433871d66aa438184978a676296c93867d58132
4
- data.tar.gz: 793cc9510199cd8d4da3ac1e05bbd133e154ed167eeee585feeadeb403b0cc36
3
+ metadata.gz: 437aaa9ee1ba378244b8d8e2826df7b2c62030245cad2c0842c4985917d49c7f
4
+ data.tar.gz: df74b76387cc6bbb7850e9b8aabf200c45aa4c15c3a0b76a0acc991eb6dd448b
5
5
  SHA512:
6
- metadata.gz: b8d3e1d9900ebd8ecd0c9d2c723697c0d0ba9416f9ac82c4dc0ed8264ca8822571c841441d445e55ef655fece32019a5c8c397f83ffd27766689128edbe54f0b
7
- data.tar.gz: 78cb56294a55bc7f6b7f7daff77f4f5acae9cacd9516cb9e5b85544674ed3dd56898b2d138b2c5af2623ab3d583dc26af55b79d4d4437e4c915ca68b2586aca3
6
+ metadata.gz: da4cc8071242bf6a520167453e12dfa8a07cedbf7b088cf39c8e0561515a3669049bc0eab0729657045d3fd4580f62722dcc57e962351fbf14c5a87584184112
7
+ data.tar.gz: 286222c2ad6c009ae563bcafa813bec513614b96a77d09da457ee8e7d91022667daf50af34b3b3f517acbe0679aeb5be6a338955ad760d728b636d06ce572084
data/History.md CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ v1.2.1 / 2018-03-31
3
+ ===================
4
+
5
+ * Fix rates_timestamp should be now per default
6
+
2
7
  v1.2.0 / 2018-03-31
3
8
  ===================
4
9
 
@@ -113,7 +113,7 @@ class Money
113
113
  #
114
114
  # @return [Time]
115
115
  def rates_timestamp
116
- @rates_timestamp || Time.at(0)
116
+ @rates_timestamp || Time.now
117
117
  end
118
118
 
119
119
  # Set the seconds after than the current rates are automatically expired
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Module for version constant
4
4
  module OpenExchangeRatesBank
5
- VERSION = '1.2.0'.freeze
5
+ VERSION = '1.2.1'.freeze
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: money-open-exchange-rates
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurent Arnoud