google-cloud-recaptcha_enterprise 0.4.1 → 0.5.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/google/cloud/recaptcha_enterprise.rb +1 -1
- data/lib/google/cloud/recaptcha_enterprise/v1beta1.rb +1 -1
- data/lib/google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_client.rb +3 -0
- data/lib/google/cloud/recaptcha_enterprise/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: d343f8592e18d5eb2ddf0a5ca46c8f9a8e84db7802f13e06096ecdfdafec5d4d
|
4
|
+
data.tar.gz: 72b9d97b62dad046b05d6d00bf64f41d21cf7d782c3ce7bfa3f6d30cb1b8203a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7bd5f29ffd7179081e5a856b05ac3c45ff301c4b469cf981e0e7741148a255931f5811ed0b21563d6f808d82a66bdf9a577b6db635c569125fffa2fe4d94bce
|
7
|
+
data.tar.gz: 6c77e67694373f671a35fddfa5ef7fcd2849f5fcbc20f4154121366b20498f256c1953691cb76187efc5a212b17bf1fae9c621908858c6a63b918706c2b21148
|
data/README.md
CHANGED
@@ -21,7 +21,7 @@ module Google
|
|
21
21
|
# rubocop:disable LineLength
|
22
22
|
|
23
23
|
##
|
24
|
-
# # Ruby Client for reCAPTCHA Enterprise API
|
24
|
+
# # Ruby Client for reCAPTCHA Enterprise API
|
25
25
|
#
|
26
26
|
# [reCAPTCHA Enterprise API][Product Documentation]:
|
27
27
|
#
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
# rubocop:disable LineLength
|
23
23
|
|
24
24
|
##
|
25
|
-
# # Ruby Client for reCAPTCHA Enterprise API
|
25
|
+
# # Ruby Client for reCAPTCHA Enterprise API
|
26
26
|
#
|
27
27
|
# [reCAPTCHA Enterprise API][Product Documentation]:
|
28
28
|
#
|
@@ -194,6 +194,9 @@ module Google
|
|
194
194
|
google_api_client.freeze
|
195
195
|
|
196
196
|
headers = { :"x-goog-api-client" => google_api_client }
|
197
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
198
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
199
|
+
end
|
197
200
|
headers.merge!(metadata) unless metadata.nil?
|
198
201
|
client_config_file = Pathname.new(__dir__).join(
|
199
202
|
"recaptcha_enterprise_client_config.json"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-recaptcha_enterprise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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
|