sec_edgar 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sec_edgar/filing_parser.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad5da03a7860895cf07f657ebbe015753a1abf70
|
4
|
+
data.tar.gz: 445c7683f44b94ef32998cfd1bc2b70ec0cd9544
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78294bdfb64916ec70f5fa969a840bcd8516d95530c64024ee77609bb26da715bcd1571b4827f960a38e3de89405b40cfe031e9bcdeecda072507292cbc6081b
|
7
|
+
data.tar.gz: 9e8305c72d7a51a4f99721c52761f142a1bffe5da78f09d390ddb9f47e3bd05d18d81bcb8270670559c04b91705474d77f4dcb2f20755a84ce4a8abab5b26344
|
@@ -16,14 +16,14 @@ module SecEdgar
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def doc
|
19
|
-
@doc ||= OwnershipDocument.new
|
19
|
+
@doc ||= ::OwnershipDocument.new
|
20
20
|
end
|
21
21
|
|
22
22
|
def parse(&error_blk)
|
23
23
|
if block_given? && !xml_valid?
|
24
24
|
error_blk.call(xml_errors)
|
25
25
|
puts "Error: returning NilObjectDocument #{ @filing.link }"
|
26
|
-
return NilOwnershipDocument.new
|
26
|
+
return ::NilOwnershipDocument.new
|
27
27
|
end
|
28
28
|
|
29
29
|
footnotes | transactions | derivative_transactions # eager init
|
@@ -187,7 +187,7 @@ module SecEdgar
|
|
187
187
|
el.xpath('//isOfficer').text.downcase == 'true')
|
188
188
|
doc.officer_title = el.xpath('//officerTitle').text
|
189
189
|
|
190
|
-
address = Address.new
|
190
|
+
address = ::Address.new
|
191
191
|
address.street1 = el.xpath('//rptOwnerStreet1').text
|
192
192
|
address.street2 = el.xpath('//rptOwnerStreet2').text
|
193
193
|
address.city = el.xpath('//rptOwnerCity').text
|