raykit 0.0.325 → 0.0.326

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: b36cf42afb32c960dda2c2ea90611615e98c3f9543b78d90fd41fbc881ef35a7
4
- data.tar.gz: 5387ea01e2c8b2660d9d8e00a5756e1a2b7f4ec74e5ae370c1d20a736a8e2ca4
3
+ metadata.gz: 8b03662c8cedb6e2e5661562a7d1602ea64c97732b41f66a9156a7006580037d
4
+ data.tar.gz: 871b92663b0fc51c52d27498e2bd57f3e981acfd573970c98512054b57da5cc7
5
5
  SHA512:
6
- metadata.gz: 50ead5de4da7f5e0d3a97a93dde3b1811ef249c71e95699438e6a9ef216430ea48007857076508a4d8865f0e3ba68c43e9b39747f839afa70974c00b31ebef63
7
- data.tar.gz: 4e92cf8269008b0822e8c54b4c8b48fe6857cb7892eb9224f190b49bd303632a784464666ebc7de501385b2d311c54f61cb2ab94c7ecbed7708b6bd3ccca5028
6
+ metadata.gz: 190c9c3d09891549fd4f53cd9bfe7b8e8880754270f53184099b8927979ff62eeafebd195e08cb639d22031673f6f3e5255367a1d4ab2a74ee2ac9313deb66f4
7
+ data.tar.gz: 19bfcc016d2dc5db1a6bd070ef785b95dd8325baf3fbf630ad21e7a8f56e4cacc733b7feffecb8f62aa4dd09767ef5a990932561322f9b4fb14ac413cf4c3e0c
@@ -19,5 +19,18 @@ module Raykit
19
19
  end
20
20
  ""
21
21
  end
22
+
23
+ def self.msbuild_2019_path
24
+ ["2019/Enterprise/MSBuild/Current/Bin",
25
+ "2019/Professional/MSBuild/Current/Bin",
26
+ "2019/Community/MSBuild/Current/Bin"].each do |relative_path|
27
+ ["C:/Program Files/Microsoft Visual Studio/",
28
+ "C:/Program Files (x86)/Microsoft Visual Studio/"].each do |prog_path|
29
+ path = "#{prog_path}#{relative_path}"
30
+ return path if Dir.exist?(path)
31
+ end
32
+ end
33
+ ""
34
+ end
22
35
  end
23
36
  end
@@ -279,7 +279,7 @@ module Raykit
279
279
 
280
280
  def run(command, quit_on_failure = true)
281
281
  if command.is_a?(Array)
282
- command.each { |subcommand| run(subcommand, quit_on_failure, success_log_level) }
282
+ command.each { |subcommand| run(subcommand, quit_on_failure) }
283
283
  else
284
284
  cmd = Command.new(command).set_timeout(0).run
285
285
  cmd.summary
data/lib/raykit.rb CHANGED
@@ -14,4 +14,4 @@ SECRETS = Raykit::Secrets.new
14
14
  # TIMER=Raykit::Timer.new
15
15
 
16
16
  REPOSITORIES = Raykit::Git::Repositories.new("#{Raykit::Environment.get_dev_dir("log")}/Raykit.Git.Repositories.json")
17
- GIT_DIRECTORY = Raykit::Git::Directory.new(Rake.application.original_dir)# if Dir.exist?(".git")
17
+ GIT_DIRECTORY = Raykit::Git::Directory.new(Rake.application.original_dir) if Dir.exist?(".git")
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.325
4
+ version: 0.0.326
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-01-03 00:00:00.000000000 Z
11
+ date: 2022-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler