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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c828e44a429e53ea482db36f73d436ae0bd50f2e0fd29f405269164c2ecaffeb
4
- data.tar.gz: d36ba9b58c9b5917d59c56ee10ab2d43ae4095f348a4659b2de775d45ef4ed18
3
+ metadata.gz: 2c8e0cac8fd55b83bbf79c69437ae954f12685585862bf3f9214d719e6307ef9
4
+ data.tar.gz: 6e52fbd0098ce6409936660ecc0cdad7f0ee2379cc98e50673986b0a86230498
5
5
  SHA512:
6
- metadata.gz: 03bb3dac490680c1e9bc89c5f591715ca80d67603427597f8575ee4fa27ff66882eb9f02d68982698f3e4a3d8c57375dc003618ad940ef1a996942a6562c1369
7
- data.tar.gz: f2579faac883350329517258cbe82b625c17361ded566522c6448b17907480638d37b4efaa0a8b7d4a532a1f7339312638bd9f300ac73d407ecdfca5f7615c2a
6
+ metadata.gz: 12be34a8773c592e1bec6c450ebbbf142028a97ebd00356617770a547f1f6d303ca6bc170b3889a67880ba08e701eb6e3df18b1c2a120273a367553490bf3ec2
7
+ data.tar.gz: 5dd7a65489b003297fc55715a060d616d674a76a849e2158fc642ca9618b500b9bb5ab2ec7edec0242a30459ef66a0ca55e2b1703d9445eca002b209ae2eb3f5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- devkitkat (0.1.6)
4
+ devkitkat (0.1.8)
5
5
  activesupport (~> 6.0.0)
6
6
  colorize (~> 0.8.1)
7
7
  docker-api (~> 1.34.2)
data/bin/push_tag CHANGED
File without changes
@@ -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, 'tmp')
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
 
@@ -1,3 +1,3 @@
1
1
  module Devkitkat
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
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.8
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-21 00:00:00.000000000 Z
11
+ date: 2019-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler