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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca4ba21b4b5f6e573688a1f5939ed118005fd4fe
4
- data.tar.gz: aaae4657edd11508f79b4b2df4ea295c10213552
3
+ metadata.gz: 07fe3d9e86c5852b0b6a28522b9b1c49dc5ffee2
4
+ data.tar.gz: 0d5bed34f067c7864bbd88760321c398b0464007
5
5
  SHA512:
6
- metadata.gz: 1c4f0c2c6c7b6a255f32e7ffb559859fea393129b6829656ceed567af6ddd88b4ed739eb30598b53c9a4225f865751c05184ad6fc1f92e846e61a7f0fce18a4e
7
- data.tar.gz: 1aec676537c7f6019c1ff0029388e3892e008f7416a66a3a5be826a5ceaa9ddd578d4e18e0fc82c018002020a54fc03c1a46f2726e000f7d9d23eb8e40ce0316
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
- Ay�½�Oy}����^�^\-3��<���Q7E�j(���o�@R�O�1�5/��c�{t�j-N&`JF�����,��h��+��΃9�2�s�����W~����*>(�O��R�18�һ�I��t
2
- A9�BD��ͺ�F���P�m+���.�*je� ���5ҽ��sV|�k��>pX��-<�|�W6s�j���#tHk���84X|�����談��g���]H�,9�
1
+ ��G.4\#%�G�~����^C�!�<��.��se���1a��i��Dq��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��
@@ -16,7 +16,7 @@ class JustExchangeRates
16
16
 
17
17
  @url, @base, @debug = api, base, debug
18
18
 
19
- filename = 'justexchangerates.json'
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.0
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-01-06 00:00:00.000000000 Z
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