devkitkat 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bin/push_tag +0 -0
- data/lib/devkitkat/command.rb +9 -1
- data/lib/devkitkat/executor/docker.rb +4 -0
- data/lib/devkitkat/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c8e0cac8fd55b83bbf79c69437ae954f12685585862bf3f9214d719e6307ef9
|
4
|
+
data.tar.gz: 6e52fbd0098ce6409936660ecc0cdad7f0ee2379cc98e50673986b0a86230498
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12be34a8773c592e1bec6c450ebbbf142028a97ebd00356617770a547f1f6d303ca6bc170b3889a67880ba08e701eb6e3df18b1c2a120273a367553490bf3ec2
|
7
|
+
data.tar.gz: 5dd7a65489b003297fc55715a060d616d674a76a849e2158fc642ca9618b500b9bb5ab2ec7edec0242a30459ef66a0ca55e2b1703d9445eca002b209ae2eb3f5
|
data/Gemfile.lock
CHANGED
data/bin/push_tag
CHANGED
File without changes
|
data/lib/devkitkat/command.rb
CHANGED
@@ -19,8 +19,12 @@ module Devkitkat
|
|
19
19
|
options[:variables]
|
20
20
|
end
|
21
21
|
|
22
|
+
def debug?
|
23
|
+
options[:debug]
|
24
|
+
end
|
25
|
+
|
22
26
|
def tmp_dir
|
23
|
-
File.join(kit_root, '
|
27
|
+
File.join(kit_root, '.devkitkat')
|
24
28
|
end
|
25
29
|
|
26
30
|
def create_tmp_dir
|
@@ -53,6 +57,10 @@ module Devkitkat
|
|
53
57
|
options[:variables].merge!(Hash[*v.split('=')])
|
54
58
|
end
|
55
59
|
|
60
|
+
opts.on("-d", "--debug", "Debug mode") do |v|
|
61
|
+
options[:debug] = v
|
62
|
+
end
|
63
|
+
|
56
64
|
opts.on("-d", "--depth DEPTH", "Git depth for pull/fetch") do |v|
|
57
65
|
options[:git_depth] = v
|
58
66
|
end
|
@@ -117,6 +117,10 @@ module Devkitkat
|
|
117
117
|
stdout_messages, stderr_messages, exit_code =
|
118
118
|
container.exec(cmds, params)
|
119
119
|
|
120
|
+
if command.debug?
|
121
|
+
puts "#{self.class.name} - #{__callee__}: stdout_messages: #{stdout_messages} stderr_messages: #{stderr_messages}"
|
122
|
+
end
|
123
|
+
|
120
124
|
exit_code == 0 ? true : false
|
121
125
|
end
|
122
126
|
|
data/lib/devkitkat/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devkitkat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shinya Maeda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|