eodhd 0.19.8 → 0.19.10

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: 6b79f11d009b5fcad63df9eea69833e3036e76fad24979862046681d748d9cbf
4
- data.tar.gz: abc486cdf3e35d4f89b1a862dec9836779941811a508660acd161441d0befa25
3
+ metadata.gz: 884814bd2083dded94448391c878c35d32473f97de36e3318931c867384b732b
4
+ data.tar.gz: 4d72fac503e6a33fb1be4c19349891adc013284f99bb1e5538342a27eccddd8f
5
5
  SHA512:
6
- metadata.gz: e5b80bed33ca7c08c1b7c8b1308ef14ee8637c979df596158c6fed9b021e9a63edc4d3ab81d0d4f31f0606c701d79a66af0c2ea566672280e0acadda314412cb
7
- data.tar.gz: d2596c7c457d41e165dfd22273927ed46b8b7f081a23f3a91bc2d172994e228e41bbef48f55c610d711deb28acc583969d9b9781a14fc99a77f377036ab05032
6
+ metadata.gz: '078c876c0991372328172d5c2aeecb581d09473a66451549e9603ebad9d23a3fe58dbf077184115638a2ba646cbac7b8539f30c4ef0eb95509be0d64ca2af462'
7
+ data.tar.gz: 4cff5c9a60f08e91ca9ff53f3ccd9e72c6c22a2067834bca1c91f3162d9c5082965c21f844fd4a4ff50a1f468b47713860d44190888904139d1e796c04d16fcc
data/CHANGELOG CHANGED
@@ -1,5 +1,21 @@
1
1
  # eodhd/CHANGELOG
2
2
 
3
+ ## 20261021
4
+
5
+ 0.19.10: ~ test/gemspec_test.rb: Validate both gemspecs before comparing their files.
6
+
7
+ 1. ~ test/gemspec_test.rb: "ship the same files but for the one naming each": + [bare, dotted].each(&:validate). Gem::Specification.load caches each spec and validate removes directories from its files in place, so the comparison failed whenever one gemspec had been validated and the other not.
8
+ 2. ~ Eodhd::VERSION: /0.19.9/0.19.10/
9
+
10
+
11
+ ## 20261018
12
+
13
+ 0.19.9: The tests load WebMock again.
14
+
15
+ 1. ~ test/helper.rb: + webmock's http_rb adapter marked as loaded before requiring webmock/minitest. It takes http.rb's HTTP::VERSION for the http gem's and raises NameError patching an HTTP::Client which isn't there.
16
+ 2. ~ Eodhd::VERSION: /0.19.8/0.19.9/
17
+
18
+
3
19
  ## 20261001
4
20
 
5
21
  0.19.8: /Eodhd.rb/eodhd.rb/; + logger gem; ~ gemspec: + test/fixtures; + LICENSE
data/lib/Eodhd/VERSION.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Eodhd
2
- VERSION = '0.19.8'
2
+ VERSION = '0.19.10'
3
3
  end
data/test/gemspec_test.rb CHANGED
@@ -43,7 +43,10 @@ describe 'the two gemspecs' do
43
43
  let(:bare){Gem::Specification.load(File.expand_path('../eodhd.gemspec', __dir__))}
44
44
  let(:dotted){Gem::Specification.load(File.expand_path('../eodhd.rb.gemspec', __dir__))}
45
45
 
46
+ # Gem::Specification.load caches each spec, and validate removes directories
47
+ # from its files in place, so each is validated here whichever ran first.
46
48
  it "ship the same files but for the one naming each" do
49
+ [bare, dotted].each(&:validate)
47
50
  _(bare.files - ['eodhd.gemspec']).must_equal(dotted.files - ['eodhd.rb.gemspec'])
48
51
  end
49
52
 
data/test/helper.rb CHANGED
@@ -1,5 +1,16 @@
1
1
  # helper.rb
2
2
 
3
+ # Skip webmock's http_rb adapter: it takes any HTTP::VERSION for the http gem's,
4
+ # and http.rb defines one, so it crashes trying to patch an HTTP::Client which
5
+ # isn't there. On case-insensitive filesystems its require 'http' loads http.rb.
6
+
7
+ gem 'webmock'
8
+
9
+ $LOADED_FEATURES << File.join(
10
+ Gem.loaded_specs['webmock'].full_gem_path,
11
+ 'lib/webmock/http_lib_adapters/http_rb_adapter.rb'
12
+ )
13
+
3
14
  require 'minitest/autorun'
4
15
  require 'minitest/mock'
5
16
  require 'minitest/spec'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eodhd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.8
4
+ version: 0.19.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoran
@@ -249,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0'
251
251
  requirements: []
252
- rubygems_version: 4.0.21
252
+ rubygems_version: 4.0.22
253
253
  specification_version: 4
254
254
  summary: Access the eodhd.com API with Ruby.
255
255
  test_files: []