diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03e2abd..dad2992 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,7 @@ jobs: - activemodel-5.2 - activemodel-6.0 - activemodel-6.1 + - activemodel-7.0 - activemodel-main include: - { ruby: "2.3", gemfile: "activemodel-3.2" } diff --git a/gemfiles/activemodel-7.0.gemfile b/gemfiles/activemodel-7.0.gemfile new file mode 100644 index 0000000..4691b92 --- /dev/null +++ b/gemfiles/activemodel-7.0.gemfile @@ -0,0 +1,5 @@ +source "https://rubygems.org" + +gem "activemodel", "~> 7.0.0" + +gemspec path: "../" diff --git a/strip_attributes.gemspec b/strip_attributes.gemspec index 0ab48d9..72f012b 100644 --- a/strip_attributes.gemspec +++ b/strip_attributes.gemspec @@ -17,8 +17,8 @@ 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_development_dependency "active_attr", "~> 0.10" + spec.add_runtime_dependency "activemodel", ">= 3.0", "< 8.0" + spec.add_development_dependency "active_attr", "~> 0.15" spec.add_development_dependency "minitest", ">= 5.0", "< 6.0" spec.add_development_dependency "minitest-matchers_vaccine", "~> 1.0" unless ENV["SKIP_VACCINE"] spec.add_development_dependency "minitest-reporters", ">= 0.14.24"