sec_query 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7fcc071c9c2a20d9785eb3e18f08bafb8aa5d76a
4
- data.tar.gz: 28e85cbe4e92ca568bdd66477bb34b345ec0a3b9
3
+ metadata.gz: e0dcb3dc699b2d6b83a79f026dec445d99c3edd5
4
+ data.tar.gz: 6192703420f6bcfd6ebbac230852ae4d1e6341a6
5
5
  SHA512:
6
- metadata.gz: da3bc6d656bebf0c4248a2c476caa5c9fec28ad2e1cf9f2c2cd06b16519a802045255257d525bc3afd85c52e00689258fbc87fc7724621fdda65ad19f5bdf07e
7
- data.tar.gz: f04996d7a20f500ee31e83798efa1cd1930f6d909fb86b5e94b3f7f5f9c29591cba74d701a18e742d8849d62ff414491f3e8c4c2a9b1f39f888440539b71f057
6
+ metadata.gz: 11a23324f82965969a807e269ed1e810253d85a890a504424026201835fae08eff389d9a9f1d3ec32f02cd7c179934bc394fd19b667b8388de55f7be5aa98eec
7
+ data.tar.gz: 621457f23173bbd5659477ff7232dd0b2b63f60d25bd43383bfa5d0ebccdae756ca143757d67b52bd45eadf7389580d02b85e9272a231d462d5ca89be0062a26
data/.gitignore CHANGED
@@ -4,6 +4,8 @@
4
4
  .bundle
5
5
  .config
6
6
  .yardoc
7
+ .ruby-gemset
8
+ .ruby-version
7
9
  Gemfile.lock
8
10
  InstalledFiles
9
11
  _yardoc
data/README.md CHANGED
@@ -8,7 +8,7 @@ Additionally retrieve some, or all, Relationships, Transactions and Filings as r
8
8
 
9
9
  ## Note: 9/13/16, SEC.GOV embraces SSL!
10
10
 
11
- On or before Septmember 13th, 2016, the SEC.gov updated their site to use SSL (Huzzah!). Version 1.2.0 addresses this change. All versions less than 1.2.0, will cease to function as expected. Update immeditiately.
11
+ On or before Septmember 13th, 2016, the SEC.gov updated their site to use SSL (Huzzah!). Version 1.2.0 addresses this change. All versions less than 1.2.0, will cease to function as expected. Update immediately.
12
12
 
13
13
  ## Installation
14
14
 
@@ -28,9 +28,29 @@ If running 'sec_query' from the command prompt in irb:
28
28
 
29
29
  ## Functionality
30
30
 
31
- ### FIND COMPANY:
31
+ ### Entity:
32
32
 
33
- #### By Stock Symbol:
33
+ An Sec::Entity instance contains the following attributes:
34
+
35
+ * cik
36
+ * name
37
+ * mailing_address
38
+ * business_adddress
39
+ * assigned_sic
40
+ * assigned_sic_desc
41
+ * assigned_sic_href
42
+ * assitant_director
43
+ * cik_href
44
+ * formerly_name
45
+ * state_location
46
+ * state_location_href
47
+ * state_of_incorporation
48
+
49
+ #### Class Methods
50
+
51
+ ##### .find
52
+
53
+ ###### By Stock Symbol:
34
54
 
35
55
  `SecQuery::Entity.find("aapl")`
36
56
 
@@ -38,7 +58,7 @@ Or:
38
58
 
39
59
  `SecQuery::Entity.find({:symbol=> "aapl"})`
40
60
 
41
- #### By Name:
61
+ ###### By Name:
42
62
 
43
63
  `SecQuery::Entity.find("Apple, Inc.")`
44
64
 
@@ -46,7 +66,7 @@ Or:
46
66
 
47
67
  `SecQuery::Entity.find({:name=> "Apple, Inc."})`
48
68
 
49
- #### By Central Index Key, CIK:
69
+ ###### Central Index Key, CIK
50
70
 
