Skip to content

Commit

Permalink
feat(common): Support for protobuf 4.x (#1085)
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma authored Jul 17, 2024
1 parent f72bbca commit b7d4957
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-latest
ruby: "2.7"
task: test
- os: ubuntu-latest
ruby: "3.0"
task: test
Expand All @@ -28,12 +25,15 @@ jobs:
task: test
- os: ubuntu-latest
ruby: "3.2"
task: test
- os: ubuntu-latest
ruby: "3.3"
task: ci
- os: macos-latest
ruby: "3.2"
ruby: "3.3"
task: test
- os: windows-latest
ruby: "3.2"
ruby: "3.3"
task: test
fail-fast: false
runs-on: ${{ matrix.os }}
Expand Down
15 changes: 7 additions & 8 deletions gapic-common/Gemfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
source "https://rubygems.org"

# Specify your gem's dependencies in gapic-common.gemspec
gemspec

gem "concurrent-ruby", "~> 1.2.2"
gem "google-cloud-core", "~> 1.5"
gem "google-style", "~> 1.27.0"
gem "grpc-tools", "~> 1.60.0"
gem "minitest", "~> 5.16"
gem "concurrent-ruby", "~> 1.3"
gem "google-cloud-core", "~> 1.7"
gem "google-style", "~> 1.30.0"
gem "grpc-tools", "~> 1.65"
gem "minitest", "~> 5.24"
gem "minitest-autotest", "~> 1.0"
gem "minitest-focus", "~> 1.1"
gem "minitest-rg", "~> 5.2"
gem "minitest-focus", "~> 1.4"
gem "minitest-rg", "~> 5.3"
gem "pry", ">= 0.14"
gem "redcarpet", "~> 3.0"
gem "yard", "~> 0.9"
12 changes: 6 additions & 6 deletions gapic-common/gapic-common.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]
spec.platform = Gem::Platform::RUBY

spec.required_ruby_version = ">= 2.7"
spec.required_ruby_version = ">= 3.0"

spec.add_dependency "faraday", ">= 1.9", "< 3.a"
spec.add_dependency "faraday-retry", ">= 1.0", "< 3.a"
spec.add_dependency "googleapis-common-protos", ">= 1.4.0", "< 2.a"
spec.add_dependency "googleapis-common-protos-types", ">= 1.11.0", "< 2.a"
spec.add_dependency "googleauth", "~> 1.9"
spec.add_dependency "google-protobuf", "~> 3.18"
spec.add_dependency "grpc", "~> 1.59"
spec.add_dependency "googleapis-common-protos", "~> 1.6"
spec.add_dependency "googleapis-common-protos-types", "~> 1.15"
spec.add_dependency "googleauth", "~> 1.11"
spec.add_dependency "google-protobuf", ">= 3.25", "< 5.a"
spec.add_dependency "grpc", "~> 1.65"
end

0 comments on commit b7d4957

Please sign in to comment.