raykit 0.0.383 → 0.0.386
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raykit/command.rb +5 -1
- data/lib/raykit/installer.rb +1 -1
- data/lib/raykit/project.rb +3 -2
- 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: 1da58419ce9241c1c998edff6b3ce3b442e81d178abfe1ea5c0ad3d9ba2f4025
|
4
|
+
data.tar.gz: 561c8366933b6a1ddef0b6cd9d5b81f68faf6fbaa67a9ee0ebe81e0aa84bb49d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2eea61a60852c93666a6bdacd475f62a478c2257cda7340e7bb239607737f8e01acbe4257ad680beb62a2c289a206e00fbbf95ec305d29a02af47424959d2a5
|
7
|
+
data.tar.gz: 7ff7429d6e742410ca3d5d4deb7880da26dbad640a6aa4e13df5c23340bd088c44dc6367f9e641d55fab659e5cf3e6e8e3c6ba769f889accde714b32294606a9
|
data/lib/raykit/command.rb
CHANGED
@@ -63,6 +63,7 @@ module Raykit
|
|
63
63
|
@output, @error, process_status = Open3.capture3(@command)
|
64
64
|
@exitstatus = process_status.exitstatus
|
65
65
|
else
|
66
|
+
# =================================================
|
66
67
|
#puts "@timeout is #{@timeout}"
|
67
68
|
Open3.popen3(@command, chdir: @directory) do |_stdin, stdout, stderr, thread|
|
68
69
|
tick = 1
|
@@ -92,6 +93,8 @@ module Raykit
|
|
92
93
|
@exitstatus = thread.value.exitstatus
|
93
94
|
end
|
94
95
|
end
|
96
|
+
|
97
|
+
# =================================================
|
95
98
|
end
|
96
99
|
@elapsed = timer.elapsed
|
97
100
|
if @logging_enabled
|
@@ -187,7 +190,7 @@ module Raykit
|
|
187
190
|
symbol = Rainbow(error.encode("utf-8")).red if @exitstatus != 0
|
188
191
|
cmd = "#{Rainbow(SECRETS.hide(@command)).yellow}"
|
189
192
|
if show_directory
|
190
|
-
puts "#{symbol} #{cmd} " + Rainbow("#{elapsed_str}").cyan
|
193
|
+
puts "#{symbol} #{cmd} " + Rainbow("#{elapsed_str}").cyan
|
191
194
|
puts Rainbow(" #{@directory}").cyan
|
192
195
|
else
|
193
196
|
puts "#{symbol} #{Rainbow(SECRETS.hide(@command)).yellow} (#{elapsed_str})"
|
@@ -202,6 +205,7 @@ module Raykit
|
|
202
205
|
end
|
203
206
|
|
204
207
|
def details
|
208
|
+
puts "exit_code: " + @exitstatus.to_s
|
205
209
|
if @output.length > 0
|
206
210
|
@output.lines.each do |line|
|
207
211
|
puts " " + line
|
data/lib/raykit/installer.rb
CHANGED
@@ -8,7 +8,7 @@ module Raykit
|
|
8
8
|
Dir.chdir(source_dir) do
|
9
9
|
run("candle #{File.basename(wxs_file)}")
|
10
10
|
run("light #{name}.wixobj")
|
11
|
-
FileUtils.cp("#{
|
11
|
+
FileUtils.cp("#{name}.msi", msi_filename)
|
12
12
|
raise "#{msi_filename} does not exist" if !File.exists?(msi_filename)
|
13
13
|
File.delete("#{name}.wixobj")
|
14
14
|
end
|
data/lib/raykit/project.rb
CHANGED
@@ -294,8 +294,9 @@ module Raykit
|
|
294
294
|
if !cmd.exitstatus.nil? && cmd.exitstatus.zero?
|
295
295
|
else
|
296
296
|
# display error details
|
297
|
-
|
298
|
-
|
297
|
+
cmd.details
|
298
|
+
#puts cmd.output
|
299
|
+
#$stderr.puts cmd.error
|
299
300
|
if quit_on_failure
|
300
301
|
abort
|
301
302
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raykit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.386
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|