51
71
  `SecQuery::Entity.find( "0000320193")`
52
72
 
@@ -54,7 +74,7 @@ Or:
54
74
 
55
75
  `SecQuery::Entity.find({:cik=> "0000320193"})`
56
76
 
57
- #### FIND PERSON:
77
+ ###### By First, Middle and Last Name:
58
78
 
59
79
  By First, Middle and Last Name.
60
80
 
@@ -62,62 +82,41 @@ By First, Middle and Last Name.
62
82
 
63
83
  Middle initial or name is optional, but helps when there are multiple results for First and Last Name.
64
84
 
65
- ### RELATIONSHIPS, TRANSACTIONS, FILINGS
66
-
67
- To return everything - All Relationships, Transactions and Filings - that the SEC Edgar system has stored on a company or person, do any of the following commands (They all do the same thing.):
68
-
69
- `SecQuery::Entity.find("AAPL", true)`
70
-
71
- `SecQuery::Entity.find("AAPL", true, true, true)`
72
-
73
- `SecQuery::Entity.find("AAPL", {:relationships=> true, :transactions=> true, :filings=>true})`
74
-
75
- `SecQuery::Entity.find("AAPL", :relationships=> true, :transactions=> true, :filings=>true)`
76
-
77
- `SecQuery::Entity.find("AAPL", :relationships=> true, :transactions=> {:start=> 0, :count=> 80}, :filings=>{:start=> 0, :count=> 80})`
78
-
79
- You may also limit either the transactions or filings by adding the :limit to the transaction or filing arguements.
80
-
81
- For example,
82
-
83
- `SecQuery::Entity.find("AAPL", :relationships=> true, :transactions=> {:start=> 0, :count=>20, :limit=> 20}, :filings=>{:start=> 0, :count=> 20, :limit=> 20})`
85
+ #### Instance Methods
84
86
 
85
- The above query will only return the last 20 transactions and filings. This is helpful when querying companies that may have thousands or tens of thousands of transactions or filings.
87
+ ##### .filings
86
88
 
87
- ## Classes
89
+ Returns a list of Sec::Filing instances for an Sec::Entity
88
90
 
89
- This gem contains four classes - Entity, Relationship, Transaction and Filing. Each Class contains the listed fields. (Everything I could parse out of the query results.)
91
+ ### Sec::Filing
90
92
 
91
- * Entity
93
+ SecQuery::Filing instance may contains the following attributes:
92
94
 
93
- `:first, :middle, :last, :name, :symbol, :cik, :url, :type, :sic, :location, :state_of_inc, :formerly, :mailing_address, :business_address, :relationships, :transactions, :filings`
95
+ * cik
96
+ * title
97
+ * symmary
98
+ * link
99
+ * term
100
+ * date
101
+ * file_id
94
102
 
95
- * Relationship
103
+ #### Class Methods
96
104
 
97
- `:name, :position, :date, :cik`
105
+ ##### .recent
98
106
 
99
- * Transaction
107
+ Find filings by a specific Date:
100
108
 
101
- `:filing_number, :code, :date, :reporting_owner, :form, :type, :modes, :shares, :price, :owned, :number, :owner_cik, :security_name, :deemed, :exercise, :nature, :derivative, :underlying_1, :exercised, :underlying_2, :expires, :underlying_3`
109
+ `SecQuery::Filing.recent(start: 0, count: 10, limit: 10)`
102
110
 
103
- * Filing
111
+ Returns the most recent filings. Use start, count and limit to iterate through recent filings.
104
112
 
105
- `:cik, :title, :summary, :link, :term, :date, :file_id`
113
+ #### Instance Methods
106
114
 
107
- Filings can are fetched a few different ways. Here are some of the supported
108
- methods:
115
+ ##### .content
109
116
 
