raykit 0.0.517 → 0.0.519

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ef66adb0adfbce5a6b49b18fffc821da8d013073ce747c0397229e0d93271a4
4
- data.tar.gz: 29ee3573cb2d23909dcbe69300d3ed281d936ff08b3ce51a178e16ea4f48884a
3
+ metadata.gz: 50f1926132fe19685ffa83b76e043ce6f01386b58aff1b7181de61400c63e5fa
4
+ data.tar.gz: cd9ac5a43bde547a907a990d870169c37c945c869e347e1ec944e129429296bc
5
5
  SHA512:
6
- metadata.gz: 8ee5b659ba9e35aad066f938bb1278691cad6e72a2fd1287563b46b18962181dc0d73007372db4ba3a46f200c978372ed8dea093a7392ca4a07da77fe5806d0b
7
- data.tar.gz: 2e78d53b596bd6ca20f34fa6b6ecfedca462e94e2a499a32724f310979b6d8ebfa092ccfcdd26dad478a8c2f30257b27aa28811af6d3ddaf4d4a8a24198a4a15
6
+ metadata.gz: 45fefd6fac15a2fbb6ff31086f90f4e052f0c9427c524ea7c59a39d69c7a58e4e82c4f60afc135db08f55fab2b520a300b895515a50631f0e18b587fce32750d
7
+ data.tar.gz: 6454e091634983da13bf609027de4760ed9c0dbd5a89142f90efcb276353b141bf4cbf0ba69b57badb0f5e767532b55b0f9adf74a8d58b5bdd61da983de93fb7
@@ -15,7 +15,7 @@ module Raykit
15
15
  end
16
16
 
17
17
  def save_as(filename)
18
- File.write("rake.md", @text)
18
+ #File.write("rake.md", @text)
19
19
  end
20
20
  end
21
21
  end
data/lib/raykit/tasks.rb CHANGED
@@ -66,14 +66,6 @@ task :tag do
66
66
  GIT_DIRECTORY.tag_version PROJECT.version
67
67
  try "git push --tags"
68
68
  end
69
- #if (PROJECT.latest_tag != "v#{PROJECT.version}")
70
- # GIT_DIRECTORY.tag_version PROJECT.version
71
- #if (PROJECT.version != PROJECT.latest_tag)
72
- #try "git tag -a #{PROJECT.version} -m\"version #{PROJECT.version}\""
73
- # try "git push --tags"
74
- #else
75
- # puts " tag #{PROJECT.latest_tag} already exists."
76
- #end
77
69
  end
78
70
  end
79
71
 
@@ -53,6 +53,9 @@ module Raykit
53
53
  new_text = text.gsub(/<Version>([-\w\d.]+)</, "<Version>#{version}<") if filename.include?(".csproj")
54
54
  new_text = text.gsub(/<version>([-\w\d.]+)</, "<version>#{version}<") if filename.include?(".nuspec")
55
55
  new_text = text.gsub(/ Version="([\d\.]+)"/, " Version=\"#{version}\"") if filename.include?(".wxs")
56
+
57
+ new_text = text.gsub(/version\s+=\s+['"]([\w.]+)['"]/, "version=\"#{version}\"") if filename.include?(".toml")
58
+
56
59
  # new_text=text.gsub(/<Version>([-\w\d.]+)</,"<Version>#{version}<")
57
60
  # new_text=new_text.gsub(/version[\s]+=\s?['|"]([.\d]+)['|"]/,"version='#{version}'")
58
61
  # new_text=new_text.gsub(/Version="([.\d]+)"/,"Version=\"#{version}\"")
data/lib/raykit.rb CHANGED
@@ -21,6 +21,7 @@ lib_dir = File.dirname(__FILE__)
21
21
  Dir.glob("#{lib_dir}/raykit/**/*.rb").sort.each { |file| require file }
22
22
 
23
23
  # Constants
24
+ DEV_ROOT = Raykit::Environment::root_dir
24
25
  DEFAULT_GITIGNORE_CONTENT = Raykit::DefaultContent::gitignore unless defined?(DEFAULT_GITIGNORE_CONTENT)
25
26
  PROJECT = Raykit::Project.new
26
27
  SECRETS = Raykit::Secrets.new
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.517
4
+ version: 0.0.519
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-22 00:00:00.000000000 Z
11
+ date: 2024-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  requirements: []
154
- rubygems_version: 3.3.7
154
+ rubygems_version: 3.5.5
155
155
  signing_key:
156
156
  specification_version: 4
157
157
  summary: ruby gem to support rake ci/cd tasks