cik 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cik.gemspec +1 -1
- data/lib/cik/version.rb +1 -1
- data/spec/spec_helper.rb +4 -20
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0475eac94890239ce59c5c5c1dcee2fc71749c93
|
4
|
+
data.tar.gz: 39ffb294a6195239f4beb261729c8c4895acfde9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d24f4716d73346c15ed19993f987aaae26e78f1b49dfbe35fc278d2519d8f6e6de4779020dc9a9055fc8ab13451a5da95d40c26ce94e767d7831f8dd1e11537
|
7
|
+
data.tar.gz: 1e7fa9cadb644c4f3ec116bcabe2cc6f0ee5abe20571aea0af9062371ef9c6ff5e98a2a3d53d80358795e8013837a01432be15386be19d0f9b954997e39d9853
|
data/cik.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["javier@javiervidal.net"]
|
11
11
|
spec.summary = 'CIK lookup in EDGAR database'
|
12
12
|
spec.description = 'CIK lookup in EDGAR database'
|
13
|
-
spec.homepage = ""
|
13
|
+
spec.homepage = "https://github.com/javiervidal/cik"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
data/lib/cik/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,29 +1,14 @@
|
|
1
1
|
require 'simplecov'
|
2
|
-
SimpleCov.start
|
3
|
-
|
4
2
|
require 'coveralls'
|
5
|
-
Coveralls.wear!
|
6
3
|
|
4
|
+
SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
|
5
|
+
|
6
|
+
SimpleCov.start
|
7
7
|
|
8
8
|
require 'cik'
|
9
9
|
require 'webmock/rspec'
|
10
10
|
|
11
|
-
# This file was generated by the `rspec --init` command. Conventionally, all
|
12
|
-
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
13
|
-
# Require this file using `require "spec_helper"` to ensure that it is only
|
14
|
-
# loaded once.
|
15
|
-
#
|
16
|
-
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
17
11
|
RSpec.configure do |config|
|
18
|
-
config.run_all_when_everything_filtered = true
|
19
|
-
config.filter_run :focus
|
20
|
-
|
21
|
-
# Run specs in random order to surface order dependencies. If you find an
|
22
|
-
# order dependency and want to debug it, you can fix the order by providing
|
23
|
-
# the seed, which is printed after each run.
|
24
|
-
# --seed 1234
|
25
|
-
config.order = 'random'
|
26
|
-
|
27
12
|
config.before(:each) do
|
28
13
|
stub_request(:get, "http://www.sec.gov/cgi-bin/browse-edgar?CIK=CSCO&action=getcompany").
|
29
14
|
with(:headers => {'Accept' => '*/*'}).
|
@@ -32,7 +17,6 @@ RSpec.configure do |config|
|
|
32
17
|
with(:headers => {'Accept' => '*/*'}).
|
33
18
|
to_return(:status => 200, :body => "", :headers => {})
|
34
19
|
end
|
35
|
-
|
36
20
|
end
|
37
21
|
|
38
22
|
def fixture_path
|
@@ -41,4 +25,4 @@ end
|
|
41
25
|
|
42
26
|
def fixture(file)
|
43
27
|
File.new(fixture_path + '/' + file)
|
44
|
-
end
|
28
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cik
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Vidal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -143,7 +143,7 @@ files:
|
|
143
143
|
- spec/cik/cik_spec.rb
|
144
144
|
- spec/fixtures/csco.html
|
145
145
|
- spec/spec_helper.rb
|
146
|
-
homepage:
|
146
|
+
homepage: https://github.com/javiervidal/cik
|
147
147
|
licenses:
|
148
148
|
- MIT
|
149
149
|
metadata: {}
|