110
- ```rb
111
- # prints the links for the most recent filings
112
- SecQuery::Filing.recent do |filing|
113
- p filing.link
114
- end
117
+ `SecQuery::Filing.recent(start: 0, count: 1, limit: 1).first.content`
115
118
 
116
- # prints all of the links for cik 0000704051 (LEGG MASON, INC.)
117
- SecQuery::Filing.for_cik('0000704051') do |filing|
118
- p filing.link
119
- end
120
- ```
119
+ Returns the actual text content of any Sec::Filing instance.
121
120
 
122
121
  ## To Whom It May Concern at the SEC
123
122
 
data/lib/sec_query.rb CHANGED
@@ -4,7 +4,6 @@
4
4
  require 'active_support/all'
5
5
  require 'addressable/uri'
6
6
  require 'open-uri'
7
- require 'net/ftp'
8
7
  require 'rest-client'
9
8
  require 'rss'
10
9
  require 'nokogiri'
@@ -13,7 +12,5 @@ require 'rubygems'
13
12
  # internal
14
13
  require 'sec_query/entity'
15
14
  require 'sec_query/filing'
16
- require 'sec_query/relationship'
17
15
  require 'sec_query/sec_uri'
18
- require 'sec_query/transaction'
19
16
  require 'sec_query/version'
@@ -15,12 +15,8 @@ module SecQuery
15
15
  end
16
16
  end
17
17
 
18
- def filings
19
- Filing.find(@cik)
20
- end
21
-
22
- def transactions
23
- Transaction.find(@cik)
18
+ def filings(args={})
19
+ Filing.find(@cik, 0, 80, args)
24
20
  end
25
21
 
26
22
  def self.query(url)
@@ -46,20 +46,11 @@ module SecQuery
46
46
  end
47
47
 
48
48
  def self.for_date(date, &blk)
49
- ftp = Net::FTP.new('ftp.sec.gov')
50
- ftp.login
51
- file_name = ftp.nlst("edgar/daily-index/#{ date.to_sec_uri_format }*")[0]
52
- ftp.close
53
- open("ftp://ftp.sec.gov/#{ file_name }") do |file|
54
- if file_name[-2..-1] == 'gz'
55
- gz_reader = Zlib::GzipReader.new(file)
56
- gz_reader.rewind
57
- filings_for_index(gz_reader).each(&blk)
58
- else
59
- filings_for_index(file).each(&blk)
60
- end
49
+ open(SecURI.for_date(date).to_s) do |file|
50
+ filings_for_index(file.read).each(&blk)
61
51
  end
62
- rescue Net::FTPTempError
52
+ rescue OpenURI::HTTPError
53
+ return
63
54
  end
64
55
 
65
56
  def self.filings_for_index(index)
@@ -134,12 +125,14 @@ module SecQuery
134
125
  end
135
126
  end
136
127
 
137
- def self.find(cik, start = 0, count = 80)
128
+ def self.find(cik, start = 0, count = 80, args={})
138
129
  temp = {}
139
130
  temp[:url] = SecURI.browse_edgar_uri({cik: cik})
140
131
  temp[:url][:action] = :getcompany
141
132
  temp[:url][:start] = start
142
133
  temp[:url][:count] = count
134
+ args.each {|k,v| temp[:url][k]=v }
135
+
143
136
  response = Entity.query(temp[:url].output_atom.to_s)
144
137
  document = Nokogiri::HTML(response)
145
138
  parse(cik, document)
@@ -25,9 +25,9 @@ module SecQuery
25
25
 
26
26
  def self.for_date(date)
27
27
  instance = SecURI.new
28
- instance.scheme = 'ftp'
29
- instance.host = 'ftp.sec.gov'
30
- instance.path = "edgar/daily-index/#{ date.to_sec_uri_format }"
28
+ instance.host = 'www.sec.gov'
29
+ instance.scheme = 'https'
30
+ instance.path = "Archives/edgar/daily-index/#{ date.to_sec_uri_format }"
31
31
  instance
32
32
  end
