raykit 0.0.377 → 0.0.380

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: 6ef57575da0ddc7701bd2a6786fd1e82e55f04d5c9b2a0f39e141f610e44d30d
4
- data.tar.gz: ba90016ee76b6492278a04037679f3f44c39b07f751e49e48572c746a0e1f040
3
+ metadata.gz: 0d9a59e4ff1325cee028611d223c5d9e595db50088fd08291e0347e49708474d
4
+ data.tar.gz: 1b359e702c0fee09b6414e51d91988090ba91d0eb8a6509e8cc6769aa1b15a17
5
5
  SHA512:
6
- metadata.gz: 839c085f6b02cf01f6b92759876f56effa9e733373ad5e5e58d4067aa725715d69636ba8873fca2d6b7b3322e0368223cf56fc32b8cb267888ef5bbfe963b3b9
7
- data.tar.gz: '08f64edf04ff82d9097baeb9ad98fb3dcb890810688480a5c9524111971a5d709d85abdc3e6522a69b60388d9c6e88a4199b5d20f32ad3fea887e8d6b8b8fc31'
6
+ metadata.gz: 05dc9d70746eb0a20d3fe36ca22e19c9fb8d4d6a880d147d68dc3aef35bbc3d67917e4fd1c87503e375c441200c2c887ee409db9ba80290bc52465d72db2e50d
7
+ data.tar.gz: 4e9f598fc21100cefe8fe444259c02b6e6376081209f6f662a300972c1bdf750f48438b5af76a2ffd8f566209d485deb470a843b0b77f3916792e9d77e4c6ff7
@@ -195,6 +195,12 @@ module Raykit
195
195
  self
196
196
  end
197
197
 
198
+ def details_on_failure
199
+ if @exitstatus != 0
200
+ details
201
+ end
202
+ end
203
+
198
204
  def details
199
205
  if @output.length > 0
200
206
  @output.lines.each do |line|
@@ -206,10 +212,6 @@ module Raykit
206
212
  puts " " + line
207
213
  end
208
214
  end
209
- # summary
210
- #puts @output
211
- #puts @error
212
- #puts
213
215
  end
214
216
 
215
217
  def save
data/lib/raykit/dotnet.rb CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  module Raykit
4
4
  class DotNet
5
+ def self.init_new(name, template)
6
+ if (!File.exists?("#{name}/#{name}.csproj"))
7
+ puts " #{name}.csproj not found, creating..."
8
+ run("dotnet new #{template} --name #{name} --output #{name} --language C# ")
9
+ else
10
+ puts " #{name}.csproj already exists"
11
+ end
12
+ end
13
+
5
14
  # initialize a C# library
6
15
  def self.initialize_csharp_lib(name)
7
16
  puts `dotnet new sln --name #{name}` unless File.exist?("#{name}.sln")
data/lib/raykit/vstest.rb CHANGED
@@ -4,6 +4,7 @@ module Raykit
4
4
  class VsTest
5
5
  def self.vstest_path
6
6
  ["2022/Community/Common7/IDE/CommonExtensions/Microsoft/TestWindow",
7
+ "2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow",
7
8
  "2019/Community/Common7/IDE/CommonExtensions/Microsoft",
8
9
  "2019/Professional/Common7/IDE/Extensions/TestPlatform",
9
10
  "2019/Community/Common7/IDE/Extensions",
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.377
4
+ version: 0.0.380
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-05-22 00:00:00.000000000 Z
11
+ date: 2022-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler