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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a3ef582ffee9479a2c7340d92a28b57fcbd05bf9c9edd40e32f5f14d8563062
4
- data.tar.gz: 4892adf616f324c4ed7de6eeff92837127ab2e267d92d98a33496be3d1a4f579
3
+ metadata.gz: 83ba3c4613d61cca1aaa85163d419a374047539b3d5f061e791b5729d6b04387
4
+ data.tar.gz: a4ed9d8545bc58c0839197e1147b755d6eb678a630fe4bb5b7ec57671f5dbe14
5
5
  SHA512:
6
- metadata.gz: 6dab62a4fdcd40dfd2932ab37a2324316f11222d8898bee92b765fbe35b938ded874b860be53a43d5266f686fbe41e2f4b3a9156fef90ff837a31977221c90d6
7
- data.tar.gz: 1a898dba61249ffaa0d706312226d8c5517b282c26cbe334b855b9ef604b5ab6386d95820f53ed4056cb70738dbb75ecf957eb58869c4192e286c66ddf503fa3
6
+ metadata.gz: e15681635a8ac5f39c8a855ea84832185355b26f0814464f98fe7b035ce99e6942dfc21af12d8290b3604a550122da5b696f580ab644b72290893fc7d61ccc60
7
+ data.tar.gz: 13568c227a4396b6214fa0d2df1a36d6bdf73ab0e959c7d883dc4bed7b43de780f7dcf8f31445c7cd33a63ec9ac5b91b57fea92ff7bbe3edcc98f5098b440795
data/lib/raykit/dotnet.rb CHANGED
@@ -171,7 +171,7 @@ module Raykit
171
171
  package_names
172
172
  end
173
173
 
174
- def self.get_rids()
174
+ def self.get_runtime_identifier()
175
175
  os = RbConfig::CONFIG["host_os"]
176
176
  cpu = RbConfig::CONFIG["host_cpu"]
177
177
 
@@ -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.545
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-01 00:00:00.000000000 Z
11
+ date: 2024-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler