google-cloud-tasks 2.0.0 → 2.1.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: ef0bf02f4c594d2f378071f953077c4d57468a11090a790a42eaf8da207f387c
4
- data.tar.gz: ef111f1f4f3f11bf2b9c40b7874389178ed0500735b6acf2eecd2e5416f25be4
3
+ metadata.gz: a8a86b2e7e3ce3a58ccb592dae831eb86ec31ae3742f431669967db048a11cff
4
+ data.tar.gz: 9e78fa7f2e22e69104e78cf46c94b4160ce666af21518f10c70b380c9ee2281e
5
5
  SHA512:
6
- metadata.gz: 1c134526f489d51567139e07dcf3b976586940dbdc0ae23f11060db1e9d57251338fbce1f8a76838e846c7979b4f269628531c51a63281ec0dedf5429b42f9fb
7
- data.tar.gz: 48686a894582c04ebc608b9c06139759ca4bc2527bbdcc0514fbf5c576376352b16b2a2b3f58e4c792053deb9806c9f64bbddbe6beeb039a6bb5f981256d9d2f
6
+ metadata.gz: 4ef42d9e7495d06150b8e00514d57a12df400ba545fda56d622e7bc79b8c3905b8335c7752f5ed3c7d2cfedfed7fd344efa41a66a4fbc767d793889c90200e1d
7
+ data.tar.gz: 23fcf0b9e4e89fdbeb0ad4b401ca0b5f20c9056b2302fb3cd82f1d246a5803941d6a426ee966e084ede8781ba4d20a6defa72fd240bbf2e109766c76c1f1d943
@@ -29,13 +29,16 @@ require "google/cloud/config"
29
29
 
30
30
  # Set the default configuration
31
31
  ::Google::Cloud.configure.add_config! :tasks 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, "cloudtasks.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
@@ -108,3 +111,6 @@ module Google
108
111
  end
109
112
  end
110
113
  end
114
+
115
+ helper_path = ::File.join __dir__, "tasks", "helpers.rb"
116
+ require "google/cloud/tasks/helpers" if ::File.file? helper_path
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Tasks
23
- VERSION = "2.0.0"
23
+ VERSION = "2.1.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-tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.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-18 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
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0.0'
69
- - !ruby/object:Gem::Dependency
70
- name: autotest-suffix
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '1.1'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '1.1'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: google-style
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -108,20 +94,6 @@ dependencies:
108
94
  - - "~>"
109
95
  - !ruby/object:Gem::Version
110
96
  version: '5.14'
111
- - !ruby/object:Gem::Dependency
112
- name: minitest-autotest
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '1.0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '1.0'
125
97
  - !ruby/object:Gem::Dependency
126
98
  name: minitest-focus
127
99
  requirement: !ruby/object:Gem::Requirement