google-cloud-scheduler 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: 2c6303660b2f4115dd0a712618f226a0dd41b947e30382a4b0ad6a3833161e45
4
- data.tar.gz: a09191b2d6242b3dafd11800f40207832178e023b121e03fb0af786f812b8960
3
+ metadata.gz: 0fef3aa1839ff5c5fcaf278aa5fb03b522bc8dc218b9b230b0781c388b2cb664
4
+ data.tar.gz: 2a6bf024d3272c5ff9e3be45bb4fe30cf7a1f9a351ce71e092b8fe4f09e4c028
5
5
  SHA512:
6
- metadata.gz: 12c28fae62e19765dd8042e54806e2eda5ba02a0b0ce896fbff7de81f1529cce2bb76846f706e7c8189325e269fa323df1327fbc6ed31b0a535e460dce5d42da
7
- data.tar.gz: 8cf1dff4079ede20c0afaae113e6eb52ff401a2ef84deb534fb6b8541dd1a6922e112b6c0bff8c661123912e6ad0a5bd220342bdfd053a5c42a9e7812d508f5b
6
+ metadata.gz: '095c224fa7ad170ff6e6056428eccb18a85dea51c9187e9583be6371f8525ab2e9e8f9b8f71aa6eb42d0d53b5d99ed18f09f75df9599cb378e8c1cd0dfe6cd6f'
7
+ data.tar.gz: e3b9cf8c7130c75266abaf960664ccfed643bfd7c806177c240a073363b33f95c221df60ae732d05ce65ddd48db7c6c8cbdcb0ed9c2bf07b61a8dd21c65c2959
@@ -29,13 +29,16 @@ require "google/cloud/config"
29
29
 
30
30
  # Set the default configuration
31
31
  ::Google::Cloud.configure.add_config! :scheduler 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, "cloudscheduler.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__, "scheduler", "helpers.rb"
116
+ require "google/cloud/scheduler/helpers" if ::File.file? helper_path
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Scheduler
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-scheduler
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
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.0'
55
- - !ruby/object:Gem::Dependency
56
- name: autotest-suffix
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.1'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.1'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: google-style
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -94,20 +80,6 @@ dependencies:
94
80
  - - "~>"
95
81
  - !ruby/object:Gem::Version
96
82
  version: '5.14'
97
- - !ruby/object:Gem::Dependency
98
- name: minitest-autotest
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '1.0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '1.0'
111
83
  - !ruby/object:Gem::Dependency
112
84
  name: minitest-focus
113
85
  requirement: !ruby/object:Gem::Requirement