Skip to content

Commit

Permalink
Update required Ruby version to 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alma Malambo committed Nov 20, 2024
1 parent c66fc71 commit a64ee91
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ruby-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
version:
- 3.1
- 3.2
gemfile:
- gemfiles/Gemfile.rails50
- gemfiles/Gemfile.rails51
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ AllCops:
- "lib/active_merchant/billing/gateways/paypal_express.rb"
- "vendor/**/*"
ExtraDetails: false
TargetRubyVersion: 3.1
TargetRubyVersion: 3.2

# Active Merchant gateways are not amenable to length restrictions
Metrics/ClassLength:
Expand Down
2 changes: 1 addition & 1 deletion activemerchant.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.email = 'tobi@leetsoft.com'
s.homepage = 'http://activemerchant.org/'

s.required_ruby_version = '>= 3.1'
s.required_ruby_version = '>= 3.2'

s.files = Dir['CHANGELOG', 'README.md', 'MIT-LICENSE', 'CONTRIBUTORS', 'lib/**/*', 'vendor/**/*']
s.require_path = 'lib'
Expand Down
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
machine:
ruby:
version: '3.1.0'
version: '3.2.0'

dependencies:
cache_directories:
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/Gemfile.rails_master
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
eval_gemfile '../Gemfile'

gem 'activesupport', '~>7.2.1'
gem 'activesupport', github: 'rails/rails'
2 changes: 1 addition & 1 deletion test/unit/gateways/versa_pay_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_parse_invalid_json

assert_equal({ 'errors' => '{"key1": "value1", "key2": "value2"',
'status' => 'Unable to parse JSON response',
'message' => "859: unexpected token at '{\"key1\": \"value1\", \"key2\": \"value2\"'" },
'message' => "unexpected token at '{\"key1\": \"value1\", \"key2\": \"value2\"'" },
@gateway.send(:parse, body))
end

Expand Down

0 comments on commit a64ee91

Please sign in to comment.