Skip to content

Commit

Permalink
Correct compatibility for gauge-ruby gem (#359)
Browse files Browse the repository at this point in the history
* Correct compatibility for gauge-ruby gem

gauge-ruby has direct google-protobuf interaction so should have a direct dependency. google-protobuf 4 has a breaking change here
which doesn't work with gauge right now.

Signed-off-by: Chad Wilson <[email protected]>

* Exclude use with grpc 1.65.0 which seems to have a problem with stderr/stdout

Seems to be to do with grpc/grpc#37178 on Linux, and only with Ruby 3.3.
Excluding for now until it can be debugged further.

Signed-off-by: Chad Wilson <[email protected]>

---------

Signed-off-by: Chad Wilson <[email protected]>
  • Loading branch information
chadlwilson authored Jul 12, 2024
1 parent 8a1b713 commit 5ce8ddc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
9 changes: 5 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
PATH
remote: .
specs:
gauge-ruby (0.9.0)
grpc (~> 1.10, >= 1.10.0)
gauge-ruby (0.9.1)
google-protobuf (>= 3, < 4)
grpc (~> 1.10, >= 1.10.0, < 1.65)
parser (>= 3.1, < 4.0)
unparser (>= 0.6.4, < 0.7.0)

Expand Down Expand Up @@ -37,7 +38,7 @@ GEM
grpc-tools (1.64.0)
method_source (1.1.0)
os (1.1.4)
parser (3.3.3.0)
parser (3.3.4.0)
ast (~> 2.4.1)
racc
racc (1.8.0)
Expand Down Expand Up @@ -76,7 +77,7 @@ PLATFORMS

DEPENDENCIES
gauge-ruby!
grpc-tools (~> 1.10, >= 1.10.0)
grpc-tools (~> 1.10, >= 1.10.0, < 1.65)
method_source
os
rake
Expand Down
5 changes: 3 additions & 2 deletions gauge-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ Gem::Specification.new do |s|

s.add_runtime_dependency 'parser', '>= 3.1', '< 4.0'
s.add_runtime_dependency 'unparser', '>= 0.6.4', '< 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.add_runtime_dependency 'grpc', '~> 1.10', '>= 1.10.0', '< 1.65'
s.add_runtime_dependency 'google-protobuf', '>= 3', '< 4'
s.add_development_dependency 'grpc-tools', '~> 1.10', '>= 1.10.0', '< 1.65'
s.required_ruby_version = ">= 3.1"
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.9.0",
"version" : "0.9.1",
"description": "ruby support for gauge",
"install": {
"windows": [],
Expand Down

0 comments on commit 5ce8ddc

Please sign in to comment.