Skip to content

Commit

Permalink
Use graphql < 2.1 when Ruby < 2.7
Browse files Browse the repository at this point in the history
Use google-protobuf < 3.25 when Ruby is 2.6
  • Loading branch information
picandocodigo committed Nov 22, 2023
1 parent 7fd9ec2 commit 1cdc281
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,14 @@ gem 'ecs-logging', require: 'ecs_logging/logger'
gem 'elasticsearch', require: nil
gem 'fakeredis', require: nil
gem 'faraday', require: nil
gem 'graphql', require: nil
if !defined?(JRUBY_VERSION) && RUBY_VERSION < '2.5'
gem 'google-protobuf', '< 3.12'
if RUBY_VERSION < '2.7'
gem 'graphql', '< 2.1', require: nil
else
gem 'graphql', require: nil
end
if !defined?(JRUBY_VERSION)
gem 'google-protobuf', '< 3.12' if RUBY_VERSION < '2.5'
gem 'google-protobuf', '< 3.25' if RUBY_VERSION < '2.7' && RUBY_VERSION > '2.5'
end
gem 'grpc' if !defined?(JRUBY_VERSION) && RUBY_VERSION < '3.0'
gem 'json'
Expand Down

0 comments on commit 1cdc281

Please sign in to comment.