historical-bank 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHORS +2 -1
- data/CHANGELOG.md +3 -0
- data/README.md +1 -1
- data/historical-bank.gemspec +1 -1
- data/lib/money/rates_store/historical_redis.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5fcd5e46f402afbf0763d24571c0693def95ceec4deccbd729cec64aafa3efe
|
4
|
+
data.tar.gz: 0f783433317e6ec2dd7e66e7fbef898da8d0c14eca2fd9e7978cd0bf53057504
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3d495434687b598670eb5bcbd3a5945becd67937993f62288cf55fb91e9bd2fc1a72b43db56bdacd3998debbf9d63d0058c58301b513442442e770e14c64118
|
7
|
+
data.tar.gz: eb517bdcb3e1c9210ffabacd375448b2279b032060d8aea55d5a662f51264a55096f31ddc402a1fd54c3297c3f2fe5909de370224483104129c1f74fc83f6eb7
|
data/AUTHORS
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.1.6
|
4
|
+
- Update how Redis pipeline command is made. The old way will be removed in Redis 5.0.0
|
5
|
+
|
3
6
|
## 0.1.5
|
4
7
|
- Use `Dir` instead of `FileList` in the gemspec to resolve [external dependency error](https://github.com/rubygems/rubygems/issues/3313)
|
5
8
|
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# historical-bank-ruby
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/historical-bank.svg)](https://badge.fury.io/rb/historical-bank)
|
4
|
-
[![Build Status](https://travis-ci.
|
4
|
+
[![Build Status](https://app.travis-ci.com/jeopard/historical-bank-ruby.svg?branch=master)](https://app.travis-ci.com/github/jeopard/historical-bank-ruby)
|
5
5
|
|
6
6
|
## Description
|
7
7
|
|
data/historical-bank.gemspec
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
Gem::Specification.new do |s|
|
18
18
|
s.name = 'historical-bank'
|
19
|
-
s.version = '0.1.
|
19
|
+
s.version = '0.1.6'
|
20
20
|
s.summary = 'Historical Bank'
|
21
21
|
s.description = 'A `Money::Bank::Base` with historical exchange rates'
|
22
22
|
s.authors = ['Kostis Dadamis', 'Emili Parreno']
|
@@ -89,10 +89,10 @@ class Money
|
|
89
89
|
'be equal to 1'
|
90
90
|
end
|
91
91
|
|
92
|
-
@redis.pipelined do
|
92
|
+
@redis.pipelined do |pipeline|
|
93
93
|
currency_date_rate_hash.each do |iso_currency, iso_date_rate_hash|
|
94
94
|
k = key(iso_currency)
|
95
|
-
|
95
|
+
pipeline.mapped_hmset(k, iso_date_rate_hash)
|
96
96
|
end
|
97
97
|
end
|
98
98
|
rescue Redis::BaseError => e
|
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.6
|
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: 2022-
|
12
|
+
date: 2022-10-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: money
|
@@ -186,7 +186,7 @@ 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,8 +202,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
202
202
|
version: '0'
|
203
203
|
requirements:
|
204
204
|
- redis
|
205
|
-
rubygems_version: 3.
|
206
|
-
signing_key:
|
205
|
+
rubygems_version: 3.3.7
|
206
|
+
signing_key:
|
207
207
|
specification_version: 4
|
208
208
|
summary: Historical Bank
|
209
209
|
test_files:
|