-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
976 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: RSpec and Rubocop | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
pull_request: | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
name: RSpec and Rubocop | ||
timeout-minutes: 3 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ env.ruby_version }} | ||
bundler-cache: true | ||
- name: Run rspec | ||
run: bundle exec rspec | ||
- name: Run rubocop | ||
run: bundle exec rubocop | ||
# - name: Upload coverage directory | ||
# if: always() | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: coverage-report | ||
# path: coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/.bundle/ | ||
/.yardoc | ||
/_yardoc/ | ||
/coverage/ | ||
/doc/ | ||
/pkg/ | ||
/spec/reports/ | ||
/tmp/ | ||
|
||
/.rspec_status | ||
/.byebug_history | ||
|
||
/.idea/ | ||
/.env.*.local | ||
/.env.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--format progress | ||
--color | ||
--require spec_helper | ||
--seed 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
AllCops: | ||
TargetRubyVersion: 3.2 | ||
NewCops: enable | ||
|
||
inherit_gem: | ||
foobara-rubocop-rules: | ||
- rules/* | ||
|
||
Naming/FileName: | ||
inherit_mode: | ||
merge: | ||
- Exclude |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## [Unreleased] | ||
|
||
## [0.0.1] - 2024-11-08 | ||
|
||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
source "https://rubygems.org" | ||
ruby File.read("#{__dir__}/.ruby-version") | ||
|
||
gemspec | ||
|
||
gem "foobara-dotenv-loader" | ||
|
||
gem "rake" | ||
|
||
group :development do | ||
gem "foob" | ||
gem "foobara-rubocop-rules" | ||
gem "guard-rspec" | ||
gem "rubocop-rake" | ||
gem "rubocop-rspec" | ||
end | ||
|
||
group :development, :test do | ||
gem "pry" | ||
gem "pry-byebug" | ||
end | ||
|
||
group :test do | ||
gem "foobara-spec-helpers" | ||
gem "rspec" | ||
gem "rspec-its" | ||
gem "ruby-prof" | ||
gem "simplecov" | ||
gem "vcr" | ||
gem "webmock" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,252 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
foobara-http-api-command (0.0.1) | ||
foobara | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.8.7) | ||
public_suffix (>= 2.0.2, < 7.0) | ||
ast (2.4.2) | ||
base64 (0.2.0) | ||
bigdecimal (3.1.8) | ||
byebug (11.1.3) | ||
coderay (1.1.3) | ||
crack (1.0.0) | ||
bigdecimal | ||
rexml | ||
diff-lcs (1.5.1) | ||
docile (1.4.1) | ||
dotenv (3.1.4) | ||
extract-repo (0.0.8) | ||
foobara | ||
foobara-sh-cli-connector | ||
ffi (1.17.0) | ||
ffi (1.17.0-aarch64-linux-gnu) | ||
ffi (1.17.0-aarch64-linux-musl) | ||
ffi (1.17.0-arm-linux-gnu) | ||
ffi (1.17.0-arm-linux-musl) | ||
ffi (1.17.0-arm64-darwin) | ||
ffi (1.17.0-x86-linux-gnu) | ||
ffi (1.17.0-x86-linux-musl) | ||
ffi (1.17.0-x86_64-darwin) | ||
ffi (1.17.0-x86_64-linux-gnu) | ||
ffi (1.17.0-x86_64-linux-musl) | ||
foob (0.0.6) | ||
foobara | ||
foobara-autocrud-generator | ||
foobara-command-generator | ||
foobara-domain-generator | ||
foobara-domain-mapper-generator | ||
foobara-empty-ruby-project-generator | ||
foobara-empty-typescript-react-project-generator | ||
foobara-organization-generator | ||
foobara-rack-connector-generator | ||
foobara-redis-crud-driver-generator | ||
foobara-remote-imports-generator | ||
foobara-resque-connector-generator | ||
foobara-resque-scheduler-connector-generator | ||
foobara-sh-cli-connector | ||
foobara-sh-cli-connector-generator | ||
foobara-type-generator | ||
foobara-typescript-react-command-form-generator | ||
foobara-typescript-remote-command-generator | ||
foobara (0.0.12) | ||
foobara-util | ||
foobara-autocrud-generator (0.0.1) | ||
foobara | ||
foobara-files-generator | ||
foobara-command-generator (0.0.2) | ||
foobara | ||
foobara-files-generator | ||
foobara-domain-generator (0.0.2) | ||
foobara | ||
foobara-files-generator | ||
foobara-domain-mapper-generator (0.0.3) | ||
foobara | ||
foobara-files-generator | ||
foobara-dotenv-loader (0.0.1) | ||
dotenv | ||
foobara-empty-ruby-project-generator (0.0.8) | ||
extract-repo | ||
foobara | ||
foobara-files-generator | ||
foobara-empty-typescript-react-project-generator (0.0.3) | ||
foobara | ||
foobara-files-generator | ||
foobara-files-generator (0.0.3) | ||
foobara | ||
foobara-organization-generator (0.0.1) | ||
foobara | ||
foobara-files-generator | ||
foobara-rack-connector-generator (0.0.6) | ||
foobara | ||
foobara-files-generator | ||
foobara-redis-crud-driver-generator (0.0.2) | ||
foobara | ||
foobara-files-generator | ||
foobara-remote-imports-generator (0.0.2) | ||
foobara | ||
foobara-files-generator | ||
foobara-resque-connector-generator (0.0.1) | ||
foobara | ||
foobara-files-generator | ||
foobara-resque-scheduler-connector-generator (0.0.1) | ||
foobara | ||
foobara-files-generator | ||
foobara-rubocop-rules (0.0.4) | ||
rubocop | ||
rubocop-rspec | ||
foobara-sh-cli-connector (0.0.6) | ||
foobara | ||
foobara-sh-cli-connector-generator (0.0.2) | ||
foobara | ||
foobara-files-generator | ||
foobara-spec-helpers (0.0.3) | ||
foobara-util | ||
foobara-type-generator (0.0.3) | ||
foobara | ||
foobara-files-generator | ||
foobara-typescript-react-command-form-generator (0.0.2) | ||
foobara | ||
foobara-files-generator | ||
foobara-typescript-remote-command-generator | ||
foobara-typescript-remote-command-generator (0.0.6) | ||
foobara | ||
foobara-files-generator | ||
foobara-util (0.0.6) | ||
formatador (1.1.0) | ||
guard (2.19.0) | ||
formatador (>= 0.2.4) | ||
listen (>= 2.7, < 4.0) | ||
lumberjack (>= 1.0.12, < 2.0) | ||
nenv (~> 0.1) | ||
notiffany (~> 0.0) | ||
pry (>= 0.13.0) | ||
shellany (~> 0.0) | ||
thor (>= 0.18.1) | ||
guard-compat (1.2.1) | ||
guard-rspec (4.7.3) | ||
guard (~> 2.1) | ||
guard-compat (~> 1.1) | ||
rspec (>= 2.99.0, < 4.0) | ||
hashdiff (1.1.1) | ||
json (2.8.1) | ||
language_server-protocol (3.17.0.3) | ||
listen (3.9.0) | ||
rb-fsevent (~> 0.10, >= 0.10.3) | ||
rb-inotify (~> 0.9, >= 0.9.10) | ||
lumberjack (1.2.10) | ||
method_source (1.1.0) | ||
nenv (0.3.0) | ||
notiffany (0.1.3) | ||
nenv (~> 0.1) | ||
shellany (~> 0.0) | ||
parallel (1.26.3) | ||
parser (3.3.6.0) | ||
ast (~> 2.4.1) | ||
racc | ||
pry (0.14.2) | ||
coderay (~> 1.1) | ||
method_source (~> 1.0) | ||
pry-byebug (3.10.1) | ||
byebug (~> 11.0) | ||
pry (>= 0.13, < 0.15) | ||
public_suffix (6.0.1) | ||
racc (1.8.1) | ||
rainbow (3.1.1) | ||
rake (13.2.1) | ||
rb-fsevent (0.11.2) | ||
rb-inotify (0.11.1) | ||
ffi (~> 1.0) | ||
regexp_parser (2.9.2) | ||
rexml (3.3.9) | ||
rspec (3.13.0) | ||
rspec-core (~> 3.13.0) | ||
rspec-expectations (~> 3.13.0) | ||
rspec-mocks (~> 3.13.0) | ||
rspec-core (3.13.2) | ||
rspec-support (~> 3.13.0) | ||
rspec-expectations (3.13.3) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.13.0) | ||
rspec-its (2.0.0) | ||
rspec-core (>= 3.13.0) | ||
rspec-expectations (>= 3.13.0) | ||
rspec-mocks (3.13.2) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.13.0) | ||
rspec-support (3.13.1) | ||
rubocop (1.68.0) | ||
json (~> 2.3) | ||
language_server-protocol (>= 3.17.0) | ||
parallel (~> 1.10) | ||
parser (>= 3.3.0.2) | ||
rainbow (>= 2.2.2, < 4.0) | ||
regexp_parser (>= 2.4, < 3.0) | ||
rubocop-ast (>= 1.32.2, < 2.0) | ||
ruby-progressbar (~> 1.7) | ||
unicode-display_width (>= 2.4.0, < 3.0) | ||
rubocop-ast (1.34.1) | ||
parser (>= 3.3.1.0) | ||
rubocop-rake (0.6.0) | ||
rubocop (~> 1.0) | ||
rubocop-rspec (3.2.0) | ||
rubocop (~> 1.61) | ||
ruby-prof (1.7.1) | ||
ruby-progressbar (1.13.0) | ||
shellany (0.0.1) | ||
simplecov (0.22.0) | ||
docile (~> 1.1) | ||
simplecov-html (~> 0.11) | ||
simplecov_json_formatter (~> 0.1) | ||
simplecov-html (0.13.1) | ||
simplecov_json_formatter (0.1.4) | ||
thor (1.3.2) | ||
unicode-display_width (2.6.0) | ||
vcr (6.3.1) | ||
base64 | ||
webmock (3.24.0) | ||
addressable (>= 2.8.0) | ||
crack (>= 0.3.2) | ||
hashdiff (>= 0.4.0, < 2.0.0) | ||
|
||
PLATFORMS | ||
aarch64-linux-gnu | ||
aarch64-linux-musl | ||
arm-linux-gnu | ||
arm-linux-musl | ||
arm64-darwin | ||
ruby | ||
x86-linux-gnu | ||
x86-linux-musl | ||
x86_64-darwin | ||
x86_64-linux-gnu | ||
x86_64-linux-musl | ||
|
||
DEPENDENCIES | ||
foob | ||
foobara-dotenv-loader | ||
foobara-http-api-command! | ||
foobara-rubocop-rules | ||
foobara-spec-helpers | ||
guard-rspec | ||
pry | ||
pry-byebug | ||
rake | ||
rspec | ||
rspec-its | ||
rubocop-rake | ||
rubocop-rspec | ||
ruby-prof | ||
simplecov | ||
vcr | ||
webmock | ||
|
||
RUBY VERSION | ||
ruby 3.2.2p53 | ||
|
||
BUNDLED WITH | ||
2.5.23 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
guard :rspec, all_after_pass: true, all_on_start: true, cmd: "bundle exec rspec", failed_mode: :focus do | ||
watch(%r{^spec/(.+)_spec\.rb$}) | ||
watch(%r{^lib/(.+)\.rb$}) { "spec/" } | ||
watch(%r{^src/(.+)\.rb$}) { "spec/" } | ||
watch(%r{^spec/spec_helper.rb$}) { "spec/" } | ||
end |
Oops, something went wrong.