grafeas 0.2.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +3 -3
  3. data/LICENSE.md +203 -0
  4. data/MIGRATING.md +366 -0
  5. data/README.md +87 -25
  6. data/lib/grafeas.rb +37 -118
  7. data/lib/grafeas/version.rb +6 -2
  8. metadata +49 -80
  9. data/AUTHENTICATION.md +0 -177
  10. data/LICENSE +0 -201
  11. data/lib/grafeas/v1.rb +0 -155
  12. data/lib/grafeas/v1/attestation_pb.rb +0 -27
  13. data/lib/grafeas/v1/build_pb.rb +0 -23
  14. data/lib/grafeas/v1/common_pb.rb +0 -35
  15. data/lib/grafeas/v1/credentials.rb +0 -37
  16. data/lib/grafeas/v1/cvss_pb.rb +0 -67
  17. data/lib/grafeas/v1/deployment_pb.rb +0 -35
  18. data/lib/grafeas/v1/discovery_pb.rb +0 -43
  19. data/lib/grafeas/v1/doc/google/protobuf/any.rb +0 -131
  20. data/lib/grafeas/v1/doc/google/protobuf/empty.rb +0 -29
  21. data/lib/grafeas/v1/doc/google/protobuf/field_mask.rb +0 -222
  22. data/lib/grafeas/v1/doc/google/protobuf/timestamp.rb +0 -113
  23. data/lib/grafeas/v1/doc/google/rpc/status.rb +0 -87
  24. data/lib/grafeas/v1/doc/grafeas/v1/attestation.rb +0 -64
  25. data/lib/grafeas/v1/doc/grafeas/v1/build.rb +0 -44
  26. data/lib/grafeas/v1/doc/grafeas/v1/common.rb +0 -108
  27. data/lib/grafeas/v1/doc/grafeas/v1/cvss.rb +0 -104
  28. data/lib/grafeas/v1/doc/grafeas/v1/deployment.rb +0 -64
  29. data/lib/grafeas/v1/doc/grafeas/v1/discovery.rb +0 -82
  30. data/lib/grafeas/v1/doc/grafeas/v1/grafeas.rb +0 -328
  31. data/lib/grafeas/v1/doc/grafeas/v1/image.rb +0 -79
  32. data/lib/grafeas/v1/doc/grafeas/v1/package.rb +0 -125
  33. data/lib/grafeas/v1/doc/grafeas/v1/provenance.rb +0 -248
  34. data/lib/grafeas/v1/doc/grafeas/v1/upgrade.rb +0 -126
  35. data/lib/grafeas/v1/doc/grafeas/v1/vulnerability.rb +0 -223
  36. data/lib/grafeas/v1/grafeas_client.rb +0 -961
  37. data/lib/grafeas/v1/grafeas_client_config.json +0 -96
  38. data/lib/grafeas/v1/grafeas_pb.rb +0 -168
  39. data/lib/grafeas/v1/grafeas_services_pb.rb +0 -86
  40. data/lib/grafeas/v1/image_pb.rb +0 -36
  41. data/lib/grafeas/v1/package_pb.rb +0 -59
  42. data/lib/grafeas/v1/provenance_pb.rb +0 -116
  43. data/lib/grafeas/v1/upgrade_pb.rb +0 -56
  44. data/lib/grafeas/v1/vulnerability_pb.rb +0 -84
data/README.md CHANGED
@@ -1,42 +1,46 @@
1
- # Ruby Client for Container Analysis API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
1
+ # Ruby Client for the Grafeas API
2
2
 
3
- [Container Analysis API][Product Documentation]:
4
- An implementation of the Grafeas API, which stores, and enables querying and
5
- retrieval of critical metadata about all of your software artifacts.
6
- - [Client Library Documentation][]
7
- - [Product Documentation][]
3
+ API Client library for the Grafeas API
8
4
 
