sec_query 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +2 -2
- data/README.md +1 -1
- data/lib/sec_query/entity.rb +4 -1
- data/lib/sec_query/version.rb +1 -1
- data/sec_query.gemspec +1 -0
- metadata +4 -6
- data/pkg/sec_query-0.0.1.gem +0 -0
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sec_query (
|
4
|
+
sec_query (1.0.1)
|
5
5
|
hpricot
|
6
6
|
rest-client
|
7
7
|
|
@@ -9,7 +9,7 @@ GEM
|
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
11
|
diff-lcs (1.1.3)
|
12
|
-
hpricot (0.8.
|
12
|
+
hpricot (0.8.5)
|
13
13
|
mime-types (1.17.2)
|
14
14
|
rest-client (1.6.7)
|
15
15
|
mime-types (>= 1.16)
|
data/README.md
CHANGED
data/lib/sec_query/entity.rb
CHANGED
@@ -30,7 +30,10 @@ module SecQuery
|
|
30
30
|
temp[:url] = Entity.url(entity_args)
|
31
31
|
temp[:cik] = Entity.cik(temp[:url], entity_args)
|
32
32
|
|
33
|
-
if !temp[:cik]
|
33
|
+
if !temp[:cik] or temp[:cik] == "";
|
34
|
+
puts "No Entity found for query: "+temp[:url]
|
35
|
+
return false;
|
36
|
+
end
|
34
37
|
|
35
38
|
### Get Document and Entity Type
|
36
39
|
doc = Entity.document(temp[:cik])
|
data/lib/sec_query/version.rb
CHANGED
data/sec_query.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sec_query
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ty Rauber
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-12-
|
18
|
+
date: 2011-12-04 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -82,8 +82,6 @@ files:
|
|
82
82
|
- lib/sec_query/relationship.rb
|
83
83
|
- lib/sec_query/transaction.rb
|
84
84
|
- lib/sec_query/version.rb
|
85
|
-
- pkg/sec_query-0.0.1.gem
|
86
|
-
- sec_query-1.0.0.gem
|
87
85
|
- sec_query.gemspec
|
88
86
|
- spec/sec_query_spec.rb
|
89
87
|
- spec/spec_helper.rb
|
data/pkg/sec_query-0.0.1.gem
DELETED
Binary file
|