-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Drop Dip - Drop Appraisals
- Loading branch information
Showing
24 changed files
with
197 additions
and
136 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,47 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
rspec: | ||
runs-on: ubuntu-latest | ||
env: | ||
BUNDLE_JOBS: 4 | ||
BUNDLE_RETRY: 3 | ||
BUNDLE_GEMFILE: ${{ matrix.gemfile }} | ||
CI: true | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: ["3.2"] | ||
gemfile: [ | ||
"gemfiles/rails71.gemfile", | ||
] | ||
include: | ||
- ruby: "3.4" | ||
gemfile: "gemfiles/railsmaster.gemfile" | ||
- ruby: "3.3" | ||
gemfile: "gemfiles/rails8.gemfile" | ||
- ruby: "3.1" | ||
gemfile: "gemfiles/rails7.gemfile" | ||
- ruby: "3.0" | ||
gemfile: "gemfiles/rails7.gemfile" | ||
- ruby: "2.7" | ||
gemfile: "gemfiles/rails6.gemfile" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install system deps | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libsqlite3-dev | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
- name: Run RSpec | ||
run: | | ||
bundle exec rspec |
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,22 @@ | ||
name: Lint Ruby | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
rubocop: | ||
runs-on: ubuntu-latest | ||
env: | ||
BUNDLE_GEMFILE: gemfiles/rubocop.gemfile | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.2 | ||
bundler-cache: true | ||
- name: Lint Ruby code with RuboCop | ||
run: | | ||
bundle exec rubocop |
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 |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
/_yardoc/ | ||
/coverage/ | ||
/doc/ | ||
/gemfiles/ | ||
/pkg/ | ||
/spec/reports/ | ||
tmp/ | ||
|
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 @@ | ||
inherit_from: ".rubocop.yml" | ||
|
||
require: | ||
- rubocop-md | ||
|
||
AllCops: | ||
Include: | ||
- '**/*.md' | ||
|
||
Naming/FileName: | ||
Exclude: | ||
- '**/*.md' |
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,15 +1,25 @@ | ||
require: standard | ||
require: | ||
- standard/cop/block_single_line_braces | ||
|
||
inherit_gem: | ||
standard: config/base.yml | ||
|
||
AllCops: | ||
TargetRubyVersion: 2.6 | ||
Exclude: | ||
- 'gemfiles/*' | ||
- 'bin/*' | ||
- 'tmp/**/*' | ||
- 'Gemfile' | ||
- 'vendor/**/*' | ||
- 'gemfiles/**/*' | ||
- 'lib/.rbnext/**/*' | ||
- 'lib/generators/**/templates/*.rb' | ||
- 'spec/internal/db/**/*' | ||
DisplayCopNames: true | ||
SuggestExtensions: false | ||
NewCops: disable | ||
|
||
Standard/BlockSingleLineBraces: | ||
Enabled: false | ||
|
||
Style/FrozenStringLiteralComment: | ||
Enabled: true |
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
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
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,3 +1,27 @@ | ||
# frozen_string_literal: true | ||
|
||
require "bundler/gem_tasks" | ||
require "rake/testtask" | ||
require "rspec/core/rake_task" | ||
|
||
RSpec::Core::RakeTask.new(:spec) | ||
|
||
begin | ||
require "rubocop/rake_task" | ||
RuboCop::RakeTask.new | ||
|
||
RuboCop::RakeTask.new("rubocop:md") do |task| | ||
task.options << %w[-c .rubocop-md.yml] | ||
end | ||
rescue LoadError | ||
task(:rubocop) {} | ||
task("rubocop:md") {} | ||
end | ||
|
||
Rake::TestTask.new(:test) do |t| | ||
t.libs << "test" | ||
t.libs << "lib" | ||
t.test_files = FileList["test/**/*_test.rb"] | ||
t.warning = false | ||
end | ||
|
||
task default: %w[rubocop rubocop:md spec 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
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 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'sqlite3', '~> 1.4.0' | ||
gem 'rails', '~> 6.0' | ||
|
||
gemspec path: '..' |
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 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'sqlite3', '~> 1.4' | ||
gem 'rails', '~> 7.0.0' | ||
|
||
gemspec path: '..' |
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 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'sqlite3', '~> 1.4' | ||
gem 'rails', '~> 7.1.0' | ||
|
||
gemspec path: '..' |
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 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'sqlite3', '~> 2.0' | ||
gem 'rails', '~> 8.0' | ||
|
||
gemspec path: '..' |
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,7 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'sqlite3', '~> 2.0' | ||
gem 'rails', github: 'rails/rails' | ||
gem 'activerecord-import', github: 'zdennis/activerecord-import' | ||
|
||
gemspec path: '..' |
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,7 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'sqlite3', '~> 1.4' | ||
gem 'rails', '~> 7.0' | ||
gem 'rails_event_store', github: 'RailsEventStore/rails_event_store' | ||
|
||
gemspec path: '..' |
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 @@ | ||
source "https://rubygems.org" do | ||
gem "rubocop-md", "~> 1.0" | ||
gem "standard", "~> 1.0" | ||
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
Oops, something went wrong.