Skip to content

Commit

Permalink
Drop Ruby 2.7 support, add 3.3 (#328)
Browse files Browse the repository at this point in the history
Signed-off-by: Chad Wilson <[email protected]>
  • Loading branch information
chadlwilson authored Feb 16, 2024
1 parent 4a535fb commit 2050525
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
ruby_version: ['2.7', '3.0', '3.1', '3.2']
ruby_version: ['3.0', '3.1', '3.2', '3.3']
fail-fast: false

steps:
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
ruby_version: ['2.7', '3.0', '3.1', '3.2']
ruby_version: ['3.0', '3.1', '3.2', '3.3']
fail-fast: false

steps:
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
ruby_version: ['2.7', '3.0', '3.1', '3.2']
ruby_version: ['3.0', '3.1', '3.2', '3.3']
fail-fast: false

steps:
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.3
3.3.0
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PATH
remote: .
specs:
gauge-ruby (0.7.2)
gauge-ruby (0.8.0)
grpc (~> 1.10, >= 1.10.0)
parser (>= 2.7, < 4.0)
parser (>= 3.0, < 4.0)
unparser (>= 0.5.0, < 0.7.0)

GEM
Expand Down Expand Up @@ -86,4 +86,4 @@ DEPENDENCIES
yard

BUNDLED WITH
2.4.19
2.5.6
14 changes: 10 additions & 4 deletions gauge-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,24 @@ Gem::Specification.new do |s|
s.name = "gauge-ruby"
s.version = JSON.parse(File.read('ruby.json'))['version']
s.authors = ["Gauge Team"]
s.email = ["gauge@thoughtworks.com"]
s.email = ["getgauge@googlegroups.com"]
s.license = "Apache-2.0"
s.metadata = {
"bug_tracker_uri" => "https://github.com/getgauge/gauge-ruby/issues",
"documentation_uri" => "https://docs.gauge.org/",
"homepage_uri" => "https://gauge.org/",
"mailing_list_uri" => "https://github.com/getgauge/gauge/discussions",
"source_code_uri" => "https://github.com/getgauge/gauge-ruby"
}

s.summary = "Ruby support for Gauge"
s.description = "Adds Ruby support into Gauge tests"
s.homepage = "https://gauge.org"
s.files = Dir.glob("lib/**/*.rb")

s.add_runtime_dependency 'parser', '>= 2.7', '< 4.0'
s.add_runtime_dependency 'parser', '>= 3.0', '< 4.0'
s.add_runtime_dependency 'unparser', '>= 0.5.0', '< 0.7.0'
s.add_runtime_dependency 'grpc', '~> 1.10', '>= 1.10.0'
s.add_development_dependency 'grpc-tools', '~> 1.10', '>= 1.10.0'
s.required_ruby_version = ">= 2.7" if s.respond_to? :required_ruby_version=
s.required_rubygems_version = ">= 2.7" if s.respond_to? :required_rubygems_version=
s.required_ruby_version = ">= 3.0"
end
2 changes: 1 addition & 1 deletion ruby.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id" : "ruby",
"version" : "0.7.2",
"version" : "0.8.0",
"description": "ruby support for gauge",
"install": {
"windows": [],
Expand Down

0 comments on commit 2050525

Please sign in to comment.