historical-bank 0.1.3 → 0.1.4
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/CONTRIBUTING.md +1 -21
- data/README.md +3 -1
- data/historical-bank.gemspec +4 -4
- metadata +12 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f712c75492da073c49248579aab49f1299787407f7c4a25e6cd5382fe0f4d81f
|
|
4
|
+
data.tar.gz: de3fa972bd5db6b393b4d63c5f90bdc3d69b194e4c02808a9e26b867cdc40760
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1f1e7ac6bcfa75d6a72f2508d267bfafe3834a04a6736ab25e99c62ec9b45875d24d60163fe511bd3d97aa921d3293480b95ac50b9d8d8d9a9695c1eeb19be4
|
|
7
|
+
data.tar.gz: b461fc3fb25984929a2d28de7bd1eb9e0a21970990474ffad59463a6f6afe79957c5470ed9c56d0c80e748b0cc4c1160546cecebd42fed1aaa9bbd8d38ee7634
|
data/CONTRIBUTING.md
CHANGED
|
@@ -59,26 +59,6 @@ Provider.
|
|
|
59
59
|
|
|
60
60
|
## License
|
|
61
61
|
|
|
62
|
-
By contributing your code, you agree to license your contribution under the terms of the APLv2: https://github.com/
|
|
62
|
+
By contributing your code, you agree to license your contribution under the terms of the APLv2: https://github.com/jeopard/historical-bank-ruby/blob/master/LICENSE
|
|
63
63
|
|
|
64
64
|
All files are released with the Apache 2.0 license.
|
|
65
|
-
|
|
66
|
-
If you are adding a new file it should have a header like this:
|
|
67
|
-
|
|
68
|
-
```
|
|
69
|
-
#
|
|
70
|
-
# Copyright 2017 Skyscanner Limited.
|
|
71
|
-
#
|
|
72
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
73
|
-
# you may not use this file except in compliance with the License.
|
|
74
|
-
# You may obtain a copy of the License at
|
|
75
|
-
#
|
|
76
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
77
|
-
#
|
|
78
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
79
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
80
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
81
|
-
# See the License for the specific language governing permissions and
|
|
82
|
-
# limitations under the License.
|
|
83
|
-
#
|
|
84
|
-
```
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# historical-bank-ruby
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/rb/historical-bank)
|
|
4
|
-
[](https://travis-ci.org/jeopard/historical-bank-ruby)
|
|
5
5
|
|
|
6
6
|
## Description
|
|
7
7
|
|
|
@@ -12,6 +12,8 @@ As the HTTP requests to OER can add latency to your calls, a `RatesStore` (cache
|
|
|
12
12
|
|
|
13
13
|
You can use it as your default bank and keep calling the standard `money` gem methods (`Money#exchange_to`, `Bank#exchange_with`). On top of that, we've added a few more methods that allow accessing historical rates (`Money#exchange_to_historical`, `Bank#exchange_with_historical`).
|
|
14
14
|
|
|
15
|
+
This gem was initially developed in Skyscanner. However as far as I know, Skyscanner no longer does Ruby development, so I doubt that the [original repo](https://github.com/Skyscanner/historical-bank-ruby) will ever receive any updates.
|
|
16
|
+
|
|
15
17
|
|
|
16
18
|
### Base currency
|
|
17
19
|
|
data/historical-bank.gemspec
CHANGED
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
|
|
19
19
|
Gem::Specification.new do |s|
|
|
20
20
|
s.name = 'historical-bank'
|
|
21
|
-
s.version = '0.1.
|
|
21
|
+
s.version = '0.1.4'
|
|
22
22
|
s.summary = 'Historical Bank'
|
|
23
23
|
s.description = 'A `Money::Bank::Base` with historical exchange rates'
|
|
24
24
|
s.authors = ['Kostis Dadamis', 'Emili Parreno']
|
|
25
|
-
s.email = ['
|
|
26
|
-
s.homepage = 'https://github.com/
|
|
25
|
+
s.email = ['provlhma@gmail.com']
|
|
26
|
+
s.homepage = 'https://github.com/jeopard/historical-bank-ruby'
|
|
27
27
|
s.license = 'Apache-2.0'
|
|
28
28
|
|
|
29
29
|
require 'rake'
|
|
@@ -44,7 +44,7 @@ Gem::Specification.new do |s|
|
|
|
44
44
|
|
|
45
45
|
s.add_runtime_dependency 'money', '~> 6.7'
|
|
46
46
|
s.add_runtime_dependency 'httparty', '~> 0.14'
|
|
47
|
-
s.add_runtime_dependency 'redis', ['>=3.3', '
|
|
47
|
+
s.add_runtime_dependency 'redis', ['>=3.3', '~> 4.0']
|
|
48
48
|
|
|
49
49
|
s.add_development_dependency 'rspec', '~> 3.5'
|
|
50
50
|
s.add_development_dependency 'pry-byebug', '~> 3.4'
|
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: historical-bank
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kostis Dadamis
|
|
8
8
|
- Emili Parreno
|
|
9
|
-
autorequire:
|
|
9
|
+
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2021-02-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: money
|
|
@@ -46,9 +46,9 @@ dependencies:
|
|
|
46
46
|
- - ">="
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
48
|
version: '3.3'
|
|
49
|
-
- - "
|
|
49
|
+
- - "~>"
|
|
50
50
|
- !ruby/object:Gem::Version
|
|
51
|
-
version: '4.
|
|
51
|
+
version: '4.0'
|
|
52
52
|
type: :runtime
|
|
53
53
|
prerelease: false
|
|
54
54
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -56,9 +56,9 @@ dependencies:
|
|
|
56
56
|
- - ">="
|
|
57
57
|
- !ruby/object:Gem::Version
|
|
58
58
|
version: '3.3'
|
|
59
|
-
- - "
|
|
59
|
+
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '4.
|
|
61
|
+
version: '4.0'
|
|
62
62
|
- !ruby/object:Gem::Dependency
|
|
63
63
|
name: rspec
|
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -159,7 +159,7 @@ dependencies:
|
|
|
159
159
|
version: '0.8'
|
|
160
160
|
description: A `Money::Bank::Base` with historical exchange rates
|
|
161
161
|
email:
|
|
162
|
-
-
|
|
162
|
+
- provlhma@gmail.com
|
|
163
163
|
executables: []
|
|
164
164
|
extensions: []
|
|
165
165
|
extra_rdoc_files:
|
|
@@ -182,11 +182,11 @@ files:
|
|
|
182
182
|
- spec/rates_provider/open_exchange_rates_spec.rb
|
|
183
183
|
- spec/rates_store/historical_redis_spec.rb
|
|
184
184
|
- spec/spec_helper.rb
|
|
185
|
-
homepage: https://github.com/
|
|
185
|
+
homepage: https://github.com/jeopard/historical-bank-ruby
|
|
186
186
|
licenses:
|
|
187
187
|
- Apache-2.0
|
|
188
188
|
metadata: {}
|
|
189
|
-
post_install_message:
|
|
189
|
+
post_install_message:
|
|
190
190
|
rdoc_options: []
|
|
191
191
|
require_paths:
|
|
192
192
|
- lib
|
|
@@ -202,9 +202,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
202
202
|
version: '0'
|
|
203
203
|
requirements:
|
|
204
204
|
- redis
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
signing_key:
|
|
205
|
+
rubygems_version: 3.1.4
|
|
206
|
+
signing_key:
|
|
208
207
|
specification_version: 4
|
|
209
208
|
summary: Historical Bank
|
|
210
209
|
test_files:
|