raykit 0.0.545 → 0.0.547
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 +1 -1
- data/lib/raykit/version.rb +5 -0
- data/lib/raykit.rb +3 -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: 83ba3c4613d61cca1aaa85163d419a374047539b3d5f061e791b5729d6b04387
|
4
|
+
data.tar.gz: a4ed9d8545bc58c0839197e1147b755d6eb678a630fe4bb5b7ec57671f5dbe14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e15681635a8ac5f39c8a855ea84832185355b26f0814464f98fe7b035ce99e6942dfc21af12d8290b3604a550122da5b696f580ab644b72290893fc7d61ccc60
|
7
|
+
data.tar.gz: 13568c227a4396b6214fa0d2df1a36d6bdf73ab0e959c7d883dc4bed7b43de780f7dcf8f31445c7cd33a63ec9ac5b91b57fea92ff7bbe3edcc98f5098b440795
|
data/lib/raykit/dotnet.rb
CHANGED
data/lib/raykit/version.rb
CHANGED
@@ -14,6 +14,11 @@ module Raykit
|
|
14
14
|
version = detect_from_file("src/#{name}/#{name}.csproj", /<Version>([-\w\d.]+)</)
|
15
15
|
return version if version.length.positive?
|
16
16
|
|
17
|
+
Dir.glob("**/*.csproj").each { |csproj|
|
18
|
+
version = detect_from_file(csproj, /<Version>([-\w\d.]+)</)
|
19
|
+
return version if version.length.positive?
|
20
|
+
}
|
21
|
+
|
17
22
|
version = detect_from_file("#{name}/Properties/AssemblyInfo.cs", /^\[assembly: AssemblyVersion\("([.\w]+)/)
|
18
23
|
return version if version.length.positive?
|
19
24
|
|
data/lib/raykit.rb
CHANGED
@@ -26,6 +26,9 @@ DEFAULT_GITIGNORE_CONTENT = Raykit::DefaultContent::gitignore unless defined?(DE
|
|
26
26
|
unless defined?(VERSION)
|
27
27
|
VERSION = Raykit::Version.detect(File.basename(RAKE_DIRECTORY))
|
28
28
|
end
|
29
|
+
unless defined?(RUNTIME_IDENTIFIER)
|
30
|
+
RUNTIME_IDENTIFIER = Raykit::DotNet::get_runtime_identifier()
|
31
|
+
end
|
29
32
|
PROJECT = Raykit::Project.new
|
30
33
|
SECRETS = Raykit::Secrets.new
|
31
34
|
REPOSITORIES = Raykit::Git::Repositories.new("#{Raykit::Environment.get_dev_dir("log")}/Raykit.Git.Repositories.json")
|
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.547
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|