Skip to content

Commit

Permalink
Merge abfdbf5 into 00aa932
Browse files Browse the repository at this point in the history
  • Loading branch information
eudoxa committed Nov 29, 2022
2 parents 00aa932 + abfdbf5 commit 5c89a41
Show file tree
Hide file tree
Showing 33 changed files with 1,454 additions and 119 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/master_and_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: master & PR
on:
pull_request:
push:
branches:
- master
jobs:
spec:
runs-on: ubuntu-latest
strategy:
matrix:
rails_version:
- "5.0"
- "5.1"
- "5.2"
- "6.0"
- "6.1"
ruby_version:
- "2.7"
- "3.1"
autoloader:
- "zeitwerk"
- "classic"
eager_load:
- "true"
- "false"
exclude:
- rails_version: "5.0"
ruby_version: "3.1"
- rails_version: "5.1"
ruby_version: "3.1"
- rails_version: "5.2"
ruby_version: "3.1"
- rails_version: "5.0"
autoloader: "zeitwerk"
- rails_version: "5.1"
autoloader: "zeitwerk"
- rails_version: "5.2"
autoloader: "zeitwerk"
- rails_version: "5.0"
autoloader: "classic"
- rails_version: "5.1"
autoloader: "classic"
- rails_version: "5.2"
autoloader: "classic"
name: Test on Rails ${{ matrix.rails_version }} & Ruby ${{ matrix.ruby_version }} & Autoloader ${{ matrix.autoloader }} & EagerLoad ${{ matrix.eager_load }}
env:
BUNDLE_GEMFILE: gemfiles/Gemfile_rails_${{ matrix.rails_version }}.rb
CI: true
EAGER_LOAD: ${{ matrix.eager_load }}
AUTOLOADER : ${{ matrix.autoloader }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: rspec
run: bundle exec rspec
- name: Coveralls
if: matrix.rails_version == '6.1' && matrix.ruby_version == '3.1'
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

7 changes: 0 additions & 7 deletions Gemfile

This file was deleted.

8 changes: 8 additions & 0 deletions bin/setup
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
set -vx

for path in gemfiles/Gemfile_*.rb; do
BUNDLE_GEMFILE="${path}" bundle install
done
7 changes: 7 additions & 0 deletions bin/test
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
set -euo pipefail
IFS=$'\n\t'
set -vx

for path in gemfiles/Gemfile_*.rb; do
BUNDLE_GEMFILE="${path}" bundle exec rspec
done
4 changes: 3 additions & 1 deletion chanko.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ Gem::Specification.new do |gem|

gem.add_dependency "rails", ">= 4.0.0"
gem.add_development_dependency "coffee-rails", ">= 3.0.10"
gem.add_development_dependency "coveralls"
gem.add_development_dependency "jquery-rails"
gem.add_development_dependency "pry"
gem.add_development_dependency "rspec-rails", ">= 3.0.0"
gem.add_development_dependency "sass-rails", ">= 3.0.10"
gem.add_development_dependency "simplecov"
gem.add_development_dependency 'simplecov-lcov'
gem.add_development_dependency "slim"
gem.add_development_dependency "sqlite3"
gem.add_development_dependency "thin"
gem.add_development_dependency "uglifier"
gem.add_development_dependency "byebug"
gem.add_development_dependency "pry-rails"
end
6 changes: 6 additions & 0 deletions gemfiles/Gemfile_rails_5.0.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source "https://rubygems.org"

gemspec path: '..'

gem 'rails', '~> 5.0.0'
gem 'sqlite3', '~> 1.3.6'
203 changes: 203 additions & 0 deletions gemfiles/Gemfile_rails_5.0.rb.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
PATH
remote: ..
specs:
chanko (2.2.1)
rails (>= 4.0.0)

GEM
remote: https://rubygems.org/
specs:
actioncable (5.0.7.2)
actionpack (= 5.0.7.2)
nio4r (>= 1.2, < 3.0)
websocket-driver (~> 0.6.1)
actionmailer (5.0.7.2)
actionpack (= 5.0.7.2)
actionview (= 5.0.7.2)
activejob (= 5.0.7.2)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.0.7.2)
actionview (= 5.0.7.2)
activesupport (= 5.0.7.2)
rack (~> 2.0)
rack-test (~> 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.0.7.2)
activesupport (= 5.0.7.2)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.0.7.2)
activesupport (= 5.0.7.2)
globalid (>= 0.3.6)
activemodel (5.0.7.2)
activesupport (= 5.0.7.2)
activerecord (5.0.7.2)
activemodel (= 5.0.7.2)
activesupport (= 5.0.7.2)
arel (~> 7.0)
activesupport (5.0.7.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
arel (7.1.4)
builder (3.2.4)
byebug (11.1.3)
coderay (1.1.3)
coffee-rails (4.2.2)
coffee-script (>= 2.2.0)
railties (>= 4.0.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.1.10)
crass (1.0.6)
daemons (1.4.1)
diff-lcs (1.5.0)
docile (1.4.0)
erubis (2.7.0)
eventmachine (1.2.7)
execjs (2.8.1)
ffi (1.15.5)
globalid (1.0.0)
activesupport (>= 5.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
jquery-rails (4.5.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
loofah (2.19.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
method_source (1.0.0)
mini_mime (1.1.2)
mini_portile2 (2.8.0)
minitest (5.16.3)
nio4r (2.5.8)
nokogiri (1.13.9)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
pry (0.14.1)
coderay (~> 1.1)
method_source (~> 1.0)
pry-rails (0.3.9)
pry (>= 0.10.4)
racc (1.6.0)
rack (2.2.4)
rack-test (0.6.3)
rack (>= 1.0)
rails (5.0.7.2)
actioncable (= 5.0.7.2)
actionmailer (= 5.0.7.2)
actionpack (= 5.0.7.2)
actionview (= 5.0.7.2)
activejob (= 5.0.7.2)
activemodel (= 5.0.7.2)
activerecord (= 5.0.7.2)
activesupport (= 5.0.7.2)
bundler (>= 1.3.0)
railties (= 5.0.7.2)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.4.3)
loofah (~> 2.3)
railties (5.0.7.2)
actionpack (= 5.0.7.2)
activesupport (= 5.0.7.2)
method_source
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (13.0.6)
rspec-core (3.12.0)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-rails (4.1.2)
actionpack (>= 4.2)
activesupport (>= 4.2)
railties (>= 4.2)
rspec-core (~> 3.10)
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.12.0)
sass-rails (6.0.0)
sassc-rails (~> 2.1, >= 2.1.1)
sassc (2.4.0)
ffi (~> 1.9)
sassc-rails (2.1.2)
railties (>= 4.0.0)
sassc (>= 2.0)
sprockets (> 3.0)
sprockets-rails
tilt
simplecov (0.21.2)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov-lcov (0.8.0)
simplecov_json_formatter (0.1.4)
slim (4.1.0)
temple (>= 0.7.6, < 0.9)
tilt (>= 2.0.6, < 2.1)
sprockets (4.1.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.2)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.13)
temple (0.8.2)
thin (1.8.1)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
thor (1.2.1)
thread_safe (0.3.6)
tilt (2.0.11)
tzinfo (1.2.10)
thread_safe (~> 0.1)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)

PLATFORMS
ruby

DEPENDENCIES
byebug
chanko!
coffee-rails (>= 3.0.10)
jquery-rails
pry
pry-rails
rails (~> 5.0.0)
rspec-rails (>= 3.0.0)
sass-rails (>= 3.0.10)
simplecov
simplecov-lcov
slim
sqlite3 (~> 1.3.6)
thin
uglifier

BUNDLED WITH
2.3.26
6 changes: 6 additions & 0 deletions gemfiles/Gemfile_rails_5.1.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source "https://rubygems.org"

gemspec path: '..'

gem 'rails', '~> 5.1.0'
gem 'sqlite3', '~> 1.3.6'
Loading

0 comments on commit 5c89a41

Please sign in to comment.