33
33
 
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
  # => SecQuery::VERSION
3
3
  module SecQuery
4
- VERSION = "1.2.0"
4
+ VERSION = "1.3.0"
5
5
  end
data/sec_query.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.license = 'MIT'
13
13
  s.homepage = 'https://github.com/tyrauber/sec_query'
14
14
  s.summary = 'A ruby gem for querying the United States Securities and Exchange Commission Edgar System.'
15
- s.description = 'Search for company or person, by name, symbol or Central Index Key (CIK), and retrieve relationships, transactions and filings.'
15
+ s.description = 'Search for company or person, by name, symbol or Central Index Key (CIK), and retrieve filings.'
16
16
 
17
17
  s.rubyforge_project = 'sec_query'
18
18
  s.files = `git ls-files`.split("\n")
@@ -20,12 +20,12 @@ Gem::Specification.new do |s|
20
20
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
21
21
  s.require_paths = ['lib']
22
22
 
23
- s.add_development_dependency 'rspec', '~> 3.4'
24
- s.add_development_dependency 'vcr', '~> 3.0.1'
25
- s.add_development_dependency 'webmock', '~> 1.24.6'
26
- s.add_development_dependency 'rubocop', '~> 0.40'
27
- s.add_development_dependency 'byebug', '~> 9.0.5'
28
- s.add_runtime_dependency 'rest-client', '~> 1.8'
29
- s.add_runtime_dependency 'addressable', '~> 2.3'
30
- s.add_runtime_dependency 'nokogiri', '~> 1.6'
23
+ s.add_development_dependency 'rspec', '~> 3.5'
24
+ s.add_development_dependency 'vcr', '~> 3.0'
25
+ s.add_development_dependency 'webmock', '~> 2.3'
26
+ s.add_development_dependency 'rubocop', '~> 0.47'
27
+ s.add_development_dependency 'byebug', '~> 9.0'
28
+ s.add_runtime_dependency 'rest-client', '~> 2.0'
29
+ s.add_runtime_dependency 'addressable', '~> 2.5'
30
+ s.add_runtime_dependency 'nokogiri', '~> 1.7'
31
31
  end
@@ -13,49 +13,24 @@ describe SecQuery::Filing do
13
13
  .to eq('https://www.sec.gov/cgi-bin/browse-edgar?CIK=testing&action=getcompany&company&count=100&output=atom&owner=include&start=0')
14
14
  end
15
15
 
16
- describe '::filings_for_index' do
17
- let(:index) { File.read('./spec/support/idx/test.idx') }
18
- let(:filing1) { SecQuery::Filing.filings_for_index(index).first }
16
+ describe '::for_date', vcr: { cassette_name: 'idx' } do
17
+ let(:index) { SecQuery::Filing.for_date(Date.parse('20161230')) }
19
18
 
20
19
  it 'parses all of the filings' do
21
- expect(SecQuery::Filing.filings_for_index(index).count).to eq(4628)
20
+ expect(index.count).to eq(2554)
22
21
  end
23
22
 
24
23
  it 'correctly parses out the link' do
