diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03e2abd..1f76d23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,16 +6,17 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby: [2.5, 2.6, 2.7] + ruby: [2.7, 3.0] gemfile: - - activemodel-5.2 - activemodel-6.0 - activemodel-6.1 + - activemodel-7.0 - 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.5", gemfile: "activemodel-5.2" } + - { ruby: "2.6", gemfile: "activemodel-6.1" } 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..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"