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 +4 -4
- data/lib/raykit/command.rb +6 -4
- data/lib/raykit/dotnet.rb +9 -0
- data/lib/raykit/vstest.rb +1 -0
- 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: 0d9a59e4ff1325cee028611d223c5d9e595db50088fd08291e0347e49708474d
|
4
|
+
data.tar.gz: 1b359e702c0fee09b6414e51d91988090ba91d0eb8a6509e8cc6769aa1b15a17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05dc9d70746eb0a20d3fe36ca22e19c9fb8d4d6a880d147d68dc3aef35bbc3d67917e4fd1c87503e375c441200c2c887ee409db9ba80290bc52465d72db2e50d
|
7
|
+
data.tar.gz: 4e9f598fc21100cefe8fe444259c02b6e6376081209f6f662a300972c1bdf750f48438b5af76a2ffd8f566209d485deb470a843b0b77f3916792e9d77e4c6ff7
|
data/lib/raykit/command.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2022-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|