thirteen_f 0.2.3 → 0.2.4

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
  SHA256:
3
- metadata.gz: 723633835bbcf3afba710931240c94ddd6683274be9b465f10061e4af7158a3e
4
- data.tar.gz: e31c7cf1f0f7fad8ce2cb48d5db87b63e9773d8670a8b52b6f0df1f2b96e9a88
3
+ metadata.gz: 7fd0ce8339b871674652421c7027d64d472fc1bc93c04bd4945b098425ad75fa
4
+ data.tar.gz: 21e0f9165941af507b4816420bbaf5e12e10acd4079d8dccc5a16664d258f469
5
5
  SHA512:
6
- metadata.gz: ceebea3dc069849b4c53c5a4924bb5360fcdad14e4f2aae52face8839af9760f24750416d3ffc5457ca7723196c0da3ca5266f8ce372dd2bbd650744c7c17cf4
7
- data.tar.gz: 2f0fe8d79ad99e6143d09b327f5faaa700f7e553c96a7aeb84963eb236f427373b0e64230b82ab939d826cc4fa6e2e24bde6e1d5deebdd1975b0fa51e2a46c5d
6
+ metadata.gz: 30f99ce92ff3fff27ea54ed8da8d18d1007d6cf19ee016b1ee03ddf7a1b3bd749f40a245bdab4713f96e5aaed92a48b9930aceeb4b402992bf98d11fd1790e9a
7
+ data.tar.gz: 188746a7c35359d60e801fb6643cee73f3a7d008289895ca79f2b3fd9495c195820fa693b40eca1582f4a70f98ddfc6753dab599bdb4db8ff601c1f356f67dde
data/README.md CHANGED
@@ -46,9 +46,13 @@ search.companies
46
46
  ### Companies
47
47
 
48
48
  ```ruby
49
+ cik_number = '0001061768'
50
+ company = Company.from_cik cik_number
51
+
49
52
  company = search.companies.first
50
53
  company.get_filings # grabs 10 13F filings by default which is the minimum
51
54
  company.get_filings(count: 20) # can supply an optional count keyword arg to get more filings
55
+ company.most_recent_filing
52
56
  company.get_most_recent_holdings
53
57
  company.most_recent_holdings # returns positions from the most recent 13F filing
54
58
 
@@ -2,7 +2,6 @@
2
2
 
3
3
  require 'http'
4
4
  require 'nokogiri'
5
- require 'pry'
6
5
 
7
6
  class ThirteenF
8
7
  class Search
@@ -1,3 +1,3 @@
1
1
  class ThirteenF
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thirteen_f
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - fordfischer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-30 00:00:00.000000000 Z
11
+ date: 2020-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest