raykit 0.0.353 → 0.0.356

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3239483f502fa2a639742dbed60ac186fd9a07670e4f58f4b391e0b26463b1ae
4
- data.tar.gz: 750ea76e1ed331c7ac05638a37f4b3f45bed89cf836af6cc02448be5363d1c80
3
+ metadata.gz: 970051f5c9d31324b069f975e5e82e848bdb3a2c4979b1d5dcb377140d1423bd
4
+ data.tar.gz: b421db4b69c0517e222e5c0e432b59fe245b6e214f9688044c348136b277eb73
5
5
  SHA512:
6
- metadata.gz: bf6f72ac5611a9e21d4b67d71bfe78bcd4c0e1475848b10d65d6972744d198e9ded111f8d2a0fc8ad9e4b92a2658176ae81239ce82e901d7874e691e2d27a331
7
- data.tar.gz: 1e7fe8d31e1a37ac3502b219ab30b48d2c76071e2123258ed1c1c77de01cbff8a4270ab239a66e038e32a691627ddfe913a8e9a02c626e8c4f7ee945969347d7
6
+ metadata.gz: be8c067cfd59687b092f1f1c892ff618cfb53061c2adfdaf8f98ecaa69618e00641553e029a02705871422599ddebf3597ee8a78a218780b93544a7a9ed8946a
7
+ data.tar.gz: 0cf5624255668b456ab3d41230846374d3fa16084eec4689709dad8e7a8e04c10e4fa57ec3dcfadbe63b62ac08d04e1f4bf82178b8ad8cb5ce64835688acd7e4
@@ -36,8 +36,8 @@ module Raykit
36
36
  def self.get_dev_dir(name)
37
37
  dir = Pathname.new("#{Environment.root_dir}/#{name}")
38
38
  dir.mkpath
39
- if(dir.to_s.include?("https:") || dir.to_s.include?("http:"))
40
- dir.to_s.gsub("https://", ".").gsub("http://",".").gsub("//", "/")
39
+ if (dir.to_s.include?("https:") || dir.to_s.include?("http:"))
40
+ dir.to_s.gsub("https://", ".").gsub("http://", ".").gsub("//", "/")
41
41
  else
42
42
  dir
43
43
  end
@@ -10,7 +10,7 @@ module Raykit
10
10
  # C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin
11
11
  def self.msbuild_path
12
12
  ["2022/Community/Msbuild/Current/Bin",
13
- "2022/Professional/Msbuild/Current/Bin",
13
+ "2022/Professional/Msbuild/Current/Bin",
14
14
  "2019/Enterprise/MSBuild/Current/Bin",
15
15
  "2019/Professional/MSBuild/Current/Bin",
16
16
  "2019/Community/MSBuild/Current/Bin",
@@ -290,16 +290,22 @@ module Raykit
290
290
  else
291
291
  cmd = Command.new(command).set_timeout(@timeout).run
292
292
  cmd.summary
293
- cmd.save
294
293
  elapsed_str = Timer.get_elapsed_str(cmd.elapsed, 0)
295
294
  if !cmd.exitstatus.nil? && cmd.exitstatus.zero?
296
295
  else
297
296
  # display error details
298
297
  #puts cmd.output
299
- puts cmd.error
300
- puts
301
- abort "#{Rainbow(elapsed_str).red.bright} #{Rainbow(cmd.command).white}" if quit_on_failure
298
+ $stderr.puts cmd.error
299
+ if quit_on_failure
300
+ abort #""#$cmd.error
301
+ #else
302
+ # $stderr.puts cmd.error
303
+ end
304
+
305
+ #puts
306
+ #abort "#{Rainbow(elapsed_str).red.bright} #{Rainbow(cmd.command).white}" if quit_on_failure
302
307
  end
308
+ cmd.save
303
309
  cmd
304
310
  end
305
311
  end
data/lib/raykit/zip.rb CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  require "zip"
3
2
 
4
3
  module Raykit
@@ -54,7 +53,7 @@ module Raykit
54
53
  #f.puts(fr.read)
55
54
  fr.close()
56
55
  f.close()
57
- count=count+1
56
+ count = count + 1
58
57
  }
59
58
  end
60
59
  zipfile.close
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raykit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.353
4
+ version: 0.0.356
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow