Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Test against Active Model 8.0 #67

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
rubygems: latest
bundler-cache: true
- name: RuboCop
run: bundle exec rubocop
run: bundle exec rubocop -f github
10 changes: 9 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2', '3.3']
gemfile: [am_7.0, am_7.1, am_7.2]
gemfile: [am_7.0, am_7.1, am_7.2, am_8.0]
channel: [stable]

include:
Expand All @@ -35,13 +35,21 @@ jobs:
- ruby-version: 'head'
gemfile: am_7.2
channel: experimental
- ruby-version: 'head'
gemfile: am_8.0
channel: experimental
- ruby-version: 'head'
gemfile: am_edge
channel: experimental

exclude:
- ruby-version: '3.0'
gemfile: am_7.2
- ruby-version: '3.0'
gemfile: am_8.0

- ruby-version: '3.1'
gemfile: am_8.0

env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down
6 changes: 5 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ appraise 'am-7.1' do
end

appraise 'am-7.2' do
gem 'activemodel', '~> 7.2.0.beta2'
gem 'activemodel', '~> 7.2.0'
end

appraise 'am-8.0' do
gem 'activemodel', '~> 8.0.0'
end

appraise 'am-edge' do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/am_7.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ gem "rubocop-performance", require: false
gem "rubocop-rails", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "activemodel", "~> 7.2.0.beta2"
gem "activemodel", "~> 7.2.0"

gemspec path: "../"
22 changes: 22 additions & 0 deletions gemfiles/am_8.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "appraisal"
gem "bundler"
gem "byebug"
gem "pry"
gem "rake"
gem "rspec"
gem "simplecov"
gem "webmock"
gem "yard"
gem "rubocop", require: false
gem "rubocop-packaging", require: false
gem "rubocop-performance", require: false
gem "rubocop-rails", require: false
gem "rubocop-rake", require: false
gem "rubocop-rspec", require: false
gem "activemodel", "~> 8.0.0"

gemspec path: "../"