historical-bank 0.1.4 → 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: f712c75492da073c49248579aab49f1299787407f7c4a25e6cd5382fe0f4d81f
4
- data.tar.gz: de3fa972bd5db6b393b4d63c5f90bdc3d69b194e4c02808a9e26b867cdc40760
3
+ metadata.gz: c5fcd5e46f402afbf0763d24571c0693def95ceec4deccbd729cec64aafa3efe
4
+ data.tar.gz: 0f783433317e6ec2dd7e66e7fbef898da8d0c14eca2fd9e7978cd0bf53057504
5
5
  SHA512:
6
- metadata.gz: e1f1e7ac6bcfa75d6a72f2508d267bfafe3834a04a6736ab25e99c62ec9b45875d24d60163fe511bd3d97aa921d3293480b95ac50b9d8d8d9a9695c1eeb19be4
7
- data.tar.gz: b461fc3fb25984929a2d28de7bd1eb9e0a21970990474ffad59463a6f6afe79957c5470ed9c56d0c80e748b0cc4c1160546cecebd42fed1aaa9bbd8d38ee7634
6
+ metadata.gz: d3d495434687b598670eb5bcbd3a5945becd67937993f62288cf55fb91e9bd2fc1a72b43db56bdacd3998debbf9d63d0058c58301b513442442e770e14c64118
7
+ data.tar.gz: eb517bdcb3e1c9210ffabacd375448b2279b032060d8aea55d5a662f51264a55096f31ddc402a1fd54c3297c3f2fe5909de370224483104129c1f74fc83f6eb7
data/AUTHORS CHANGED
@@ -1,2 +1,4 @@
1
1
  Kostis Dadamis
2
- Emili Parreno
2
+ Emili Parreno
3
+ Loris Mazloum
4
+ Carlos Lopes
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
6
+ ## 0.1.5
7
+ - Use `Dir` instead of `FileList` in the gemspec to resolve [external dependency error](https://github.com/rubygems/rubygems/issues/3313)
8
+
9
+ ## 0.1.4
10
+ - Update Travis config and docs
11
+
3
12
  ## 0.1.3
4
13
  - Support `redis` gem versions '>=3.3', '< 4.1' (#3)
5
14
 
data/LICENSE CHANGED
@@ -1,5 +1,3 @@
1
- Copyright 2017 Skyscanner Ltd
2
-
3
1
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
4
2
 
5
3
  http://www.apache.org/licenses/LICENSE-2.0
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
 
@@ -1,6 +1,4 @@
1
1
  #
2
- # Copyright 2017 Skyscanner Limited.
3
- #
4
2
  # Licensed under the Apache License, Version 2.0 (the "License");
5
3
  # you may not use this file except in compliance with the License.
6
4
  # You may obtain a copy of the License at
@@ -18,7 +16,7 @@
18
16
 
19
17
  Gem::Specification.new do |s|
20
18
  s.name = 'historical-bank'
21
- s.version = '0.1.4'
19
+ s.version = '0.1.6'
22
20
  s.summary = 'Historical Bank'
23
21
  s.description = 'A `Money::Bank::Base` with historical exchange rates'
24
22
  s.authors = ['Kostis Dadamis', 'Emili Parreno']
@@ -27,10 +25,10 @@ Gem::Specification.new do |s|
27
25
  s.license = 'Apache-2.0'
28
26
 
29
27
  require 'rake'
30
- s.files = FileList['lib/**/*.rb', 'Gemfile', 'examples/*.rb',
31
- 'historical-bank.gemspec', 'spec/**/*.rb'].to_a
32
- s.files += ['README.md', 'LICENSE', 'CONTRIBUTING.md', 'AUTHORS',
33
- 'CHANGELOG.md', 'spec/fixtures/time-series-2015-09.json']
28
+ s.files = Dir['lib/**/*.rb', 'examples/*.rb', 'spec/**/*.rb']
29
+ s.files += ['Gemfile', 'historical-bank.gemspec', 'README.md', 'LICENSE',
30
+ 'CONTRIBUTING.md', 'AUTHORS', 'CHANGELOG.md',
31
+ 'spec/fixtures/time-series-2015-09.json']
34
32
 
35
33
  s.test_files = s.files.grep(%r{^spec/})
36
34
 
@@ -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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: historical-bank
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kostis Dadamis
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-02-16 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
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
202
  version: '0'
203
203
  requirements:
204
204
  - redis
205
- rubygems_version: 3.1.4
205
+ rubygems_version: 3.3.7
206
206
  signing_key:
207
207
  specification_version: 4
208
208
  summary: Historical Bank