Skip to content

Commit

Permalink
Use ruby_package proto option (#87)
Browse files Browse the repository at this point in the history
* Use ruby_package proto option

This fixes the Ruby module names generated from the proto files
by using the `option ruby_package=`. Setting these allows for
more idiomatic Ruby class naming within the namespace `Sigstore::`.

Signed-off-by: Paul Welch <[email protected]>

* Update Generated Ruby

Signed-off-by: Paul Welch <[email protected]>

* Update All Protos

Regenerate proto files by using `make all` after updating
Ruby class names.

Signed-off-by: Paul Welch <[email protected]>

---------

Signed-off-by: Paul Welch <[email protected]>
  • Loading branch information
pwelch authored Jul 11, 2023
1 parent 7416e1a commit d181467
Show file tree
Hide file tree
Showing 24 changed files with 113 additions and 102 deletions.
6 changes: 4 additions & 2 deletions gen/pb-go/bundle/v1/sigstore_bundle.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions gen/pb-go/common/v1/sigstore_common.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions gen/pb-go/dsse/envelope.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions gen/pb-go/rekor/v1/sigstore_rekor.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 10 additions & 9 deletions gen/pb-go/trustroot/v1/sigstore_trustroot.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 10 additions & 8 deletions gen/pb-go/verification/v1/sigstore_verification.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions gen/pb-ruby/lib/envelope_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 6 additions & 8 deletions gen/pb-ruby/lib/sigstore_bundle_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 19 additions & 21 deletions gen/pb-ruby/lib/sigstore_common_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 8 additions & 10 deletions gen/pb-ruby/lib/sigstore_rekor_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 6 additions & 8 deletions gen/pb-ruby/lib/sigstore_trustroot_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d181467

Please sign in to comment.