justexchangerates 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +4 -2
- data/lib/justexchangerates.rb +2 -2
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07fe3d9e86c5852b0b6a28522b9b1c49dc5ffee2
|
4
|
+
data.tar.gz: 0d5bed34f067c7864bbd88760321c398b0464007
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 786b6d5a46de8ca246410164bd10f6c6ea4990c833a0995962f8e46d89eacf1118a7ed5e4d1f19917226589ecb682c5acb41b9ca539d4b40a5a9889e344205e4
|
7
|
+
data.tar.gz: da4a9d0bdfd0417087187ca7c7c4ed230fbab3a71bced3b45147cf7a61e90a21e0844155ff2e50b4ecc8154ee3766cca6762fb17a7ceafa8990d0b9703356ce4
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,4 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
��G.4\#%�G�~����^C�!�<��.��s�e���1a��i��D�q��X:���tIRp
|
2
|
+
c��ڲ
|
3
|
+
�x+��<G���ܛ�t���D��Srw�:����S��w�V��j��)"M��;ƒp���"��?(�GϠs���ȹ̠s����d�����H���T�"������H~��)�`T6��7{I��4e
|
4
|
+
jZ4V��%?jj�������"1��/�����_sv�%b�+�i�p�'�Y�.H�`�`�g��
|
data/lib/justexchangerates.rb
CHANGED
@@ -16,7 +16,7 @@ class JustExchangeRates
|
|
16
16
|
|
17
17
|
@url, @base, @debug = api, base, debug
|
18
18
|
|
19
|
-
filename = '
|
19
|
+
filename = 'justexchangerates_' + base.downcase + '.json'
|
20
20
|
@cache_filepath = File.join(cache_path, filename)
|
21
21
|
|
22
22
|
h = if cache_refresh then
|
@@ -79,4 +79,4 @@ if __FILE__ == $0 then
|
|
79
79
|
jer = JustExchangeRates.new(base: 'USD')
|
80
80
|
jer.rate(VARGS.first) # e.g. GBP #=> 0.73792
|
81
81
|
|
82
|
-
end
|
82
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: justexchangerates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
wxj+BoAMVbJfP/AfQ46F5erI2X10cQzKt41kZwYasgu98+v6KOKzR+J/d7nKaVJ/
|
31
31
|
BL0=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2018-
|
33
|
+
date: 2018-03-08 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: chronic_duration
|
metadata.gz.sig
CHANGED
Binary file
|