Skip to content

Commit

Permalink
Adding rails 7.2 to CI and remove ruby 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
uxxman committed Aug 17, 2024
1 parent 012ccc7 commit 71c3cd8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,17 @@ jobs:
strategy:
matrix:
ruby:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- '3.4'
- 'truffleruby'
gemfile:
- 'activemodel_6.1'
- 'activemodel_7.0'
- 'activemodel_7.1'
- 'activemodel_7.2'
- 'activemodel_main'
exclude:
- ruby: '3.0'
gemfile: 'activemodel_main'

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
service_record (1.4.2)
service_record (1.4.3)
activemodel (>= 6.1)

GEM
Expand Down
5 changes: 5 additions & 0 deletions gemfiles/activemodel_7.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"

gem "activemodel", "~> 7.2"

gemspec path: "../"
2 changes: 1 addition & 1 deletion lib/service_record/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module ServiceRecord
VERSION = '1.4.2'
VERSION = '1.4.3'
end
2 changes: 1 addition & 1 deletion service_record.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.add_runtime_dependency 'activemodel', '>= 6.1'
spec.add_dependency 'activemodel', '>= 6.1'

spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.9'
Expand Down

0 comments on commit 71c3cd8

Please sign in to comment.