Skip to content

Commit

Permalink
chore: Migrate Buf config to v2 (#156)
Browse files Browse the repository at this point in the history
* Migrate Buf config to v2
* Regenerate protobuf code
* Update ruby
* Update bundler

Signed-off-by: Andrew Haines <[email protected]>
  • Loading branch information
haines authored Jun 7, 2024
1 parent bf844c5 commit 3a17a58
Show file tree
Hide file tree
Showing 20 changed files with 113 additions and 332 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0
3.3.2
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ DEPENDENCIES
yard

BUNDLED WITH
2.5.4
2.5.11
13 changes: 7 additions & 6 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
version: v1
version: v2

types:
include:
- cerbos.svc.v1.CerbosService
inputs:
- module: buf.build/cerbos/cerbos-api
types:
- cerbos.svc.v1.CerbosService

plugins:
- plugin: buf.build/grpc/ruby
- remote: buf.build/grpc/ruby
out: .

- plugin: buf.build/protocolbuffers/ruby
- remote: buf.build/protocolbuffers/ruby
out: .
17 changes: 17 additions & 0 deletions lib/cerbos/protobuf/buf/validate/expression_pb.rb

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

22 changes: 22 additions & 0 deletions lib/cerbos/protobuf/buf/validate/priv/private_pb.rb

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

45 changes: 45 additions & 0 deletions lib/cerbos/protobuf/buf/validate/validate_pb.rb

Large diffs are not rendered by default.

23 changes: 1 addition & 22 deletions lib/cerbos/protobuf/cerbos/effect/v1/effect_pb.rb

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

26 changes: 2 additions & 24 deletions lib/cerbos/protobuf/cerbos/engine/v1/engine_pb.rb

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

Loading

0 comments on commit 3a17a58

Please sign in to comment.