cron-kubernetes 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +3 -0
- data/cron-kubernetes.gemspec +1 -1
- data/lib/cron_kubernetes/context/well_known.rb +1 -1
- data/lib/cron_kubernetes/kubernetes_client.rb +1 -1
- data/lib/cron_kubernetes/scheduler.rb +2 -2
- data/lib/cron_kubernetes/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e5d2a957850a9948815b5d16adc3ffb7b649c96c8f6b2e87809fa0a60108bb7
|
4
|
+
data.tar.gz: 18fa886afcb6fc6747367d2d32529433de35e26b3376e2ff9fc5829bec130122
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a24f609ad87f0e55a5cdb98bad19b2af84a3cb195e08dc011f37c559365f216cd7b3e52b0469b451658c6bc04bca0f06df6aa9ec339337a712ccea04a35ae0f
|
7
|
+
data.tar.gz: 8f16e5079dd78b3728e6425bed90215621263cd2e3696ef062b52e033f76cc245567ad8b9c9a6bdda64fb47b078539b8fd55c6bbf11a7a875ddfe77cfa25d60c
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/cron-kubernetes.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.description = "Configure and deploy Kubernetes CronJobs from ruby with a single schedule."
|
15
15
|
spec.homepage = "https://github.com/keylimetoolbox/cron-kubernetes"
|
16
16
|
spec.license = "MIT"
|
17
|
-
spec.required_ruby_version = ">= 2
|
17
|
+
spec.required_ruby_version = ">= 3.2"
|
18
18
|
|
19
19
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
20
20
|
f.match(%r{^(test|spec|features)/})
|
@@ -17,7 +17,7 @@ module CronKubernetes
|
|
17
17
|
return CronKubernetes.kubeclient if CronKubernetes.kubeclient
|
18
18
|
return unless context
|
19
19
|
|
20
|
-
Kubeclient::Client.new(context.endpoint + scope, version || context.version, context.options)
|
20
|
+
Kubeclient::Client.new(context.endpoint + scope, version || context.version, **context.options)
|
21
21
|
end
|
22
22
|
|
23
23
|
def context
|
@@ -44,10 +44,10 @@ module CronKubernetes
|
|
44
44
|
|
45
45
|
def new_cron_job(schedule, command, name)
|
46
46
|
CronJob.new(
|
47
|
-
schedule
|
47
|
+
schedule:,
|
48
48
|
command: make_command(command),
|
49
49
|
job_manifest: CronKubernetes.manifest,
|
50
|
-
name
|
50
|
+
name:,
|
51
51
|
identifier: @identifier
|
52
52
|
)
|
53
53
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cron-kubernetes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Wadsack
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kubeclient
|
@@ -190,14 +190,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
190
190
|
requirements:
|
191
191
|
- - ">="
|
192
192
|
- !ruby/object:Gem::Version
|
193
|
-
version: '2
|
193
|
+
version: '3.2'
|
194
194
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
195
|
requirements:
|
196
196
|
- - ">="
|
197
197
|
- !ruby/object:Gem::Version
|
198
198
|
version: '0'
|
199
199
|
requirements: []
|
200
|
-
rubygems_version: 3.
|
200
|
+
rubygems_version: 3.3.3
|
201
201
|
signing_key:
|
202
202
|
specification_version: 4
|
203
203
|
summary: Configure and deploy Kubernetes CronJobs from ruby.
|