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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67e1409bddbd3e8757c4e4b0cf308c73afed87605c862b7410cc8a6addc35ee3
4
- data.tar.gz: 7908c492b2db008faf150fcc1394b033a3152f1b61a46d8fc6ff4a807829233c
3
+ metadata.gz: c5fcd5e46f402afbf0763d24571c0693def95ceec4deccbd729cec64aafa3efe
4
+ data.tar.gz: 0f783433317e6ec2dd7e66e7fbef898da8d0c14eca2fd9e7978cd0bf53057504
5
5
  SHA512:
6
- metadata.gz: 223f55cd626e3891208b34fb19edaca924d44916441ff7b5abdc713fb57bba88fd7745d728e5dc42c2d503a93e6bfbc80ffc3a9eabed9d1eb53317ed5680cc7b
7
- data.tar.gz: 88d95d453be3374f844bb565886c1461280067d238beace53690e3b2ad60c0f1c3de09de2a555f35afa96010fb4cb771777127849f1f324b4a68863f0a213f25
6
+ metadata.gz: d3d495434687b598670eb5bcbd3a5945becd67937993f62288cf55fb91e9bd2fc1a72b43db56bdacd3998debbf9d63d0058c58301b513442442e770e14c64118
7
+ data.tar.gz: eb517bdcb3e1c9210ffabacd375448b2279b032060d8aea55d5a662f51264a55096f31ddc402a1fd54c3297c3f2fe5909de370224483104129c1f74fc83f6eb7
data/AUTHORS CHANGED
@@ -1,3 +1,4 @@
1
1
  Kostis Dadamis
2
2
  Emili Parreno
3
- Loris Mazloum
3
+ Loris Mazloum
4
+ Carlos Lopes
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.org/jeopard/historical-bank-ruby.svg?branch=master)](https://travis-ci.org/jeopard/historical-bank-ruby)
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
 
@@ -16,7 +16,7 @@
16
16
 
17
17
  Gem::Specification.new do |s|
18
18
  s.name = 'historical-bank'
19
- s.version = '0.1.5'
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
- @redis.mapped_hmset(k, iso_date_rate_hash)
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.5
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-05-01 00:00:00.000000000 Z
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.0.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: