sec_edgar 0.0.5 → 0.0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 85cf644ec6b5c471d2df29fee635a84806e36cea
4
- data.tar.gz: 61fb516ea79590011fa911e469625144527c218c
3
+ metadata.gz: ad5da03a7860895cf07f657ebbe015753a1abf70
4
+ data.tar.gz: 445c7683f44b94ef32998cfd1bc2b70ec0cd9544
5
5
  SHA512:
6
- metadata.gz: 8d3ba2d0089a7a3643526965bfd63c833f4a1c87f07aacc65cf9fbc37dad45ae2ca26f46c604b4c6d447ad65ef3f0f6aeaa5d6966c8d40956fb0b16bfcedeab3
7
- data.tar.gz: 1a4311cbd7070caa2a4144a45a89e65f276e2a2acaad37e01b7d09723319ca0772adb746d6aaa6e65ac2f624e5cd8d1bac8598eaf1c443db12b1e6185574846a
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sec_edgar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - CJ Avilla