eodhd 0.19.6 → 0.19.8

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.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +24 -0
  3. data/Gemfile +1 -1
  4. data/LICENSE +21 -0
  5. data/README.md +6 -10
  6. data/eodhd.gemspec +6 -4
  7. data/lib/Eodhd/VERSION.rb +1 -1
  8. data/lib/eodhd.rb +1 -1
  9. data/test/{Eodhd_test.rb → eodhd_test.rb} +2 -2
  10. data/test/fixtures/vcr_cassettes/client_eod_bulk_last_day.yml +51 -0
  11. data/test/fixtures/vcr_cassettes/client_eod_bulk_last_day_401_error.yml +43 -0
  12. data/test/fixtures/vcr_cassettes/client_eod_data.yml +51 -0
  13. data/test/fixtures/vcr_cassettes/client_eod_data_401_error.yml +43 -0
  14. data/test/fixtures/vcr_cassettes/client_exchange_symbol_list.yml +2774 -0
  15. data/test/fixtures/vcr_cassettes/client_exchange_symbol_list_401_error.yml +43 -0
  16. data/test/fixtures/vcr_cassettes/client_exchanges_list.yml +97 -0
  17. data/test/fixtures/vcr_cassettes/client_exchanges_list_401_error.yml +43 -0
  18. data/test/fixtures/vcr_cassettes/client_fundamentals.yml +153 -0
  19. data/test/fixtures/vcr_cassettes/client_fundamentals_401_error.yml +43 -0
  20. data/test/fixtures/vcr_cassettes/client_fundamentals_filtered.yml +91 -0
  21. data/test/fixtures/vcr_cassettes/client_intraday.yml +6492 -0
  22. data/test/fixtures/vcr_cassettes/client_intraday_401_error.yml +43 -0
  23. data/test/fixtures/vcr_cassettes/eodhd_eod_bulk_last_day.yml +51 -0
  24. data/test/fixtures/vcr_cassettes/eodhd_eod_data.yml +51 -0
  25. data/test/fixtures/vcr_cassettes/eodhd_exchange_symbols.yml +2931 -0
  26. data/test/fixtures/vcr_cassettes/eodhd_exchanges.yml +123 -0
  27. data/test/fixtures/vcr_cassettes/eodhd_fundamentals.yml +153 -0
  28. data/test/fixtures/vcr_cassettes/eodhd_intraday.yml +6492 -0
  29. data/test/fixtures/vcr_cassettes/fundamentals_aapl.yml +153 -0
  30. data/test/fixtures/vcr_cassettes/fundamentals_cba_au.yml +99 -0
  31. data/test/gemspec_test.rb +1 -1
  32. data/test/helper.rb +1 -1
  33. metadata +40 -4
data/test/gemspec_test.rb CHANGED
@@ -23,7 +23,7 @@ require_relative './helper'
23
23
  end
24
24
 
25
25
  it "declares its runtime dependencies" do
26
- _(spec.runtime_dependencies.collect(&:name).sort).must_equal(%w{http.rb iodine})
26
+ _(spec.runtime_dependencies.collect(&:name).sort).must_equal(%w{http.rb iodine logger})
27
27
  end
28
28
 
29
29
  it "declares its development dependencies" do
data/test/helper.rb CHANGED
@@ -8,7 +8,7 @@ require 'vcr'
8
8
  require 'webmock/minitest'
9
9
 
10
10
  $LOAD_PATH.unshift File.expand_path("../lib", __dir__)
11
- require 'Eodhd'
11
+ require 'eodhd'
12
12
 
13
13
  VCR.configure do |config|
14
14
  config.cassette_library_dir = File.expand_path('./fixtures/vcr_cassettes', __dir__)
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.6
4
+ version: 0.19.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoran
@@ -37,6 +37,20 @@ dependencies:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '0'
40
+ - !ruby/object:Gem::Dependency
41
+ name: logger
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ type: :runtime
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
40
54
  - !ruby/object:Gem::Dependency
41
55
  name: rake
42
56
  requirement: !ruby/object:Gem::Requirement
@@ -143,6 +157,7 @@ extra_rdoc_files: []
143
157
  files:
144
158
  - CHANGELOG
145
159
  - Gemfile
160
+ - LICENSE
146
161
  - README.md
147
162
  - Rakefile
148
163
  - eodhd.gemspec
@@ -192,10 +207,31 @@ files:
192
207
  - test/Eodhd/VERSION_test.rb
193
208
  - test/Eodhd/Validations_test.rb
194
209
  - test/Eodhd/WebSocketClient_test.rb
195
- - test/Eodhd_test.rb
210
+ - test/eodhd_test.rb
211
+ - test/fixtures/vcr_cassettes/client_eod_bulk_last_day.yml
212
+ - test/fixtures/vcr_cassettes/client_eod_bulk_last_day_401_error.yml
213
+ - test/fixtures/vcr_cassettes/client_eod_data.yml
214
+ - test/fixtures/vcr_cassettes/client_eod_data_401_error.yml
215
+ - test/fixtures/vcr_cassettes/client_exchange_symbol_list.yml
216
+ - test/fixtures/vcr_cassettes/client_exchange_symbol_list_401_error.yml
217
+ - test/fixtures/vcr_cassettes/client_exchanges_list.yml
218
+ - test/fixtures/vcr_cassettes/client_exchanges_list_401_error.yml
219
+ - test/fixtures/vcr_cassettes/client_fundamentals.yml
220
+ - test/fixtures/vcr_cassettes/client_fundamentals_401_error.yml
221
+ - test/fixtures/vcr_cassettes/client_fundamentals_filtered.yml
222
+ - test/fixtures/vcr_cassettes/client_intraday.yml
223
+ - test/fixtures/vcr_cassettes/client_intraday_401_error.yml
224
+ - test/fixtures/vcr_cassettes/eodhd_eod_bulk_last_day.yml
225
+ - test/fixtures/vcr_cassettes/eodhd_eod_data.yml
226
+ - test/fixtures/vcr_cassettes/eodhd_exchange_symbols.yml
227
+ - test/fixtures/vcr_cassettes/eodhd_exchanges.yml
228
+ - test/fixtures/vcr_cassettes/eodhd_fundamentals.yml
229
+ - test/fixtures/vcr_cassettes/eodhd_intraday.yml
230
+ - test/fixtures/vcr_cassettes/fundamentals_aapl.yml
231
+ - test/fixtures/vcr_cassettes/fundamentals_cba_au.yml
196
232
  - test/gemspec_test.rb
197
233
  - test/helper.rb
198
- homepage: http://github.com/thoran/eodhd.rb
234
+ homepage: http://github.com/thoran/eodhd
199
235
  licenses:
200
236
  - MIT
201
237
  metadata: {}
@@ -213,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
249
  - !ruby/object:Gem::Version
214
250
  version: '0'
215
251
  requirements: []
216
- rubygems_version: 4.0.20
252
+ rubygems_version: 4.0.21
217
253
  specification_version: 4
218
254
  summary: Access the eodhd.com API with Ruby.
219
255
  test_files: []