Skip to content

Commit

Permalink
Pin google-protobuf to v3.11.x, to fix CI
Browse files Browse the repository at this point in the history
CI message from `bundle install`:
```
google-protobuf-3.12.0-x86_64-linux requires ruby version >= 2.5, which is
incompatible with the current version, ruby 2.4.6p354
```

protocolbuffers/protobuf#7453
  • Loading branch information
benwh committed May 17, 2020
1 parent 3351fab commit 6627ad1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fluent-plugin-gcloud-pubsub-custom.gemspec
Expand Up @@ -17,7 +17,11 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]

gem.add_runtime_dependency "fluentd", [">= 0.14.15", "< 2"]

gem.add_runtime_dependency "google-cloud-pubsub", "~> 0.30.0"
# google-protobuf does not support Ruby 2.4 since v3.12.0, which we test against in CI.
# https://github.com/protocolbuffers/protobuf/pull/7453
gem.add_runtime_dependency "google-protobuf", "~> 3.11.4"

gem.add_development_dependency "bundler"
gem.add_development_dependency "rake"
Expand Down

0 comments on commit 6627ad1

Please sign in to comment.