k8s_kit 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +3 -1
- data/bin/k8s_kit +6 -8
- data/k8s_kit.gemspec +1 -0
- data/lib/k8s_kit/job.rb +2 -0
- data/lib/k8s_kit/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae82ed840f67c3d5b93bc0ad43344c0555e13339ac98f333f91fedc3d4d9f581
|
4
|
+
data.tar.gz: ed004036d732b17ce26b7f4605987d710c436fbc7c58929c7596f60918693943
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 315fb26d24571178050e397b48ed56b6e75a0b126675ca4cf902e32d9ddc77b92922237be8a5d5674ade1522c3e3b1729ae9df0dbb744ce0dad49db3f520b05a
|
7
|
+
data.tar.gz: 03d1d2feba03d735b4f1cb595a20ab43e0c7550a49f3964b38fbbd2e4199ad593c145a16cc195bdd3683f821e63ef6c73e3a39b6c76c8874d6462564bf3818fe
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
k8s_kit (0.0.
|
4
|
+
k8s_kit (0.0.3)
|
5
5
|
gli (= 2.18.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -16,6 +16,7 @@ GEM
|
|
16
16
|
thor (~> 0.19)
|
17
17
|
backports (3.15.0)
|
18
18
|
builder (3.2.3)
|
19
|
+
byebug (11.0.1)
|
19
20
|
childprocess (2.0.0)
|
20
21
|
rake (< 13.0)
|
21
22
|
contracts (0.16.0)
|
@@ -54,6 +55,7 @@ PLATFORMS
|
|
54
55
|
|
55
56
|
DEPENDENCIES
|
56
57
|
aruba
|
58
|
+
byebug
|
57
59
|
k8s_kit!
|
58
60
|
rake
|
59
61
|
rdoc
|
data/bin/k8s_kit
CHANGED
@@ -1,13 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require 'gli'
|
3
|
-
begin # XXX: Remove this begin/rescue before distributing your app
|
4
3
|
require 'k8s_kit'
|
5
|
-
rescue LoadError
|
6
|
-
STDERR.puts "In development, you need to use `bundle exec bin/k8s_kit` to run your app"
|
7
|
-
STDERR.puts "At install-time, RubyGems will make sure lib, etc. are in the load path"
|
8
|
-
STDERR.puts "Feel free to remove this message from bin/k8s_kit now"
|
9
|
-
exit 64
|
10
|
-
end
|
11
4
|
|
12
5
|
class App
|
13
6
|
extend GLI::App
|
@@ -66,7 +59,12 @@ class App
|
|
66
59
|
on_error do |exception|
|
67
60
|
# Error logic here
|
68
61
|
# return false to skip default error handling
|
69
|
-
|
62
|
+
case exception
|
63
|
+
when SystemExit
|
64
|
+
exit exception.status
|
65
|
+
else
|
66
|
+
true
|
67
|
+
end
|
70
68
|
end
|
71
69
|
end
|
72
70
|
|
data/k8s_kit.gemspec
CHANGED
@@ -14,6 +14,7 @@ spec = Gem::Specification.new do |s|
|
|
14
14
|
s.rdoc_options << '--title' << 'k8s_kit' << '--main' << 'README.rdoc' << '-ri'
|
15
15
|
s.bindir = 'bin'
|
16
16
|
s.executables << 'k8s_kit'
|
17
|
+
s.add_development_dependency('byebug')
|
17
18
|
s.add_development_dependency('rake')
|
18
19
|
s.add_development_dependency('rdoc')
|
19
20
|
s.add_development_dependency('aruba')
|
data/lib/k8s_kit/job.rb
CHANGED
data/lib/k8s_kit/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: k8s_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Your Name Here
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: byebug
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: rake
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|