sigstore_protobuf_specs 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02bad2eff9265d14d119c2ec7b2331e502782dad310f797a0c256712c4df44d2
4
- data.tar.gz: c1ffb5b06ef4abaaf640d46d188c80df170aee7e8aeae01bcde9c969aa1047db
3
+ metadata.gz: 21d50c7183252dd3da0fd65257850dea149a7fac2b6c7173315b6418f2c0f9f9
4
+ data.tar.gz: 21f40377ccb5a1e6c177c6c5ec88819334d5a20ce4a4a2ab2855346eebdd0fc4
5
5
  SHA512:
6
- metadata.gz: 32bf532045d220b6ebaf0b1ab6e27b784dca6745431918a5a16cb2647a85263bfcbb5d36d318e05fb454d6535075565868fd4d8da0e98a2f6bbf03370f24e793
7
- data.tar.gz: a891af5f2449a5322453233ec2dece10062735f90384fefe6e9ff382f7e1fd177ffadea61b47bb3632fd1d90497f8a29a9d0940674bf6e3a6ac7ed8b61e8d6a5
6
+ metadata.gz: 3031e33c57827c80429e7280edb895fb42f2b0a453e5b45af44685b5a352e22d5910f0da2dfd1d6ca0faacc03d871d32606481f836ec192e5e1f48a39ac3e8c4
7
+ data.tar.gz: e33fb60196af075d5d757e0cbcb1d668a44317350f5fa6607634ccd8aac7c88e15381ee6b717aeae041ba04f639b4ef2cd40996de36fe02c53aaca65b36ebfa5
data/lib/events_pb.rb ADDED
@@ -0,0 +1,50 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: events.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/any_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("events.proto", :syntax => :proto3) do
11
+ add_message "dev.sigstore.events.v1.CloudEvent" do
12
+ optional :id, :string, 1
13
+ optional :source, :string, 2
14
+ optional :spec_version, :string, 3
15
+ optional :type, :string, 4
16
+ map :attributes, :string, :message, 5, "dev.sigstore.events.v1.CloudEvent.CloudEventAttributeValue"
17
+ oneof :data do
18
+ optional :binary_data, :bytes, 6
19
+ optional :text_data, :string, 7
20
+ optional :proto_data, :message, 8, "google.protobuf.Any"
21
+ end
22
+ end
23
+ add_message "dev.sigstore.events.v1.CloudEvent.CloudEventAttributeValue" do
24
+ oneof :attr do
25
+ optional :ce_boolean, :bool, 1
26
+ optional :ce_integer, :int32, 2
27
+ optional :ce_string, :string, 3
28
+ optional :ce_bytes, :bytes, 4
29
+ optional :ce_uri, :string, 5
30
+ optional :ce_uri_ref, :string, 6
31
+ optional :ce_timestamp, :message, 7, "google.protobuf.Timestamp"
32
+ end
33
+ end
34
+ add_message "dev.sigstore.events.v1.CloudEventBatch" do
35
+ repeated :events, :message, 1, "dev.sigstore.events.v1.CloudEvent"
36
+ end
37
+ end
38
+ end
39
+
40
+ module Dev
41
+ module Sigstore
42
+ module Events
43
+ module V1
44
+ CloudEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.events.v1.CloudEvent").msgclass
45
+ CloudEvent::CloudEventAttributeValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.events.v1.CloudEvent.CloudEventAttributeValue").msgclass
46
+ CloudEventBatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.events.v1.CloudEventBatch").msgclass
47
+ end
48
+ end
49
+ end
50
+ end
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Dev
18
18
  module Sigstore
19
- VERSION = '0.2.0'
19
+ VERSION = '0.2.1'
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sigstore_protobuf_specs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sigstore Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-11 00:00:00.000000000 Z
11
+ date: 2023-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -54,6 +54,7 @@ files:
54
54
  - LICENSE
55
55
  - README.md
56
56
  - lib/envelope_pb.rb
57
+ - lib/events_pb.rb
57
58
  - lib/sigstore_bundle_pb.rb
58
59
  - lib/sigstore_common_pb.rb
59
60
  - lib/sigstore_protobuf_specs.rb
@@ -83,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
84
  - !ruby/object:Gem::Version
84
85
  version: '0'
85
86
  requirements: []
86
- rubygems_version: 3.4.6
87
+ rubygems_version: 3.4.10
87
88
  signing_key:
88
89
  specification_version: 4
89
90
  summary: A library for serializing and deserializing Sigstore messages.