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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3a40eab08736af1a486c47ce2f35c8965dcb2e95cf2aa684b4453009ef6d5af
4
- data.tar.gz: '04278b8b106b4a1c80cf455041d6f3dc6be450d2e84a173a27aa0da8bd4ce482'
3
+ metadata.gz: e0b5a4e4ec058dc727c6b18bc7693f648cbf425a5ec130340bca25d03d2c14e2
4
+ data.tar.gz: 4b20aa4496d85625dc7194f63390525e8689bf65c8621fbf442b9cf49919dc66
5
5
  SHA512:
6
- metadata.gz: 35a70623a542e14bdaa63ee519714747c5b94617a8396f8a140fee4ae2295d3460cb83e3c18949d074a87203b0fe51f2600f2d6b7990453065b0f0af9a852f65
7
- data.tar.gz: da279d64e50b7081049d8ca91bba545e8276f4cd96a0a6724f02995b460fbef1a6179fecb69822990c1950a647aa333fdc9ca73c422cc5ab45c815fb59720123
6
+ metadata.gz: dca2272de71d15421010d9f1e970221b3d4b01eb8d89d959236f02fee8eb121df5ce3ccd9eec87db207ed8c5febe94ca5e135ce57ea30e0a75924fab6469f91a
7
+ data.tar.gz: 6f97e6427e909b4181377f6bcae59dc5629ce6f1fd979a5ed3b4090fd33dc14ae9f56062d99a95423a0f3b1f58e4d8fe752451c39b909b9cd087196b1dc0d1ef
data/CHANGELOG.md CHANGED
@@ -1,7 +1,9 @@
1
- ## [Unreleased]
2
-
3
- - Unreleased
1
+ # [CHANGLOG]
4
2
 
5
3
  ## [0.1.0] - 2022-07-19
6
4
 
7
5
  - Initial release
6
+
7
+ ## [0.1.1] - 2022-07-20
8
+
9
+ - Update some small issues.
data/Rakefile CHANGED
@@ -5,8 +5,4 @@ require "rspec/core/rake_task"
5
5
 
6
6
  RSpec::Core::RakeTask.new(:spec)
7
7
 
8
- require "rubocop/rake_task"
9
-
10
- RuboCop::RakeTask.new
11
-
12
- task default: %i[spec rubocop]
8
+ task default: %i[spec]
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
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SecEdgarRuby
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "sec_edgar_ruby/version"
4
- require_relative "sec_edgar_ruby/submission"
5
- require_relative "sec_edgar_ruby/util"
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
@@ -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 = Dir.chdir(File.expand_path(__dir__)) do
33
- `git ls-files -z`.split("\x0").reject do |f|
34
- (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
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
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ RSpec.describe SecEdgarRuby do
4
+ it "has a version number" do
5
+ expect(SecEdgarRuby::VERSION).not_to be nil
6
+ end
7
+
8
+ it "does something useful" do
9
+ expect(false).to eq(true)
10
+ end
11
+ end
@@ -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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nhan Nguyen
8
8
  autorequire:
9
- bindir: exe
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
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
data/.rubocop.yml DELETED
@@ -1,13 +0,0 @@
1
- AllCops:
2
- TargetRubyVersion: 2.5
3
-
4
- Style/StringLiterals:
5
- Enabled: true
6
- EnforcedStyle: double_quotes
7
-
8
- Style/StringLiteralsInInterpolation:
9
- Enabled: true
10
- EnforcedStyle: double_quotes
11
-
12
- Layout/LineLength:
13
- Max: 120