Skip to content

Commit 8c7f3a5

Browse files
Merge pull request #11 from arkency/compile-protobuf-files-again
Re-generate protobuf files to be compatible with google-protobuf v4.x (again)
2 parents 22bdd49 + 5b2ca3b commit 8c7f3a5

File tree

7 files changed

+5
-123
lines changed

7 files changed

+5
-123
lines changed

.github/workflows/protobuf_nested_struct_test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
ruby: [ruby-3.4, ruby-3.3, ruby-3.2]
20-
gemfile: [Gemfile, Gemfile.google_protobuf_3_25]
2120
env:
22-
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
2321
RUBYOPT: "--enable-frozen-string-literal"
2422
steps:
2523
- uses: actions/checkout@v4
2624
with:
2725
fetch-depth: 1
28-
- run: test -e "${{ matrix.gemfile }}.lock"
26+
- run: test -e Gemfile.lock
2927
- uses: ruby/setup-ruby@v1
3028
with:
3129
ruby-version: "${{ matrix.ruby }}"

Gemfile.google_protobuf_3_25

Lines changed: 0 additions & 10 deletions
This file was deleted.

Gemfile.google_protobuf_3_25.lock

Lines changed: 0 additions & 62 deletions
This file was deleted.

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: .
33
specs:
44
protobuf_nested_struct (1.2.1)
5-
google-protobuf (>= 3.25.7)
5+
google-protobuf (>= 4.26.0)
66

77
GEM
88
remote: https://rubygems.org/

lib/google/type/date_pb.rb

Lines changed: 1 addition & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/protobuf_nested_struct/struct_pb.rb

Lines changed: 1 addition & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protobuf_nested_struct.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ Gem::Specification.new do |spec|
2929

3030
spec.required_ruby_version = ">= 2.7"
3131

32-
spec.add_dependency "google-protobuf", ">= 3.25.7"
32+
spec.add_dependency "google-protobuf", ">= 4.26.0"
3333
end

0 commit comments

Comments
 (0)