grafeas 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/grafeas.rb +1 -1
- data/lib/grafeas/v1.rb +1 -1
- data/lib/grafeas/v1/grafeas_client.rb +3 -0
- data/lib/grafeas/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74d5cf12c67064ffa316b0c296f164b18549617f6ae5c125e90af7d1d5c5d130
|
4
|
+
data.tar.gz: 12dd971cd3f9c4e36ba940e2e9d8ac674490bf23e24e5c056970699d82f73368
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9e3aa376090948e915d0b1b2c2bc65f0b2d509e99ba0bf5156370b1312b3bbc409e9bba3f84f3c6b0e9448b64f8a2431d4d7938bb13f79eea8c18251cb424e0
|
7
|
+
data.tar.gz: 5d15ea07728ddda822326a62b5ec16d4a253b3ae67506614f07950116a1eaa5759b6ddc575b15b7bea727fb93533aa0d94a9ce50539e6937f4296f98bbd48d91
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Ruby Client for Container Analysis API
|
1
|
+
# Ruby Client for Container Analysis API
|
2
2
|
|
3
3
|
[Container Analysis API][Product Documentation]:
|
4
4
|
An implementation of the Grafeas API, which stores, and enables querying and
|
data/lib/grafeas.rb
CHANGED
@@ -19,7 +19,7 @@ require "pathname"
|
|
19
19
|
# rubocop:disable LineLength
|
20
20
|
|
21
21
|
##
|
22
|
-
# # Ruby Client for Container Analysis API
|
22
|
+
# # Ruby Client for Container Analysis API
|
23
23
|
#
|
24
24
|
# [Container Analysis API][Product Documentation]:
|
25
25
|
# An implementation of the Grafeas API, which stores, and enables querying and
|
data/lib/grafeas/v1.rb
CHANGED
@@ -19,7 +19,7 @@ module Grafeas
|
|
19
19
|
# rubocop:disable LineLength
|
20
20
|
|
21
21
|
##
|
22
|
-
# # Ruby Client for Container Analysis API
|
22
|
+
# # Ruby Client for Container Analysis API
|
23
23
|
#
|
24
24
|
# [Container Analysis API][Product Documentation]:
|
25
25
|
# An implementation of the Grafeas API, which stores, and enables querying and
|
@@ -213,6 +213,9 @@ module Grafeas
|
|
213
213
|
google_api_client.freeze
|
214
214
|
|
215
215
|
headers = { :"x-goog-api-client" => google_api_client }
|
216
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
217
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
218
|
+
end
|
216
219
|
headers.merge!(metadata) unless metadata.nil?
|
217
220
|
client_config_file = Pathname.new(__dir__).join(
|
218
221
|
"grafeas_client_config.json"
|
data/lib/grafeas/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grafeas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
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-
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|