raykit 0.0.378 → 0.0.381
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raykit/dotnet.rb +9 -0
- data/lib/raykit/vstest.rb +1 -0
- data/lib/raykit.rb +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 141e4af716dbbe6efdbd79a2046d5da3b16c32fd3b863dc3c0b4fd9335db79f2
|
4
|
+
data.tar.gz: 8b5790cfac6c3020d36160797bf32c9066c72c8353c24b2ba351c6c2a76cdaf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 114f6a4d311bed92745f71d58abfba95bda93d54406af0226b286471de1f30d46ef19708ab9e497be95fac89ecfee97aaa8273832c219719b74cfc45b2c83d53
|
7
|
+
data.tar.gz: 5d1e195bc156531bd2d4198d4411c8e5a6987c66ec9ed8c5850fdedeac8f9e858e99251c393376d7e8b92ed4e1d7ce940d18191713241bd1191445c0567360f8
|
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",
|
data/lib/raykit.rb
CHANGED
@@ -13,7 +13,9 @@ PROJECT = Raykit::Project.new
|
|
13
13
|
SECRETS = Raykit::Secrets.new
|
14
14
|
|
15
15
|
REPOSITORIES = Raykit::Git::Repositories.new("#{Raykit::Environment.get_dev_dir("log")}/Raykit.Git.Repositories.json")
|
16
|
-
GIT_DIRECTORY = Raykit::Git::Directory.new(Rake.application.original_dir)
|
16
|
+
GIT_DIRECTORY = Raykit::Git::Directory.new(Rake.application.original_dir)
|
17
|
+
|
18
|
+
PUBLISH_DIR = Raykit::Environment::get_dev_dir("publish")
|
17
19
|
|
18
20
|
# include Raykit::TopLevel to make run method accessible from the global scope
|
19
21
|
module Raykit
|
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.381
|
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
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
|
-
rubygems_version: 3.
|
145
|
+
rubygems_version: 3.2.22
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: ruby gem to support rake ci/cd tasks
|