Skip to content

Commit

Permalink
Merge pull request #444 from jcoyne/ruby-versions
Browse files Browse the repository at this point in the history
Drop support for ruby 2.7, add 3.3
  • Loading branch information
grosser authored Jan 24, 2024
2 parents 08e2832 + 6f88be9 commit cb2ca7d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ['2.7', '3.0', '3.1', '3.2', 'head', 'truffleruby-head']
ruby-version: ['3.0', '3.1', '3.2', '3.3', 'head', 'truffleruby-head']
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0
Include:
- 'lib/**/*'
- 'Rakefile'
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Add key setup to v3 example in README
* Remove unnecessary id from textarea - This was unused and may cause accessability concerns if there is more than one recaptcha on the page due to multiple elements with the same id
* Update to latest version of rubocop
* Drop support for Ruby 2.7; add Ruby 3.3

## 5.16.0
* Allow usage of `options[:turbo]` as well as `options[:turbolinks]` for `recaptcha_v3`
Expand Down
2 changes: 1 addition & 1 deletion recaptcha.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Gem::Specification.new do |s|
s.homepage = "http://github.com/ambethia/recaptcha"
s.summary = s.description = "Helpers for the reCAPTCHA API"
s.license = "MIT"
s.required_ruby_version = '>= 2.7.0'
s.required_ruby_version = '>= 3.0.0'

s.files = `git ls-files lib rails README.md CHANGELOG.md LICENSE`.split("\n")

Expand Down

0 comments on commit cb2ca7d

Please sign in to comment.