25
- expect(filing1.link)
26
- .to eq('https://www.sec.gov/Archives/edgar/data/38723/0000038723-14-000001.txt')
24
+ expect(index.first.link)
25
+ .to match(/https:\/\/www.sec.gov\/Archives\/edgar\/data\//)
27
26
  end
28
27
 
29
28
  it 'correctly parses out the cik' do
30
- expect(filing1.cik).to eq('38723')
29
+ expect(index.first.cik).to eq('1605941')
31
30
  end
32
31
 
33
32
  it 'correctly parses out the term' do
34
- expect(filing1.term).to eq('424B3')
35
- end
36
- end
37
-
38
- describe '::for_date' do
39
- let(:filings) do
40
- [].tap do |filings|
41
- SecQuery::Filing.for_date(Date.parse('20121123')) do |f|
42
- filings << f
43
- end
44
- end
45
- end
46
-
47
- let(:filing1) { filings.first }
48
-
49
- it 'correctly parses a filing from a zipped company index' do
50
- expect(filing1.term).to eq('4')
51
- expect(filing1.cik).to eq('1551138')
52
- expect(filing1.date).to eq(Date.parse('20121123'))
53
- expect(filing1.link)
54
- .to eq('https://www.sec.gov/Archives/edgar/data/1551138/0001144204-12-064668.txt')
55
- end
56
-
57
- it 'returns nil if for_date is run on a market close day' do
58
- expect(SecQuery::Filing.for_date(Date.parse('20120101'))).to eq(nil)
33
+ expect(index.first.term).to eq('N-CSR')
59
34
  end
60
35
  end
61
36
 
@@ -86,60 +61,44 @@ describe SecQuery::Filing do
86
61
  end
87
62
 
88
63
  describe "::find" do
89
- let(:query){{
90
- name: "JOBS STEVEN P", :cik => "0001007844",
91
- relationships:[
92
- {cik: "0000320193", name: "APPLE INC"},
93
- {cik: "0001001039", name: "WALT DISNEY CO/"},
94
- {cik: "0001002114", name: "PIXAR \\CA\\"}
95
- ],
96
- transactions:[
97
- {filing_number: "0001181431-07-052839", reporting_owner: "APPLE INC", shares:120000.0},
98
- {filing_number: "0001181431-07-052839", reporting_owner: "APPLE INC", shares: 40000.0},
99
- {filing_number: "0001181431-07-052839", reporting_owner: "APPLE INC", shares: 40000.0},
100
- {filing_number: "0001181431-07-052839", reporting_owner: "APPLE INC", shares: 40000.0},
101
- {filing_number: "0001181431-06-028746", reporting_owner: "WALT DISNEY CO/", shares: 138000004.0},
102
- {filing_number: "0001356184-06-000008", reporting_owner: "PIXAR \\CA\\", shares: 60000002.0},
103
- {filing_number: "0001181431-06-019230", reporting_owner: "APPLE COMPUTER INC", shares: 4573553.0},
104
- {filing_number: "0001181431-06-028747", reporting_owner: "WALT DISNEY CO/", shares: 0.0}
105
- ],
106
- filings:[
107
- {cik: "0001007844", file_id: "0001181431-07-052839"},
108
- {cik: "0001007844", file_id: "0001356184-06-000008"},
109
- {cik: "0001007844", file_id: "0001193125-06-103741"},
110
- {cik: "0001007844", file_id: "0001181431-06-028747"},
111
- {cik: "0001007844", file_id: "0001181431-06-028746"},
112
- {cik: "0001007844", file_id: "0001181431-06-019230"},
113
- {cik: "0001007844", file_id: "0001193125-06-019727"},
114
- {cik: "0001007844", file_id: "0001104659-03-004723"}
115
- ]
116
- }}
117
-
118
- let(:entity) {SecQuery::Entity.find(query[:cik])}
119
-
120
- describe "Filings", vcr: { cassette_name: "Steve Jobs"} do
121
- it "should respond to filings" do
122
- entity.should respond_to(:filings)
123
- entity.filings.should be_kind_of(Array)
64
+ shared_examples_for "it found filings" do
65
+ it "should return an array of filings" do
66
+ filings.should be_kind_of(Array)
67
+ end
68
+
69
+ it "the filings should be valid" do
70
+ is_valid_filing?(filings.first)
124
71
  end
72
+ end
73
+
74
+ let(:cik){"0000320193"}
75
+
76
+ context "when querying by cik" do
77
+ let(:filings){ SecQuery::Filing.find(cik) }
125
78
 
126
- it "should be valid filing" do
127
- is_valid_filing?(entity.filings.first)
79
+ describe "Filings", vcr: { cassette_name: "Steve Jobs"} do
80
+ it_behaves_like "it found filings"
128
81
  end
129
82
  end
83
+
84
+ context "when querying cik and by type param" do
85
+ let(:filings){ SecQuery::Filing.find(cik, 0, 40, { type: "10-K" }) }
130
86
 
87
+ describe "Filings", vcr: { cassette_name: "Steve Jobs"} do
88
+ it_behaves_like "it found filings"
89
+
90
+ it "should only return filings of type" do
91
+ filings.first.term.should == "10-K"
92
+ end
93
+ end
94
+ end
95
+
131
96
  describe '#content', vcr: { cassette_name: 'content' } do
97
+ let(:index) { SecQuery::Filing.for_date(Date.parse('20161230')) }
98
+
132
99
  it 'returns content of the filing by requesting the link' do
133
- f = Filing.new(
134
- cik: 123,
135
- title: 'test filing title',
136
- summary: 'test filing',
137
- link: 'https://www.sec.gov/Archives/edgar/data/1572871/000114036114019536/0001140361-14-019536.txt',
138
- term: '4',
139
- date: Date.today,
140
- file_id: 1
141
- )
142
- expect(f.content).to eq(File.read('./spec/support/filings/filing.txt'))
100
+ f = Filing.new(link: index.first.link)
101
+ expect(f.content).to match(/^(<SEC-DOCUMENT>)/)
143
102
  end
144
103
  end
145
104
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sec_query
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ty Rauber
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-13 00:00:00.000000000 Z
11
+ date: 2017-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -16,114 +16,114 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.4'
19
+ version: '3.5'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.4'
26
+ version: '3.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: vcr
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 3.0.1
33
+ version: '3.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 3.0.1
40
+ version: '3.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: webmock
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.24.6
47
+ version: '2.3'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.24.6
54
+ version: '2.3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.40'
61
+ version: '0.47'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.40'
68
+ version: '0.47'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: byebug
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 9.0.5
75
+ version: '9.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 9.0.5
82
+ version: '9.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rest-client
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.8'
89
+ version: '2.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.8'
96
+ version: '2.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: addressable
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '2.3'
103
+ version: '2.5'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '2.3'
110
+ version: '2.5'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: nokogiri
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '1.6'
117
+ version: '1.7'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '1.6'
124
+ version: '1.7'
125
125
  description: Search for company or person, by name, symbol or Central Index Key (CIK),
126
- and retrieve relationships, transactions and filings.
126
+ and retrieve filings.
127
127
  email:
128
128
  - tyrauber@mac.com
129
129
  executables: []
@@ -138,18 +138,13 @@ files:
138
138
  - lib/sec_query.rb
139
139
  - lib/sec_query/entity.rb
140
140
  - lib/sec_query/filing.rb
141
- - lib/sec_query/relationship.rb
142
141
  - lib/sec_query/sec_uri.rb
143
- - lib/sec_query/transaction.rb
144
142
  - lib/sec_query/version.rb
145
143
  - sec_query.gemspec
146
144
  - spec/sec_query/entity_spec.rb
147
145
  - spec/sec_query/filing_spec.rb
148
146
  - spec/sec_query/sec_uri_spec.rb
149
- - spec/sec_query/transaction_spec.rb
150
147
  - spec/spec_helper.rb
151
- - spec/support/filings/filing.txt
152
- - spec/support/idx/test.idx
153
148
  - spec/support/vcr.rb
154
149
  homepage: https://github.com/tyrauber/sec_query
155
150
  licenses:
@@ -180,8 +175,5 @@ test_files:
180
175
  - spec/sec_query/entity_spec.rb
181
176
  - spec/sec_query/filing_spec.rb
182
177
  - spec/sec_query/sec_uri_spec.rb
183
- - spec/sec_query/transaction_spec.rb
184
178
  - spec/spec_helper.rb
185
- - spec/support/filings/filing.txt
186
- - spec/support/idx/test.idx
187
179
  - spec/support/vcr.rb