google-cloud-service_directory 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: aecca219a8961adf50779d79058325a1024783a43e354119b06d076a8971b84d
4
- data.tar.gz: f809efb5bc9344d9d7508531a04a2691aee56d648302aa529c6b5e6a05d10695
3
+ metadata.gz: 3c94819dcc38b863e284672f22aede7a8e0a498ec8209e05d9cc5e64671f2438
4
+ data.tar.gz: e87c0ebc124e18b3a3435e6f8edc650ec8f14978cb4a94c19dce388f9105d34a
5
5
  SHA512:
6
- metadata.gz: cc6fd625ea9a2164019689eeff8e087f6a018f00511693e12bda9e840e8a3993715c5df93eb8e7e69b89d8ec415023e8616201687c4badcd79660027657f92e9
7
- data.tar.gz: 883071cab90529006ba61660b794befbc99550af99f81aa5816db4655de18cd136e2c0f9043ee69a8b12c886f9c27c89152af96300094918851d07b9f01cf9a0
6
+ metadata.gz: 44c02723817d5cfa37c6bf401d2f98f09b4ae38f5fcdcb8b3566d1c2017e1e0b67dacf62daae468db10db26f46b78748195663a4d60ba649da0d9102e4a9c0f9
7
+ data.tar.gz: 95790796bb517bd2e0bd5d71c8da7f6f8a71a583db7465908fb5dd060aba4ee13babbeb7b5f1fe57484d44946a9e8a80790b6c1ce583e349edfea93d397e4cb2
@@ -29,13 +29,16 @@ require "google/cloud/config"
29
29
 
30
30
  # Set the default configuration
31
31
  ::Google::Cloud.configure.add_config! :service_directory 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, "servicedirectory.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
@@ -151,3 +154,6 @@ module Google
151
154
  end
152
155
  end
153
156
  end
157
+
158
+ helper_path = ::File.join __dir__, "service_directory", "helpers.rb"
159
+ require "google/cloud/service_directory/helpers" if ::File.file? helper_path
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module ServiceDirectory
19
- VERSION = "0.2.1".freeze
19
+ VERSION = "0.3.0".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-service_directory
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-05 00:00:00.000000000 Z
11
+ date: 2020-05-21 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.1'
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