diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03e2abd..f5c5e66 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 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..af75b04 100644 --- a/strip_attributes.gemspec +++ b/strip_attributes.gemspec @@ -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"]