thirteen_f 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thirteen_f/cusip_securities.rb +2 -2
- data/lib/thirteen_f/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a6ad497770ad5c038505b8deea5f223f58f5213341551d028035e29ebc3d5a0
|
4
|
+
data.tar.gz: 900a5f55b69121a9a3fd976c4cd14b5673b9fc07c0e6df9177068109c2a6b944
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae702b096434e38760783ee7d359764ab3bc287bbb91eee21ecb49c73433f80f1e19ee70bf41de43690be4d7110bec6e6022eeed1d0a093b2061f8f67cc263ab
|
7
|
+
data.tar.gz: ef7e4685e4b2840857189845f5f7fa6fb189e6af1334cd6c4e3da194a413be096bd5a6af76730abfabdc53e44b9497ae0d9a58338db5e0899c5b34b6225d0d02
|
@@ -10,7 +10,7 @@ class ThirteenF
|
|
10
10
|
BASE_URL = 'https://www.sec.gov'
|
11
11
|
|
12
12
|
def self.all_file_locations
|
13
|
-
index_url = "#{BASE_URL}/divisions/investment/13flists
|
13
|
+
index_url = "#{BASE_URL}/divisions/investment/13flists"
|
14
14
|
page = SecRequest.get index_url, response_type: :html
|
15
15
|
a_tags = page.search('a').select do |a_tag|
|
16
16
|
href = a_tag.attributes['href']&.value.to_s
|
@@ -20,7 +20,7 @@ class ThirteenF
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def self.most_recent_list
|
23
|
-
index_url = "#{BASE_URL}/divisions/investment/13flists
|
23
|
+
index_url = "#{BASE_URL}/divisions/investment/13flists"
|
24
24
|
page = SecRequest.get index_url, response_type: :html
|
25
25
|
a_tag = page.search('a').find { |a| a.text.include?('Current List') }
|
26
26
|
file_location = "#{BASE_URL + a_tag.attributes['href'].value}"
|
data/lib/thirteen_f/version.rb
CHANGED