forked from excid3/prefixed_ids
-
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
93 changed files
with
2,002 additions
and
211 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,43 @@ | ||
name: Tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- '*' | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
sqlite: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
ruby: [ '2.6', '2.7', '3.0'] | ||
gemfile: | ||
- rails_6 | ||
- rails_6_1 | ||
- rails_master | ||
env: | ||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile | ||
BUNDLE_PATH_RELATIVE_TO_CWD: true | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler: default | ||
bundler-cache: true | ||
|
||
- name: StandardRb check | ||
run: bundle exec standardrb | ||
|
||
- name: Run tests | ||
env: | ||
DATABASE_URL: "sqlite3:noticed_test" | ||
RAILS_ENV: test | ||
run: | | ||
bundle exec rails db:test:prepare | ||
bundle exec rails test |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
/.bundle/ | ||
/.yardoc | ||
/_yardoc/ | ||
/coverage/ | ||
/doc/ | ||
/log/*.log | ||
/pkg/ | ||
/spec/reports/ | ||
/tmp/ | ||
/test/dummy/db/*.sqlite3 | ||
/test/dummy/db/*.sqlite3-* | ||
/test/dummy/log/*.log | ||
/test/dummy/storage/ | ||
/test/dummy/tmp/ | ||
.byebug_history |
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,11 @@ | ||
appraise "rails-6" do | ||
gem "rails", "~> 6.0.0" | ||
end | ||
|
||
appraise "rails-6-1" do | ||
gem "rails", "~> 6.1.0" | ||
end | ||
|
||
appraise "rails-master" do | ||
gem "rails", github: "rails/rails", branch: "main" | ||
end |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | ||
|
||
# Specify your gem's dependencies in prefixed_ids.gemspec | ||
# Specify your gem's dependencies in prefixed_ids.gemspec. | ||
gemspec | ||
|
||
gem "rake", "~> 13.0" | ||
group :development do | ||
gem "sqlite3" | ||
end | ||
|
||
gem "minitest", "~> 5.0" | ||
# To use a debugger | ||
# gem 'byebug', group: [:development, :test] |
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,180 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
prefixed_ids (0.1.0) | ||
rails (>= 6.0.0) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actioncable (6.1.1) | ||
actionpack (= 6.1.1) | ||
activesupport (= 6.1.1) | ||
nio4r (~> 2.0) | ||
websocket-driver (>= 0.6.1) | ||
actionmailbox (6.1.1) | ||
actionpack (= 6.1.1) | ||
activejob (= 6.1.1) | ||
activerecord (= 6.1.1) | ||
activestorage (= 6.1.1) | ||
activesupport (= 6.1.1) | ||
mail (>= 2.7.1) | ||
actionmailer (6.1.1) | ||
actionpack (= 6.1.1) | ||
actionview (= 6.1.1) | ||
activejob (= 6.1.1) | ||
activesupport (= 6.1.1) | ||
mail (~> 2.5, >= 2.5.4) | ||
rails-dom-testing (~> 2.0) | ||
actionpack (6.1.1) | ||
actionview (= 6.1.1) | ||
activesupport (= 6.1.1) | ||
rack (~> 2.0, >= 2.0.9) | ||
rack-test (>= 0.6.3) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.0, >= 1.2.0) | ||
actiontext (6.1.1) | ||
actionpack (= 6.1.1) | ||
activerecord (= 6.1.1) | ||
activestorage (= 6.1.1) | ||
activesupport (= 6.1.1) | ||
nokogiri (>= 1.8.5) | ||
actionview (6.1.1) | ||
activesupport (= 6.1.1) | ||
builder (~> 3.1) | ||
erubi (~> 1.4) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.1, >= 1.2.0) | ||
activejob (6.1.1) | ||
activesupport (= 6.1.1) | ||
globalid (>= 0.3.6) | ||
activemodel (6.1.1) | ||
activesupport (= 6.1.1) | ||
activerecord (6.1.1) | ||
activemodel (= 6.1.1) | ||
activesupport (= 6.1.1) | ||
activestorage (6.1.1) | ||
actionpack (= 6.1.1) | ||
activejob (= 6.1.1) | ||
activerecord (= 6.1.1) | ||
activesupport (= 6.1.1) | ||
marcel (~> 0.3.1) | ||
mimemagic (~> 0.3.2) | ||
activesupport (6.1.1) | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
i18n (>= 1.6, < 2) | ||
minitest (>= 5.1) | ||
tzinfo (~> 2.0) | ||
zeitwerk (~> 2.3) | ||
appraisal (2.3.0) | ||
bundler | ||
rake | ||
thor (>= 0.14.0) | ||
ast (2.4.2) | ||
builder (3.2.4) | ||
concurrent-ruby (1.1.8) | ||
crass (1.0.6) | ||
erubi (1.10.0) | ||
globalid (0.4.2) | ||
activesupport (>= 4.2.0) | ||
i18n (1.8.8) | ||
concurrent-ruby (~> 1.0) | ||
loofah (2.9.0) | ||
crass (~> 1.0.2) | ||
nokogiri (>= 1.5.9) | ||
mail (2.7.1) | ||
mini_mime (>= 0.1.1) | ||
marcel (0.3.3) | ||
mimemagic (~> 0.3.2) | ||
method_source (1.0.0) | ||
mimemagic (0.3.5) | ||
mini_mime (1.0.2) | ||
minitest (5.14.3) | ||
nio4r (2.5.5) | ||
nokogiri (1.11.1-x86_64-darwin) | ||
racc (~> 1.4) | ||
parallel (1.20.1) | ||
parser (3.0.0.0) | ||
ast (~> 2.4.1) | ||
racc (1.5.2) | ||
rack (2.2.3) | ||
rack-test (1.1.0) | ||
rack (>= 1.0, < 3) | ||
rails (6.1.1) | ||
actioncable (= 6.1.1) | ||
actionmailbox (= 6.1.1) | ||
actionmailer (= 6.1.1) | ||
actionpack (= 6.1.1) | ||
actiontext (= 6.1.1) | ||
actionview (= 6.1.1) | ||
activejob (= 6.1.1) | ||
activemodel (= 6.1.1) | ||
activerecord (= 6.1.1) | ||
activestorage (= 6.1.1) | ||
activesupport (= 6.1.1) | ||
bundler (>= 1.15.0) | ||
railties (= 6.1.1) | ||
sprockets-rails (>= 2.0.0) | ||
rails-dom-testing (2.0.3) | ||
activesupport (>= 4.2.0) | ||
nokogiri (>= 1.6) | ||
rails-html-sanitizer (1.3.0) | ||
loofah (~> 2.3) | ||
railties (6.1.1) | ||
actionpack (= 6.1.1) | ||
activesupport (= 6.1.1) | ||
method_source | ||
rake (>= 0.8.7) | ||
thor (~> 1.0) | ||
rainbow (3.0.0) | ||
rake (13.0.3) | ||
regexp_parser (2.0.3) | ||
rexml (3.2.4) | ||
rubocop (1.10.0) | ||
parallel (~> 1.10) | ||
parser (>= 3.0.0.0) | ||
rainbow (>= 2.2.2, < 4.0) | ||
regexp_parser (>= 1.8, < 3.0) | ||
rexml | ||
rubocop-ast (>= 1.2.0, < 2.0) | ||
ruby-progressbar (~> 1.7) | ||
unicode-display_width (>= 1.4.0, < 3.0) | ||
rubocop-ast (1.4.1) | ||
parser (>= 2.7.1.5) | ||
rubocop-performance (1.9.2) | ||
rubocop (>= 0.90.0, < 2.0) | ||
rubocop-ast (>= 0.4.0) | ||
ruby-progressbar (1.11.0) | ||
sprockets (4.0.2) | ||
concurrent-ruby (~> 1.0) | ||
rack (> 1, < 3) | ||
sprockets-rails (3.2.2) | ||
actionpack (>= 4.0) | ||
activesupport (>= 4.0) | ||
sprockets (>= 3.0.0) | ||
sqlite3 (1.4.2) | ||
standard (0.13.0) | ||
rubocop (= 1.10.0) | ||
rubocop-performance (= 1.9.2) | ||
standardrb (1.0.0) | ||
standard | ||
thor (1.1.0) | ||
tzinfo (2.0.4) | ||
concurrent-ruby (~> 1.0) | ||
unicode-display_width (2.0.0) | ||
websocket-driver (0.7.3) | ||
websocket-extensions (>= 0.1.0) | ||
websocket-extensions (0.1.5) | ||
zeitwerk (2.4.2) | ||
|
||
PLATFORMS | ||
x86_64-darwin-20 | ||
|
||
DEPENDENCIES | ||
appraisal | ||
prefixed_ids! | ||
sqlite3 | ||
standardrb | ||
|
||
BUNDLED WITH | ||
2.2.3 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.