From 28b16fdb5982dfff62bd547e6fc8545fcf3475b1 Mon Sep 17 00:00:00 2001 From: Richard Vickerstaff Date: Tue, 18 Feb 2025 15:23:02 +0000 Subject: [PATCH] Run protoc --- pb/umbra.pb.go | 2 +- ruby/lib/umbra/pb/umbra_pb.rb | 16 ++++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/pb/umbra.pb.go b/pb/umbra.pb.go index b997c66..24b9e7b 100644 --- a/pb/umbra.pb.go +++ b/pb/umbra.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.1 -// protoc v3.19.1 +// protoc v5.29.3 // source: umbra.proto package pb diff --git a/ruby/lib/umbra/pb/umbra_pb.rb b/ruby/lib/umbra/pb/umbra_pb.rb index a077fa8..94d3238 100644 --- a/ruby/lib/umbra/pb/umbra_pb.rb +++ b/ruby/lib/umbra/pb/umbra_pb.rb @@ -1,18 +1,14 @@ +# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: umbra.proto require 'google/protobuf' -Google::Protobuf::DescriptorPool.generated_pool.build do - add_file("umbra.proto", :syntax => :proto3) do - add_message "umbra.pb.Message" do - optional :method, :string, 1 - optional :url, :string, 2 - map :headers, :string, :string, 3 - optional :body, :bytes, 4 - end - end -end + +descriptor_data = "\n\x0bumbra.proto\x12\x08umbra.pb\"\x95\x01\n\x07Message\x12\x0e\n\x06method\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12/\n\x07headers\x18\x03 \x03(\x0b\x32\x1e.umbra.pb.Message.HeadersEntry\x12\x0c\n\x04\x62ody\x18\x04 \x01(\x0c\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1cZ\x1agithub.com/carwow/umbra/pbb\x06proto3" + +pool = Google::Protobuf::DescriptorPool.generated_pool +pool.add_serialized_file(descriptor_data) module Umbra module Pb