Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Accept Rails 7.0 #58

Closed
wants to merge 1 commit into from
Closed
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
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ jobs:
- activemodel-6.1
- activemodel-main
include:
- { ruby: "2.3", gemfile: "activemodel-3.2" }
- { ruby: "2.3", gemfile: "activemodel-4.2" }
- { ruby: "2.4", gemfile: "activemodel-4.2" }
- { ruby: '2.3', gemfile: 'activemodel-3.2' }
- { ruby: '2.3', gemfile: 'activemodel-4.2' }
- { ruby: '2.4', gemfile: 'activemodel-4.2' }
- { ruby: '2.7', gemfile: 'activemodel-7.0' }
- { ruby: '3.0', gemfile: 'activemodel-7.0' }

env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down
5 changes: 5 additions & 0 deletions gemfiles/activemodel-7.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"

gem "activemodel", "~> 7.0.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion strip_attributes.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
spec.test_files = `git ls-files -- {test,spec}/*`.split("\n")
spec.require_paths = ["lib"]

spec.add_runtime_dependency "activemodel", ">= 3.0", "< 7.0"
spec.add_runtime_dependency "activemodel", ">= 3.0", "< 7.1"
spec.add_development_dependency "active_attr", "~> 0.10"
spec.add_development_dependency "minitest", ">= 5.0", "< 6.0"
spec.add_development_dependency "minitest-matchers_vaccine", "~> 1.0" unless ENV["SKIP_VACCINE"]
Expand Down