9
- ## Quick Start
10
- In order to use this library, you first need to go through the following
11
- steps:
5
+ The Grafeas API stores, and enables querying and retrieval of, critical metadata about all of your software artifacts.
6
+
7
+ Actual client classes for the various versions of this API are defined in
8
+ _versioned_ client gems, with names of the form `grafeas-v*`.
9
+ The gem `grafeas` is the main client library that brings the
10
+ verisoned gems in as dependencies, and provides high-level methods for
11
+ constructing clients. More information on versioned clients can be found below
12
+ in the section titled *Which client should I use?*.
13
+
14
+ View the [Client Library Documentation](https://googleapis.dev/ruby/grafeas/latest)
15
+ for this library, grafeas, to see the convenience methods for
16
+ constructing client objects. Reference documentation for the client objects
17
+ themselves can be found in the client library documentation for the versioned
18
+ client gems:
19
+ [grafeas-v1](https://googleapis.dev/ruby/grafeas-v1/latest).
12
20
 
13
- 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
14
- 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
15
- 3. [Enable the Container Analysis API.](https://console.cloud.google.com/apis/library/grafeas.googleapis.com)
16
- 4. [Setup Authentication.](https://googleapis.dev/ruby/grafeas/latest/file.AUTHENTICATION.html)
21
+ See also the [Product Documentation](https://grafeas.io)
22
+ for more usage information.
23
+
24
+ ## Quick Start
17
25
 
18
- ### Installation
19
26
  ```
20
27
  $ gem install grafeas
21
28
  ```
22
29
 
23
- ### Next Steps
24
- - Read the [Client Library Documentation][] for Container Analysis API
25
- to see other available methods on the client.
26
- - Read the [Container Analysis API Product documentation][Product Documentation]
27
- to learn more about the product and see How-to Guides.
28
- - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
29
- to see the full list of Cloud APIs that we cover.
30
+ ## Migrating from 0.x versions
30
31
 
31
- [Client Library Documentation]: https://googleapis.dev/ruby/grafeas/latest
32
- [Product Documentation]: https://grafeas.io/
32
+ The 1.0 release of the grafeas client is a significant upgrade
33
+ based on a [next-gen code generator](https://github.com/googleapis/gapic-generator-ruby),
34
+ and includes substantial interface changes. Existing code written for earlier
35
+ versions of this library will likely require updates to use this version.
36
+ See the {file:MIGRATING.md MIGRATING.md} document for more information.
33
37
 
34
38
  ## Enabling Logging
35
39
 
36
40
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
37
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
41
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
38
42
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
39
- that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
43
+ that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
40
44
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
41
45
 
42
46
  Configuring a Ruby stdlib logger:
@@ -67,3 +71,61 @@ in security maintenance, and not end of life. Currently, this means Ruby 2.4
67
71
  and later. Older versions of Ruby _may_ still work, but are unsupported and not
68
72
  recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
69
73
  about the Ruby support schedule.
74
+
75
+ ## Which client should I use?
76
+
77
+ Most modern Ruby client libraries for Google APIs come in two flavors: the main
78
+ client library with a name such as `grafeas`,
79
+ and lower-level _versioned_ client libraries with names such as
80
+ `grafeas-v1`.
81
+ _In most cases, you should install the main client._
82
+
83
+ ### What's the difference between the main client and a versioned client?
84
+
85
+ A _versioned client_ provides a basic set of data types and client classes for
86
+ a _single version_ of a specific service. (That is, for a service with multiple
87
+ versions, there might be a separate versioned client for each service version.)
88
+ Most versioned clients are written and maintained by a code generator.
89
+
90
+ The _main client_ is designed to provide you with the _recommended_ client
91
+ interfaces for the service. There will be only one main client for any given
92
+ service, even a service with multiple versions. The main client includes
93
+ factory methods for constructing the client objects we recommend for most
94
+ users. In some cases, those will be classes provided by an underlying versioned
95
+ client; in other cases, they will be handwritten higher-level client objects
96
+ with additional capabilities, convenience methods, or best practices built in.
97
+ Generally, the main client will default to a recommended service version,
98
+ although in some cases you can override this if you need to talk to a specific
99
+ service version.
100
+
101
+ ### Why would I want to use the main client?
102
+
103
+ We recommend that most users install the main client gem for a service. You can
104
+ identify this gem as the one _without_ a version in its name, e.g.
105
+ `grafeas`.
106
+ The main client is recommended because it will embody the best practices for
107
+ accessing the service, and may also provide more convenient interfaces or
108
+ tighter integration into frameworks and third-party libraries. In addition, the
109
+ documentation and samples published by Google will generally demonstrate use of
110
+ the main client.
111
+
112
+ ### Why would I want to use a versioned client?
113
+
114
+ You can use a versioned client if you are content with a possibly lower-level
115
+ class interface, you explicitly want to avoid features provided by the main
116
+ client, or you want to access a specific service version not be covered by the
117
+ main client. You can identify versioned client gems because the service version
118
+ is part of the name, e.g. `grafeas-v1`.
119
+
120
+ ### What about the google-apis-<name> clients?
121
+
122
+ Client library gems with names that begin with `google-apis-` are based on an
123
+ older code generation technology. They talk to a REST/JSON backend (whereas
124
+ most modern clients talk to a [gRPC](https://grpc.io/) backend) and they may
125
+ not offer the same performance, features, and ease of use provided by more
126
+ modern clients.
127
+
128
+ The `google-apis-` clients have wide coverage across Google services, so you
129
+ might need to use one if there is no modern client available for the service.
130
+ However, if a modern client is available, we generally recommend it over the
131
+ older `google-apis-` clients.
data/lib/grafeas.rb CHANGED
@@ -1,4 +1,6 @@
1
- # Copyright 2019 Google LLC
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
@@ -12,80 +14,30 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
15
18
 
16
- require "google/gax"
17
- require "pathname"
19
+ # Require this file early so that the version constant gets defined before
20
+ # requiring "google/cloud". This is because google-cloud-core will load the
21
+ # entrypoint (gem name) file, which in turn re-requires this file (hence
22
+ # causing a require cycle) unless the version constant is already defined.
23
+ require "grafeas/version"
18
24
 
19
- # rubocop:disable LineLength
25
+ require "googleauth"
20
26
 
21
- ##
22
- # # Ruby Client for Container Analysis API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
23
- #
24
- # [Container Analysis API][Product Documentation]:
25
- # An implementation of the Grafeas API, which stores, and enables querying and
26
- # retrieval of critical metadata about all of your software artifacts.
27
- # - [Product Documentation][]
28
- #
29
- # ## Quick Start
30
- # In order to use this library, you first need to go through the following
31
- # steps:
32
- #
33
- # 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
34
- # 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
35
- # 3. [Enable the Container Analysis API.](https://console.cloud.google.com/apis/library/grafeas.googleapis.com)
36
- # 4. [Setup Authentication.](https://googleapis.dev/ruby/grafeas/latest/file.AUTHENTICATION.html)
37
- #
38
- # ### Installation
39
- # ```
40
- # $ gem install grafeas
41
- # ```
42
- #
43
- # ### Next Steps
44
- # - Read the [Container Analysis API Product documentation][Product Documentation]
45
- # to learn more about the product and see How-to Guides.
46
- # - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
47
- # to see the full list of Cloud APIs that we cover.
48
- #
49
- # [Product Documentation]: https://grafeas.io/
50
- #
51
- # ## Enabling Logging
52
- #
53
- # To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
54
- # The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
55
- # or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
56
- # that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
57
- # and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
58
- #
59
- # Configuring a Ruby stdlib logger:
60
- #
61
- # ```ruby
62
- # require "logger"
63
- #
64
- # module MyLogger
65
- # LOGGER = Logger.new $stderr, level: Logger::WARN
66
- # def logger
67
- # LOGGER
68
- # end
69
- # end
70
- #
71
- # # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
72
- # module GRPC
73
- # extend MyLogger
74
- # end
75
- # ```
76
- #
77
27
  module Grafeas
78
- # rubocop:enable LineLength
79
-
80
- FILE_DIR = File.realdirpath(Pathname.new(__FILE__).join("..").join("grafeas"))
81
-
82
- AVAILABLE_VERSIONS = Dir["#{FILE_DIR}/*"]
83
- .select { |file| File.directory?(file) }
84
- .select { |dir| Google::Gax::VERSION_MATCHER.match(File.basename(dir)) }
85
- .select { |dir| File.exist?(dir + ".rb") }
86
- .map { |dir| File.basename(dir) }
87
-
88
28
  ##
29
+ # Create a new client object for Grafeas.
30
+ #
31
+ # By default, this returns an instance of
32
+ # [Grafeas::V1::Grafeas::Client](https://googleapis.dev/ruby/grafeas-v1/latest/Grafeas/V1/Grafeas/Client.html)
33
+ # for version V1 of the API.
34
+ # However, you can specify specify a different API version by passing it in the
35
+ # `version` parameter. If the Grafeas service is
36
+ # supported by that API version, and the corresponding gem is available, the
37
+ # appropriate versioned client will be returned.
38
+ #
39
+ # ## About Grafeas
40
+ #
89
41
  # [Grafeas](https://grafeas.io) API.
90
42
  #
91
43
  # Retrieves analysis results of Cloud components such as Docker container
@@ -101,54 +53,21 @@ module Grafeas
101
53
  # there would be one note for the vulnerability and an occurrence for each
102
54
  # image with the vulnerability referring to that note.
103
55
  #
104
- # @param version [Symbol, String]
105
- # The major version of the service to be used. By default :v1
106
- # is used.
107
- # @overload new(version:, credentials:, scopes:, client_config:, timeout:)
108
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
109
- # Provides the means for authenticating requests made by the client. This parameter can
110
- # be many types.
111
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
112
- # authenticating requests made by this client.
113
- # A `String` will be treated as the path to the keyfile to be used for the construction of
114
- # credentials for this client.
115
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
116
- # credentials for this client.
117
- # A `GRPC::Core::Channel` will be used to make calls through.
118
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
119
- # should already be composed with a `GRPC::Core::CallCredentials` object.
120
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
121
- # metadata for requests, generally, to give OAuth credentials.
122
- # @param scopes [Array<String>]
123
- # The OAuth scopes for this service. This parameter is ignored if
124
- # an updater_proc is supplied.
125
- # @param client_config [Hash]
126
- # A Hash for call options for each method. See
127
- # Google::Gax#construct_settings for the structure of
128
- # this data. Falls back to the default config if not specified
129
- # or the specified config is missing data points.
130
- # @param timeout [Numeric]
131
- # The default timeout, in seconds, for calls made through this client.
132
- # @param metadata [Hash]
133
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
134
- # @param service_address [String]
135
- # Override for the service hostname, or `nil` to leave as the default.
136
- # @param service_port [Integer]
137
- # Override for the service port, or `nil` to leave as the default.
138
- # @param exception_transformer [Proc]
139
- # An optional proc that intercepts any exceptions raised during an API call to inject
140
- # custom error handling.
141
- def self.new(*args, version: :v1, **kwargs)
142
- unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
143
- raise "The version: #{version} is not available. The available versions " \
144
- "are: [#{AVAILABLE_VERSIONS.join(", ")}]"
145
- end
56
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
57
+ # Defaults to `:v1`.
58
+ # @return [Grafeas::Client] A client object for the specified version.
59
+ #
60
+ def self.grafeas version: :v1, &block
61
+ require "grafeas/#{version.to_s.downcase}"
146
62
 
147
- require "#{FILE_DIR}/#{version.to_s.downcase}"
148
- version_module = Grafeas
149
- .constants
150
- .select {|sym| sym.to_s.downcase == version.to_s.downcase}
151
- .first
152
- Grafeas.const_get(version_module).new(*args, **kwargs)
63
+ package_name = Grafeas
64
+ .constants
65
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
66
+ .first
67
+ package_module = Grafeas.const_get package_name
68
+ package_module.const_get(:Grafeas).const_get(:Client).new(&block)
153
69
  end
154
70
  end
71
+
72
+ helper_path = ::File.join __dir__, "grafeas", "helpers.rb"
73
+ require "grafeas/helpers" if ::File.file? helper_path
@@ -1,4 +1,6 @@
1
- # Copyright 2019 Google LLC
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
@@ -12,7 +14,9 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
15
19
 
16
20
  module Grafeas
17
- VERSION = "0.2.0".freeze
21
+ VERSION = "1.0.1"
18
22
  end
metadata CHANGED
@@ -1,125 +1,127 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grafeas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-15 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: google-gax
14
+ name: google-cloud-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.8'
19
+ version: '1.5'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.8'
26
+ version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
- name: googleapis-common-protos
28
+ name: grafeas-v1
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 1.3.9
34
- - - "<"
31
+ - - "~>"
35
32
  - !ruby/object:Gem::Version
36
- version: '2.0'
33
+ version: '0.0'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: 1.3.9
44
- - - "<"
38
+ - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: '2.0'
40
+ version: '0.0'
47
41
  - !ruby/object:Gem::Dependency
48
- name: googleapis-common-protos-types
42
+ name: google-style
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 1.0.4
54
- - - "<"
45
+ - - "~>"
55
46
  - !ruby/object:Gem::Version
56
- version: '2.0'
57
- type: :runtime
47
+ version: 1.24.0
48
+ type: :development
58
49
  prerelease: false
59
50
  version_requirements: !ruby/object:Gem::Requirement
60
51
  requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: 1.0.4
64
- - - "<"
52
+ - - "~>"
65
53
  - !ruby/object:Gem::Version
66
- version: '2.0'
54
+ version: 1.24.0
67
55
  - !ruby/object:Gem::Dependency
68
- name: grpc-google-iam-v1
56
+ name: minitest
69
57
  requirement: !ruby/object:Gem::Requirement
70
58
  requirements:
71
59
  - - "~>"
72
60
  - !ruby/object:Gem::Version
73
- version: 0.6.9
74
- type: :runtime
61
+ version: '5.14'
62
+ type: :development
75
63
  prerelease: false
76
64
  version_requirements: !ruby/object:Gem::Requirement
77
65
  requirements:
78
66
  - - "~>"
79
67
  - !ruby/object:Gem::Version
80
- version: 0.6.9
68
+ version: '5.14'
81
69
  - !ruby/object:Gem::Dependency
82
- name: minitest
70
+ name: minitest-focus
83
71
  requirement: !ruby/object:Gem::Requirement
84
72
  requirements:
85
73
  - - "~>"
86
74
  - !ruby/object:Gem::Version
87
- version: '5.10'
75
+ version: '1.1'
88
76
  type: :development
89
77
  prerelease: false
90
78
  version_requirements: !ruby/object:Gem::Requirement
91
79
  requirements:
92
80
  - - "~>"
93
81
  - !ruby/object:Gem::Version
94
- version: '5.10'
82
+ version: '1.1'
95
83
  - !ruby/object:Gem::Dependency
96
- name: redcarpet
84
+ name: minitest-rg
97
85
  requirement: !ruby/object:Gem::Requirement
98
86
  requirements:
99
87
  - - "~>"
100
88
  - !ruby/object:Gem::Version
101
- version: '3.0'
89
+ version: '5.2'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
93
  requirements:
106
94
  - - "~>"
107
95
  - !ruby/object:Gem::Version
108
- version: '3.0'
96
+ version: '5.2'
109
97
  - !ruby/object:Gem::Dependency
110
- name: google-style
98
+ name: rake
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '12.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '12.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: redcarpet
111
113
  requirement: !ruby/object:Gem::Requirement
112
114
  requirements:
113
115
  - - "~>"
114
116
  - !ruby/object:Gem::Version
115
- version: 1.24.0
117
+ version: '3.0'
116
118
  type: :development
117
119
  prerelease: false
118
120
  version_requirements: !ruby/object:Gem::Requirement
119
121
  requirements:
120
122
  - - "~>"
121
123
  - !ruby/object:Gem::Version
122
- version: 1.24.0
124
+ version: '3.0'
123
125
  - !ruby/object:Gem::Dependency
124
126
  name: simplecov
125
127
  requirement: !ruby/object:Gem::Requirement
@@ -148,53 +150,20 @@ dependencies:
148
150
  - - "~>"
149
151
  - !ruby/object:Gem::Version
150
152
  version: '0.9'
151
- description: grafeas is the official library for the Grafeas API.
153
+ description: The Grafeas API stores, and enables querying and retrieval of, critical
154
+ metadata about all of your software artifacts.
152
155
  email: googleapis-packages@google.com
153
156
  executables: []
154
157
  extensions: []
155
158
  extra_rdoc_files: []
156
159
  files:
157
160
  - ".yardopts"
158
- - AUTHENTICATION.md
159
- - LICENSE
161
+ - LICENSE.md
162
+ - MIGRATING.md
160
163
  - README.md
161
164
  - lib/grafeas.rb
162
- - lib/grafeas/v1.rb
163
- - lib/grafeas/v1/attestation_pb.rb
164
- - lib/grafeas/v1/build_pb.rb
165
- - lib/grafeas/v1/common_pb.rb
166
- - lib/grafeas/v1/credentials.rb
167
- - lib/grafeas/v1/cvss_pb.rb
168
- - lib/grafeas/v1/deployment_pb.rb
169
- - lib/grafeas/v1/discovery_pb.rb
170
- - lib/grafeas/v1/doc/google/protobuf/any.rb
171
- - lib/grafeas/v1/doc/google/protobuf/empty.rb
172
- - lib/grafeas/v1/doc/google/protobuf/field_mask.rb
173
- - lib/grafeas/v1/doc/google/protobuf/timestamp.rb
174
- - lib/grafeas/v1/doc/google/rpc/status.rb
175
- - lib/grafeas/v1/doc/grafeas/v1/attestation.rb
176
- - lib/grafeas/v1/doc/grafeas/v1/build.rb
177
- - lib/grafeas/v1/doc/grafeas/v1/common.rb
178
- - lib/grafeas/v1/doc/grafeas/v1/cvss.rb
179
- - lib/grafeas/v1/doc/grafeas/v1/deployment.rb
180
- - lib/grafeas/v1/doc/grafeas/v1/discovery.rb
181
- - lib/grafeas/v1/doc/grafeas/v1/grafeas.rb
182
- - lib/grafeas/v1/doc/grafeas/v1/image.rb
183
- - lib/grafeas/v1/doc/grafeas/v1/package.rb
184
- - lib/grafeas/v1/doc/grafeas/v1/provenance.rb
185
- - lib/grafeas/v1/doc/grafeas/v1/upgrade.rb
186
- - lib/grafeas/v1/doc/grafeas/v1/vulnerability.rb
187
- - lib/grafeas/v1/grafeas_client.rb
188
- - lib/grafeas/v1/grafeas_client_config.json
189
- - lib/grafeas/v1/grafeas_pb.rb
190
- - lib/grafeas/v1/grafeas_services_pb.rb
191
- - lib/grafeas/v1/image_pb.rb
192
- - lib/grafeas/v1/package_pb.rb
193
- - lib/grafeas/v1/provenance_pb.rb
194
- - lib/grafeas/v1/upgrade_pb.rb
195
- - lib/grafeas/v1/vulnerability_pb.rb
196
165
  - lib/grafeas/version.rb
197
- homepage: https://github.com/googleapis/googleapis
166
+ homepage: https://github.com/googleapis/google-cloud-ruby
198
167
  licenses:
199
168
  - Apache-2.0
200
169
  metadata: {}
@@ -213,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
182
  - !ruby/object:Gem::Version
214
183
  version: '0'
215
184
  requirements: []
216
- rubygems_version: 3.0.6
185
+ rubygems_version: 3.2.6
217
186
  signing_key:
218
187
  specification_version: 4
219
188
  summary: API Client library for the Grafeas API