From c84335b6300ef530412a7e1f7f2c06afa56e564c Mon Sep 17 00:00:00 2001 From: Vladimir Dementyev Date: Tue, 21 May 2024 15:31:52 -0700 Subject: [PATCH] chore: require Ruby 2.7+ --- .github/workflows/test.yml | 3 --- CHANGELOG.md | 2 ++ action_policy.gemspec | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ba80e5c..bbf1ce0c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,9 +41,6 @@ jobs: - ruby: "3.1" gemfile: "gemfiles/railsmaster.gemfile" coverage: "false" - - ruby: "2.6" - gemfile: "gemfiles/rails6.gemfile" - coverage: "false" steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 21ddab24..495b6d04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## master +- **Ruby 2.7+** is required. + ## 0.6.9 (2024-04-19) - Add `.with_context` modifier to the `#have_authorized_scope` matcher. ([@killondark][]) diff --git a/action_policy.gemspec b/action_policy.gemspec index cfc3a036..5dabf485 100644 --- a/action_policy.gemspec +++ b/action_policy.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] - spec.required_ruby_version = ">= 2.6.0" + spec.required_ruby_version = ">= 2.7.0" # When gem is installed from source, we add `ruby-next` as a dependency # to auto-transpile source files during the first load