Skip to content

Commit

Permalink
Support rails 6.0 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
xjunior authored and anilmaurya committed Nov 24, 2023
1 parent 2e952ff commit 78fb2a9
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 8 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/build.yml
Expand Up @@ -13,10 +13,23 @@ jobs:
matrix:
os: [ubuntu-20.04]
ruby: ['3.0', 2.7, 2.6, jruby-9.1.17.0, truffleruby]
gemfile: [norails, rails_4.2, rails_4.2_mongoid_5, rails_5.2, rails_6.1]
gemfile:
[
norails,
rails_4.2,
rails_4.2_mongoid_5,
rails_5.2,
rails_6.0,
rails_6.1,
]
redis-version: [6]
mongodb-version: [5]
include:
- ruby: '3.0'
gemfile: rails_6.0
os: ubuntu-20.04
redis-version: 6
mongodb-version: 5
- ruby: '3.0'
gemfile: rails_6.1
os: ubuntu-20.04
Expand Down
20 changes: 15 additions & 5 deletions Appraisals
Expand Up @@ -9,7 +9,7 @@ appraise 'rails_4.2' do
gem 'aws-sdk', '~> 2', platforms: :ruby
gem 'redis-objects', '1.6.0'
gem 'activerecord-jdbcsqlite3-adapter', '1.3.24', platforms: :jruby
gem "after_commit_everywhere", "~> 1.0"
gem 'after_commit_everywhere', '~> 1.0'
end

appraise 'rails_4.2_mongoid_5' do
Expand All @@ -18,7 +18,7 @@ appraise 'rails_4.2_mongoid_5' do
gem 'rails', '~> 4.2.11'
gem 'mongoid', '~> 5.0'
gem 'activerecord-jdbcsqlite3-adapter', '1.3.24', platforms: :jruby
gem "after_commit_everywhere", "~> 1.0"
gem 'after_commit_everywhere', '~> 1.0'
end

appraise 'rails_5.2' do
Expand All @@ -29,7 +29,17 @@ appraise 'rails_5.2' do
gem 'dynamoid', '~>2.2', platforms: :ruby
gem 'aws-sdk', '~>2', platforms: :ruby
gem 'redis-objects', '1.6.0'
gem "after_commit_everywhere", "~> 1.0"
gem 'after_commit_everywhere', '~> 1.0'
end

appraise 'rails_6.0' do
gem 'rails', '~> 6.0.6.1'
gem 'mongoid', '~>7.0', '>= 7.0.5'
gem 'sequel'
gem 'dynamoid', '~>3.3', platforms: :ruby
gem 'aws-sdk-dynamodb', '~> 1'
gem 'redis-objects', '1.6.0'
gem 'after_commit_everywhere', '~> 1.0'
end

appraise 'rails_6.1' do
Expand All @@ -39,13 +49,13 @@ appraise 'rails_6.1' do
gem 'dynamoid', '~>3.3', platforms: :ruby
gem 'aws-sdk-dynamodb', '~> 1'
gem 'redis-objects', '1.6.0'
gem "after_commit_everywhere", "~> 1.0"
gem 'after_commit_everywhere', '~> 1.0'
end

appraise 'norails' do
gem 'sqlite3', '~> 1.3', '>= 1.3.5', platforms: :ruby
gem 'rails', install_if: false
gem 'sequel'
gem 'redis-objects', '1.6.0'
gem "after_commit_everywhere", install_if: false
gem 'after_commit_everywhere', install_if: false
end
4 changes: 2 additions & 2 deletions gemfiles/rails_6.0.gemfile
Expand Up @@ -3,12 +3,12 @@
source "https://rubygems.org"

gem "sqlite3", "~> 1.4", platforms: :ruby
gem "rails", "~> 6.0.3"
gem "rails", "~> 6.0.6.1"
gem "after_commit_everywhere", "~> 1.0"
gem "mongoid", "~>7.0", ">= 7.0.5"
gem "sequel"
gem "dynamoid", "~>3.3", platforms: :ruby
gem "aws-sdk-dynamodb", "~> 1"
gem "redis-objects"
gem "redis-objects", "1.6.0"

gemspec path: "../"

0 comments on commit 78fb2a9

Please sign in to comment.