money-oxr 0.4.2 → 0.4.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a61dae5b0b4876ffb64d75a75677c7b3e116f7dbda7f6fb30e369b21c857b9a3
4
- data.tar.gz: 811a5d1c0ff40c4c1a9842946c8e4853cc148d13311ce9da3d666944fe53fed3
3
+ metadata.gz: 8c3d339d52f62d327085b6505068bcfdc7a32af3f971bab5d65fbbc82535acbf
4
+ data.tar.gz: b95fcb453cc33b302daa061a929133197c89ccb1ff5539d5842a7867e54fb6f1
5
5
  SHA512:
6
- metadata.gz: 565ad5d8fa733e28e25f1fcece9536e154208087a531d65836e50e6178a3a727870d1a486a2c3bd5eb76575261c3bc63c51d8c870d2a761b44939ddcb7364bd5
7
- data.tar.gz: 581c16b480d0502f8c18850884f1c9e100492b5bdc084ea92b621e5da94daa20ecfb309496f12da7622e9f02cf125f7194554b5f3a7872e816b18b99701f577d
6
+ metadata.gz: 77730e56a3c28b6c75d0fbc3f0a7dffcca953b15a72627e79817cd742ad537029896c4477b9b3832b7afdb7162cc5b9db098c970a64f7fc4d49f62013b4f2a6c
7
+ data.tar.gz: a455c71676ffa47bc74196b312f82cab46683ebaf2a1fb92b0c485ef8e8f3209b4c13833c1ac4e290819de2cfed331d069a1a1afcf94376bed8e400c6b00c3f7
data/CHANGELOG.md CHANGED
@@ -4,6 +4,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
5
  [How to use a CHANGELOG](http://keepachangelog.com/)
6
6
 
7
+ ## [0.4.3]
8
+ - Replace `open` with `URI.open` for compatibility with ruby 3.
9
+
10
+ ## [0.4.2]
11
+ - Update to Money 6.13.5
12
+ - Fix bugs related to webmock in specs.
13
+
14
+ ## [0.4.1]
15
+ - Fix ruby 2.7 warnings.
16
+
7
17
  ## [0.4.0] - 2018-11-29
8
18
  - Use `base` instead of `source` for base currency.
9
19
  - Use Time.now as last_updated_at timestamp when fetching data over the API
@@ -74,7 +74,7 @@ module MoneyOXR
74
74
  end
75
75
 
76
76
  def get_json_from_api
77
- open(api_uri).read
77
+ URI.open(api_uri).read
78
78
  rescue OpenURI::HTTPError, SocketError
79
79
  raise unless on_api_failure == :warn
80
80
  warn "#{$!.class}: #{$!.message}"
data/money-oxr.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "money-oxr"
5
- spec.version = "0.4.2"
5
+ spec.version = "0.4.3"
6
6
  spec.authors = ["Ed Lebert"]
7
7
 
8
8
  spec.summary = %q{A Money-compatible rate store that uses exchange rates from openexchangerates.org.}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: money-oxr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Lebert
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-22 00:00:00.000000000 Z
11
+ date: 2021-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: money
@@ -80,8 +80,8 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- description:
84
- email:
83
+ description:
84
+ email:
85
85
  executables: []
86
86
  extensions: []
87
87
  extra_rdoc_files: []
@@ -103,7 +103,7 @@ homepage: https://github.com/edlebert/money-oxr
103
103
  licenses:
104
104
  - MIT
105
105
  metadata: {}
106
- post_install_message:
106
+ post_install_message:
107
107
  rdoc_options: []
108
108
  require_paths:
109
109
  - lib
@@ -118,8 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0'
120
120
  requirements: []
121
- rubygems_version: 3.0.3
122
- signing_key:
121
+ rubygems_version: 3.2.25
122
+ signing_key:
123
123
  specification_version: 4
124
124
  summary: A Money-compatible rate store that uses exchange rates from openexchangerates.org.
125
125
  test_files: []