money-currencylayer-bank 0.5.8 → 0.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/money/bank/currencylayer_bank.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0e462c6afb508bf3a7a341b1351bf78a352b02bd89284fd58176bb3b86386af
|
4
|
+
data.tar.gz: 4fbeb9c78cd4074c337d77bb46aac04bfbcc1c1dead7f42526b2425992894789
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70dd5e637e689c64116a462a3d51b4bcb15606266c7c3a390d4ef2f92c8dfe1c3dd2f88d578a94bd27617765efbfb947f0026e85c08dc9978ae9a8e8edf6eacb
|
7
|
+
data.tar.gz: 1797e477c6c164f3e4d08baf209c2f731c63a7fdf3e8db656227d6bc9d7011816047c5ef20506d9683d0d6816c9428fec785776a709eb6e26b4b5d59ea734af1
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
[](https://rubygems.org/gems/money-currencylayer-bank)
|
5
5
|
[](https://travis-ci.org/phlegx/money-currencylayer-bank)
|
6
6
|
[](https://codeclimate.com/github/phlegx/money-currencylayer-bank)
|
7
|
-
[](http://inch-ci.org/github/phlegx/money-currencylayer-bank)
|
8
8
|
[](http://opensource.org/licenses/MIT)
|
9
9
|
|
10
10
|
A gem that calculates the exchange rate using published rates from
|
@@ -72,7 +72,7 @@ mclb.source = 'EUR'
|
|
72
72
|
|
73
73
|
# (optional)
|
74
74
|
# Set the seconds after than the current rates are automatically expired.
|
75
|
-
#
|
75
|
+
# By default, they never expire, in this example 1 day.
|
76
76
|
mclb.ttl_in_seconds = 86400
|
77
77
|
|
78
78
|
# (optional)
|
@@ -31,7 +31,7 @@ class Money
|
|
31
31
|
# CurrencylayerBank base class
|
32
32
|
class CurrencylayerBank < Money::Bank::VariableExchange
|
33
33
|
# CurrencylayerBank url
|
34
|
-
CL_URL = '
|
34
|
+
CL_URL = 'https://api.currencylayer.com/live'.freeze
|
35
35
|
# CurrencylayerBank secure url
|
36
36
|
CL_SECURE_URL = CL_URL.sub('http:', 'https:')
|
37
37
|
# Default base currency
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: money-currencylayer-bank
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Egon Zemmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: money
|