Skip to content

Commit

Permalink
chore: setup minimum ruby version to 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dasheck0 committed Aug 27, 2024
1 parent 38d29e7 commit 3a2d538
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_and_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
ruby-version: ["2.7", "3.0", "3.1", "3.2", "3.4"]
ruby-version: ["3.0", "3.1", "3.2", "3.4"]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
5 changes: 2 additions & 3 deletions PCP-server-Ruby-SDK.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ Gem::Specification.new do |s|
s.summary = "Commerce Platform API Ruby Gem"
s.description = "RESTful API for the creation of Commerce Cases with Checkouts and the execution of Payments. "
s.license = "MIT"
s.required_ruby_version = ">= 2.7"
s.required_ruby_version = ">= 3.0"
s.metadata = {}

s.add_runtime_dependency 'httpx', '~> 1.0', '>= 1.0.0'
s.add_runtime_dependency 'net-http'
s.add_runtime_dependency 'json'
s.add_runtime_dependency 'openssl'
Expand All @@ -38,7 +37,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'simplecov', '~> 0.22.0'

s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
s.test_files = `find spec/*`.split("\n")
s.test_files = `find test/*`.split("\n")
s.executables = []
s.require_paths = ["lib"]
end

0 comments on commit 3a2d538

Please sign in to comment.