finnhub_ruby 1.1.6 → 1.1.7
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 +4 -4
- data/README.md +4 -3
- data/docs/CompanyProfile.md +1 -1
- data/docs/DefaultApi.md +7 -11
- data/docs/EarningRelease.md +2 -2
- data/docs/EarningsEstimates.md +1 -1
- data/docs/EarningsEstimatesInfo.md +26 -0
- data/docs/IPOEvent.md +2 -2
- data/docs/RevenueEstimates.md +1 -1
- data/docs/RevenueEstimatesInfo.md +26 -0
- data/docs/Sentiment.md +2 -2
- data/docs/SimilarityIndex.md +1 -1
- data/docs/SimilarityIndexInfo.md +40 -0
- data/lib/finnhub_ruby.rb +3 -2
- data/lib/finnhub_ruby/api/default_api.rb +4 -7
- data/lib/finnhub_ruby/models/company_profile.rb +1 -1
- data/lib/finnhub_ruby/models/earning_release.rb +2 -2
- data/lib/finnhub_ruby/models/earnings_estimates.rb +1 -1
- data/lib/finnhub_ruby/models/earnings_estimates_info.rb +259 -0
- data/lib/finnhub_ruby/models/ipo_event.rb +2 -2
- data/lib/finnhub_ruby/models/revenue_estimates.rb +1 -1
- data/lib/finnhub_ruby/models/revenue_estimates_info.rb +259 -0
- data/lib/finnhub_ruby/models/sentiment.rb +2 -2
- data/lib/finnhub_ruby/models/similarity_index.rb +1 -1
- data/lib/finnhub_ruby/models/similarity_index_info.rb +329 -0
- data/lib/finnhub_ruby/version.rb +1 -1
- data/spec/models/earnings_estimates_info_spec.rb +58 -0
- data/spec/models/revenue_estimates_info_spec.rb +58 -0
- data/spec/models/similarity_index_info_spec.rb +100 -0
- metadata +14 -3
- data/finnhub_ruby-1.1.5.gem +0 -0
data/lib/finnhub_ruby/version.rb
CHANGED
@@ -0,0 +1,58 @@
|
|
1
|
+
=begin
|
2
|
+
#Finnhub API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.2.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FinnhubRuby::EarningsEstimatesInfo
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FinnhubRuby::EarningsEstimatesInfo do
|
21
|
+
let(:instance) { FinnhubRuby::EarningsEstimatesInfo.new }
|
22
|
+
|
23
|
+
describe 'test an instance of EarningsEstimatesInfo' do
|
24
|
+
it 'should create an instance of EarningsEstimatesInfo' do
|
25
|
+
expect(instance).to be_instance_of(FinnhubRuby::EarningsEstimatesInfo)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "eps_avg"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "eps_high"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "eps_low"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "number_analysts"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "period"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
=begin
|
2
|
+
#Finnhub API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.2.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FinnhubRuby::RevenueEstimatesInfo
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FinnhubRuby::RevenueEstimatesInfo do
|
21
|
+
let(:instance) { FinnhubRuby::RevenueEstimatesInfo.new }
|
22
|
+
|
23
|
+
describe 'test an instance of RevenueEstimatesInfo' do
|
24
|
+
it 'should create an instance of RevenueEstimatesInfo' do
|
25
|
+
expect(instance).to be_instance_of(FinnhubRuby::RevenueEstimatesInfo)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "revenue_avg"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "revenue_high"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "revenue_low"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "number_analysts"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "period"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
@@ -0,0 +1,100 @@
|
|
1
|
+
=begin
|
2
|
+
#Finnhub API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.2.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for FinnhubRuby::SimilarityIndexInfo
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe FinnhubRuby::SimilarityIndexInfo do
|
21
|
+
let(:instance) { FinnhubRuby::SimilarityIndexInfo.new }
|
22
|
+
|
23
|
+
describe 'test an instance of SimilarityIndexInfo' do
|
24
|
+
it 'should create an instance of SimilarityIndexInfo' do
|
25
|
+
expect(instance).to be_instance_of(FinnhubRuby::SimilarityIndexInfo)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "cik"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "item1"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "item1a"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "item2"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "item7"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "item7a"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "access_number"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "form"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "filed_date"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "accepted_date"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "report_url"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "filing_url"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: finnhub_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -94,6 +94,7 @@ files:
|
|
94
94
|
- docs/EarningsCallTranscripts.md
|
95
95
|
- docs/EarningsCallTranscriptsList.md
|
96
96
|
- docs/EarningsEstimates.md
|
97
|
+
- docs/EarningsEstimatesInfo.md
|
97
98
|
- docs/EconomicCalendar.md
|
98
99
|
- docs/EconomicCode.md
|
99
100
|
- docs/EconomicData.md
|
@@ -144,9 +145,11 @@ files:
|
|
144
145
|
- docs/Report.md
|
145
146
|
- docs/RevenueBreakdown.md
|
146
147
|
- docs/RevenueEstimates.md
|
148
|
+
- docs/RevenueEstimatesInfo.md
|
147
149
|
- docs/SECSentimentAnalysis.md
|
148
150
|
- docs/Sentiment.md
|
149
151
|
- docs/SimilarityIndex.md
|
152
|
+
- docs/SimilarityIndexInfo.md
|
150
153
|
- docs/SocialSentiment.md
|
151
154
|
- docs/Split.md
|
152
155
|
- docs/StockCandles.md
|
@@ -164,7 +167,6 @@ files:
|
|
164
167
|
- docs/Trend.md
|
165
168
|
- docs/TwitterSentimentContent.md
|
166
169
|
- docs/UpgradeDowngrade.md
|
167
|
-
- finnhub_ruby-1.1.5.gem
|
168
170
|
- finnhub_ruby.gemspec
|
169
171
|
- git_push.sh
|
170
172
|
- lib/finnhub_ruby.rb
|
@@ -197,6 +199,7 @@ files:
|
|
197
199
|
- lib/finnhub_ruby/models/earnings_call_transcripts.rb
|
198
200
|
- lib/finnhub_ruby/models/earnings_call_transcripts_list.rb
|
199
201
|
- lib/finnhub_ruby/models/earnings_estimates.rb
|
202
|
+
- lib/finnhub_ruby/models/earnings_estimates_info.rb
|
200
203
|
- lib/finnhub_ruby/models/economic_calendar.rb
|
201
204
|
- lib/finnhub_ruby/models/economic_code.rb
|
202
205
|
- lib/finnhub_ruby/models/economic_data.rb
|
@@ -268,9 +271,11 @@ files:
|
|
268
271
|
- lib/finnhub_ruby/models/report.rb
|
269
272
|
- lib/finnhub_ruby/models/revenue_breakdown.rb
|
270
273
|
- lib/finnhub_ruby/models/revenue_estimates.rb
|
274
|
+
- lib/finnhub_ruby/models/revenue_estimates_info.rb
|
271
275
|
- lib/finnhub_ruby/models/sec_sentiment_analysis.rb
|
272
276
|
- lib/finnhub_ruby/models/sentiment.rb
|
273
277
|
- lib/finnhub_ruby/models/similarity_index.rb
|
278
|
+
- lib/finnhub_ruby/models/similarity_index_info.rb
|
274
279
|
- lib/finnhub_ruby/models/social_sentiment.rb
|
275
280
|
- lib/finnhub_ruby/models/split.rb
|
276
281
|
- lib/finnhub_ruby/models/stock.rb
|
@@ -317,6 +322,7 @@ files:
|
|
317
322
|
- spec/models/earnings_calendar_spec.rb
|
318
323
|
- spec/models/earnings_call_transcripts_list_spec.rb
|
319
324
|
- spec/models/earnings_call_transcripts_spec.rb
|
325
|
+
- spec/models/earnings_estimates_info_spec.rb
|
320
326
|
- spec/models/earnings_estimates_spec.rb
|
321
327
|
- spec/models/economic_calendar_spec.rb
|
322
328
|
- spec/models/economic_code_spec.rb
|
@@ -375,9 +381,11 @@ files:
|
|
375
381
|
- spec/models/reddit_sentiment_content_spec.rb
|
376
382
|
- spec/models/report_spec.rb
|
377
383
|
- spec/models/revenue_breakdown_spec.rb
|
384
|
+
- spec/models/revenue_estimates_info_spec.rb
|
378
385
|
- spec/models/revenue_estimates_spec.rb
|
379
386
|
- spec/models/sec_sentiment_analysis_spec.rb
|
380
387
|
- spec/models/sentiment_spec.rb
|
388
|
+
- spec/models/similarity_index_info_spec.rb
|
381
389
|
- spec/models/similarity_index_spec.rb
|
382
390
|
- spec/models/social_sentiment_spec.rb
|
383
391
|
- spec/models/split_spec.rb
|
@@ -459,6 +467,7 @@ test_files:
|
|
459
467
|
- spec/models/company_spec.rb
|
460
468
|
- spec/models/investment_theme_portfolio_spec.rb
|
461
469
|
- spec/models/etf_country_exposure_data_spec.rb
|
470
|
+
- spec/models/earnings_estimates_info_spec.rb
|
462
471
|
- spec/models/forex_symbol_spec.rb
|
463
472
|
- spec/models/key_customers_suppliers_spec.rb
|
464
473
|
- spec/models/symbol_lookup_info_spec.rb
|
@@ -497,7 +506,9 @@ test_files:
|
|
497
506
|
- spec/models/last_bid_ask_spec.rb
|
498
507
|
- spec/models/indicator_spec.rb
|
499
508
|
- spec/models/ownership_spec.rb
|
509
|
+
- spec/models/revenue_estimates_info_spec.rb
|
500
510
|
- spec/models/sentiment_spec.rb
|
511
|
+
- spec/models/similarity_index_info_spec.rb
|
501
512
|
- spec/models/company_profile_spec.rb
|
502
513
|
- spec/models/estimate_spec.rb
|
503
514
|
- spec/models/economic_event_spec.rb
|
data/finnhub_ruby-1.1.5.gem
DELETED
Binary file
|