Skip to content

Commit

Permalink
Drop support for Ruby 2.7
Browse files Browse the repository at this point in the history
Ruby 2.7 has been EOL since 2023-03-31
  • Loading branch information
nertzy committed Dec 25, 2023
1 parent 83c18b6 commit bc03fff
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3']
ruby-version: ['3.0', '3.1', '3.2', '3.3']
active-record-version-env:
- ACTIVE_RECORD_VERSION="~> 6.0.0"
- ACTIVE_RECORD_VERSION="~> 6.1.0"
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inherit_gem:
standard: config/base.yml

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0
NewCops: disable
Exclude:
- bin/**/*
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Read the blog post introducing PgSearch at https://tanzu.vmware.com/content/blog

## REQUIREMENTS

* Ruby 2.7+
* Ruby 3.0+
* Active Record 6.0+
* PostgreSQL 9.2+
* [PostgreSQL extensions](https://github.com/Casecommons/pg_search/wiki/Installing-PostgreSQL-Extensions) for certain features
Expand Down
2 changes: 1 addition & 1 deletion pg_search.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ Gem::Specification.new do |s|
s.add_dependency "activerecord", ">= 6.0"
s.add_dependency "activesupport", ">= 6.0"

s.required_ruby_version = ">= 2.7"
s.required_ruby_version = ">= 3.0"
end
2 changes: 0 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# frozen_string_literal: true

require "warning"
# Ignore Ruby 2.7 warnings from Active Record
Warning.ignore :keyword_separation

# https://github.com/grodowski/undercover#setting-up-required-lcov-reporting
require "simplecov"
Expand Down

0 comments on commit bc03fff

Please sign in to comment.