Skip to content

Commit cb2ca7d

Browse files
authored
Merge pull request #444 from jcoyne/ruby-versions
Drop support for ruby 2.7, add 3.3
2 parents 08e2832 + 6f88be9 commit cb2ca7d

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
ruby-version: ['2.7', '3.0', '3.1', '3.2', 'head', 'truffleruby-head']
16+
ruby-version: ['3.0', '3.1', '3.2', '3.3', 'head', 'truffleruby-head']
1717
steps:
1818
- uses: actions/checkout@v2
1919
- uses: ruby/setup-ruby@v1

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AllCops:
2-
TargetRubyVersion: 2.7
2+
TargetRubyVersion: 3.0
33
Include:
44
- 'lib/**/*'
55
- 'Rakefile'

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Add key setup to v3 example in README
33
* 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
44
* Update to latest version of rubocop
5+
* Drop support for Ruby 2.7; add Ruby 3.3
56

67
## 5.16.0
78
* Allow usage of `options[:turbo]` as well as `options[:turbolinks]` for `recaptcha_v3`

recaptcha.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
88
s.homepage = "http://github.com/ambethia/recaptcha"
99
s.summary = s.description = "Helpers for the reCAPTCHA API"
1010
s.license = "MIT"
11-
s.required_ruby_version = '>= 2.7.0'
11+
s.required_ruby_version = '>= 3.0.0'
1212

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

0 commit comments

Comments
 (0)