| 1 |
# sigstore_protobuf_specs |
| 2 |
|
| 3 |
These are the Ruby language bindings for Sigstore's protobuf specs. |
| 4 |
|
| 5 |
See the [repository's README](https://github.com/sigstore/protobuf-specs) |
| 6 |
for more information. |
| 7 |
|
| 8 |
## Installation |
| 9 |
|
| 10 |
Add this line to your application's Gemfile: |
| 11 |
|
| 12 |
```ruby |
| 13 |
gem 'sigstore_protobuf_specs' |
| 14 |
``` |
| 15 |
|
| 16 |
And then execute: |
| 17 |
```bash |
| 18 |
$ bundle install |
| 19 |
``` |
| 20 |
Or install it yourself as: |
| 21 |
```bash |
| 22 |
$ gem install sigstore_protobuf_specs |
| 23 |
``` |
| 24 |
|
| 25 |
## Usage |
| 26 |
|
| 27 |
Import all the bindings: |
| 28 |
|
| 29 |
```ruby |
| 30 |
require 'sigstore_protobuf_specs' |
| 31 |
``` |
| 32 |
|
| 33 |
Or you can import them individually: |
| 34 |
|
| 35 |
```ruby |
| 36 |
require 'sigstore_bundle_pb' |
| 37 |
``` |
| 38 |
|
| 39 |
See what is available in `gen/pb-ruby/lib/`. |
| 40 |
|
| 41 |
## Releasing |
| 42 |
|
| 43 |
Make sure you update the version in `gen/pb-ruby/lib/sigstore_protobuf_specs/version.rb` |
| 44 |
|
| 45 |
A release will be build and automatically pushed to RubyGems when a tag in the |
| 46 |
format `release/ruby/v*` is created. |
| 47 |
|
| 48 |
Contact elfotografo007 for Gem ownership stuff. |
| 49 |
|
| 50 |
## Contributing |
| 51 |
|
| 52 |
Bug reports and pull requests are welcome on GitHub at https://github.com/sigstore/protobuf-specs/issues. |
| 53 |
|