sec_edgar_ruby 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -3
- data/Rakefile +1 -5
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/sec_edgar_ruby/version.rb +1 -1
- data/lib/sec_edgar_ruby.rb +3 -3
- data/sec_edgar_ruby.gemspec +4 -11
- data/spec/sec_edgar_ruby_spec.rb +11 -0
- data/spec/spec_helper.rb +15 -0
- metadata +9 -47
- data/.rspec +0 -3
- data/.rubocop.yml +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0b5a4e4ec058dc727c6b18bc7693f648cbf425a5ec130340bca25d03d2c14e2
|
4
|
+
data.tar.gz: 4b20aa4496d85625dc7194f63390525e8689bf65c8621fbf442b9cf49919dc66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dca2272de71d15421010d9f1e970221b3d4b01eb8d89d959236f02fee8eb121df5ce3ccd9eec87db207ed8c5febe94ca5e135ce57ea30e0a75924fab6469f91a
|
7
|
+
data.tar.gz: 6f97e6427e909b4181377f6bcae59dc5629ce6f1fd979a5ed3b4090fd33dc14ae9f56062d99a95423a0f3b1f58e4d8fe752451c39b909b9cd087196b1dc0d1ef
|
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
data/bin/console
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require "bundler/setup"
|
5
|
+
require "sec_edgar_ruby"
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
# require "pry"
|
12
|
+
# Pry.start
|
13
|
+
|
14
|
+
require "irb"
|
15
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/lib/sec_edgar_ruby.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
require 'sec_edgar_ruby/version'
|
4
|
+
require 'sec_edgar_ruby/submission'
|
5
|
+
require 'sec_edgar_ruby/util'
|
6
6
|
|
7
7
|
module SecEdgarRuby
|
8
8
|
class Error < StandardError; end
|
data/sec_edgar_ruby.gemspec
CHANGED
@@ -5,6 +5,7 @@ require_relative "lib/sec_edgar_ruby/version"
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "sec_edgar_ruby"
|
7
7
|
spec.version = SecEdgarRuby::VERSION
|
8
|
+
spec.platform = Gem::Platform::RUBY
|
8
9
|
spec.authors = ["Nhan Nguyen"]
|
9
10
|
spec.email = ["nnhansg@gmail.com"]
|
10
11
|
|
@@ -24,18 +25,10 @@ Gem::Specification.new do |spec|
|
|
24
25
|
spec.add_dependency 'faraday'
|
25
26
|
spec.add_dependency 'json'
|
26
27
|
|
27
|
-
spec.add_development_dependency 'bundler'
|
28
|
-
spec.add_development_dependency 'rake'
|
29
|
-
spec.add_development_dependency 'rubocop'
|
30
28
|
spec.add_development_dependency 'rspec'
|
31
29
|
|
32
|
-
spec.files
|
33
|
-
`
|
34
|
-
|
35
|
-
end
|
36
|
-
end
|
37
|
-
|
38
|
-
spec.bindir = "exe"
|
39
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
30
|
+
spec.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
31
|
+
spec.test_files = `find spec/*`.split("\n")
|
32
|
+
spec.executables = []
|
40
33
|
spec.require_paths = ["lib"]
|
41
34
|
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "sec_edgar_ruby"
|
4
|
+
|
5
|
+
RSpec.configure do |config|
|
6
|
+
# Enable flags like --only-failures and --next-failure
|
7
|
+
config.example_status_persistence_file_path = ".rspec_status"
|
8
|
+
|
9
|
+
# Disable RSpec exposing methods globally on `Module` and `main`
|
10
|
+
config.disable_monkey_patching!
|
11
|
+
|
12
|
+
config.expect_with :rspec do |c|
|
13
|
+
c.syntax = :expect
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sec_edgar_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nhan Nguyen
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2022-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
@@ -52,48 +52,6 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: bundler
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rake
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rubocop
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
55
|
- !ruby/object:Gem::Dependency
|
98
56
|
name: rspec
|
99
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,8 +73,6 @@ executables: []
|
|
115
73
|
extensions: []
|
116
74
|
extra_rdoc_files: []
|
117
75
|
files:
|
118
|
-
- ".rspec"
|
119
|
-
- ".rubocop.yml"
|
120
76
|
- CHANGELOG.md
|
121
77
|
- CODE_OF_CONDUCT.md
|
122
78
|
- Gemfile
|
@@ -124,12 +80,16 @@ files:
|
|
124
80
|
- LICENSE.txt
|
125
81
|
- README.md
|
126
82
|
- Rakefile
|
83
|
+
- bin/console
|
84
|
+
- bin/setup
|
127
85
|
- lib/sec_edgar_ruby.rb
|
128
86
|
- lib/sec_edgar_ruby/submission.rb
|
129
87
|
- lib/sec_edgar_ruby/util.rb
|
130
88
|
- lib/sec_edgar_ruby/version.rb
|
131
89
|
- sec_edgar_ruby.gemspec
|
132
90
|
- sig/sec_edgar_ruby.rbs
|
91
|
+
- spec/sec_edgar_ruby_spec.rb
|
92
|
+
- spec/spec_helper.rb
|
133
93
|
homepage: http://www.nhansg.com
|
134
94
|
licenses:
|
135
95
|
- MIT
|
@@ -156,4 +116,6 @@ rubygems_version: 3.3.10
|
|
156
116
|
signing_key:
|
157
117
|
specification_version: 4
|
158
118
|
summary: A Ruby Client for the SEC EDGAR API from sec.gov
|
159
|
-
test_files:
|
119
|
+
test_files:
|
120
|
+
- spec/sec_edgar_ruby_spec.rb
|
121
|
+
- spec/spec_helper.rb
|
data/.rspec
DELETED
data/.rubocop.yml
DELETED