thirteen_f 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/thirteen_f/cusip_securities.rb +3 -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: ecb853efcae733fbe7f2619506d9a71f503e3d632f3d5d04be465db646cce1db
|
4
|
+
data.tar.gz: 3709b525566d7c93f92ca4e4cc138937147be53c8b6cc3b45e437f6fba2f7888
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a986e41fd4d06785fb0ef1a21a63ee7f99af547f6b8ad8db65128e27813261ceb426763fe80cb6f93682ef4acb017b0352915bbc4b0243fd63e43b2c02b0db0d
|
7
|
+
data.tar.gz: 1eaf85763d0b142ed78c5ced336dfa8dd135a98fc22e4750871f32c25b17c7d203c4b824f3ea2c1c679297ff823c2b3583651c265eca89f4b5c6e5978972af22
|
data/Gemfile.lock
CHANGED
@@ -48,10 +48,11 @@ class ThirteenF
|
|
48
48
|
reader.pages[2..-1].each do |page|
|
49
49
|
lines = page.text.split("\n").reject(&:empty?)[3..-1]
|
50
50
|
line_arrs = lines.map do |line|
|
51
|
-
next nil if line.include?('Total
|
52
|
-
line.split(
|
51
|
+
next nil if line.include?('Total Coun')
|
52
|
+
line.split(/\s{3}|( \* )/).reject(&:empty?).map(&:strip).reject { |text| text == '*' }
|
53
53
|
end
|
54
54
|
line_arrs.compact.each do |line_arr|
|
55
|
+
next unless line_arr.count > 1
|
55
56
|
valid_entries.push ListEntry.new(line_arr)
|
56
57
|
end
|
57
58
|
end
|
data/lib/thirteen_f/version.rb
CHANGED