sigstore_protobuf_specs 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/events_pb.rb +50 -0
- data/lib/sigstore_protobuf_specs/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21d50c7183252dd3da0fd65257850dea149a7fac2b6c7173315b6418f2c0f9f9
|
4
|
+
data.tar.gz: 21f40377ccb5a1e6c177c6c5ec88819334d5a20ce4a4a2ab2855346eebdd0fc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
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.
|
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.
|