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 +4 -4
- data/AUTHORS +3 -1
- data/CHANGELOG.md +9 -0
- data/LICENSE +0 -2
- data/README.md +1 -1
- data/historical-bank.gemspec +5 -7
- data/lib/money/rates_store/historical_redis.rb +2 -2
- metadata +3 -3
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,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
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
@@ -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.
|
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 =
|
31
|
-
|
32
|
-
|
33
|
-
'
|
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
|
-
|
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
|
+
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:
|
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.
|
205
|
+
rubygems_version: 3.3.7
|
206
206
|
signing_key:
|
207
207
|
specification_version: 4
|
208
208
|
summary: Historical Bank
|