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 bb66025
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,17 @@ 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'
gem 'json-schema', require: nil
Expand Down

0 comments on commit bb66025

Please sign in to comment.