google-cloud-access_approval 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 154fe3f13d7c2e68b8957abd486706b11806a3ac73093c66523260ea0fcb1c46
4
- data.tar.gz: d26d5b5de4ff8b21962fec04af6f789667143ffa1ff57bd8693290d2df026149
3
+ metadata.gz: c797835030ae1bd48d61b3778e9802993c8812fae344be4bcad07eba5f97df76
4
+ data.tar.gz: 2bc9ea4e18c232a6bcea3625cc0a73ab49a3dd271603d51a01937c7e15b1dbb3
5
5
  SHA512:
6
- metadata.gz: fb9b1922f5897b9d8088744b987d6cdba3e9836254109b04571a64d51195e0b6fed18ee1da1864fa54346c8bec9f84cd9e5a37e7ed9f0032fd60112c30859376
7
- data.tar.gz: c69c45522070614704cfac437144553be9a3080a7207f3fe0d7c2855f4c1a2c4928987496227e4544f0c451a6e36e64ded0b2ca3a375a552ebd302037ef52407
6
+ metadata.gz: e94df201bf658711904274a73a19fdd2720591022f7512ef6035fd22fa6c846ff756be9f2f2f8dea1249df3bf944f3b28f2cfb052b846ad7030fd6f3bc3f922c
7
+ data.tar.gz: b0ea5d57be45f1c9309727fe32466ab00d0496c47ab2f07417311c15af595fdd64a63b126ab094f5380e7b8a9bab58238eaefe071d1a1a9f19a52e7b49035c35
@@ -29,13 +29,16 @@ require "google/cloud/config"
29
29
 
30
30
  # Set the default configuration
31
31
  ::Google::Cloud.configure.add_config! :access_approval do |config|
32
- config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
33
- config.add_field! :lib_name, nil, match: ::String
34
- config.add_field! :lib_version, nil, match: ::String
35
- config.add_field! :interceptors, nil, match: ::Array
36
- config.add_field! :timeout, nil, match: ::Numeric
37
- config.add_field! :metadata, nil, match: ::Hash
38
- config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
32
+ config.add_field! :endpoint, "accessapproval.googleapis.com", match: ::String
33
+ config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
34
+ config.add_field! :scope, nil, match: [::Array, ::String]
35
+ config.add_field! :lib_name, nil, match: ::String
36
+ config.add_field! :lib_version, nil, match: ::String
37
+ config.add_field! :interceptors, nil, match: ::Array
38
+ config.add_field! :timeout, nil, match: ::Numeric
39
+ config.add_field! :metadata, nil, match: ::Hash
40
+ config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
41
+ config.add_field! :quota_project, nil, match: ::String
39
42
  end
40
43
 
41
44
  module Google
@@ -139,3 +142,6 @@ module Google
139
142
  end
140
143
  end
141
144
  end
145
+
146
+ helper_path = ::File.join __dir__, "access_approval", "helpers.rb"
147
+ require "google/cloud/access_approval/helpers" if ::File.file? helper_path
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module AccessApproval
23
- VERSION = "0.2.1"
23
+ VERSION = "0.3.0"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-access_approval
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
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-05-04 00:00:00.000000000 Z
11
+ date: 2020-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.0'
41
- - !ruby/object:Gem::Dependency
42
- name: autotest-suffix
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '1.1'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '1.1'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: google-style
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -80,20 +66,6 @@ dependencies:
80
66
  - - "~>"
81
67
  - !ruby/object:Gem::Version
82
68
  version: '5.14'
83
- - !ruby/object:Gem::Dependency
84
- name: minitest-autotest
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '1.0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '1.0'
97
69
  - !ruby/object:Gem::Dependency
98
70
  name: minitest-focus
99
71
  requirement: !ruby/object:Gem::Requirement