raykit 0.0.448 → 0.0.450

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: '09b57d73340918dcb77a7f14d2056fbc605bda4e763ef3431c19e4178e580bd3'
4
- data.tar.gz: 0ad592ff96a3850a918a3df7d1dacbbd321af832850a6afbfca3d800de6040a8
3
+ metadata.gz: ae0dc7c6cb41e30f213fe9b3bedea20d0c888580d56e833556096ff1b3c8edef
4
+ data.tar.gz: 5ab69f1f78b95dabfe5da835e7e9ab113c4c49738013c70172e0d9762dc7b3e4
5
5
  SHA512:
6
- metadata.gz: 7830303209765f680da2afbdf4798fc2a2c3a5aca64187d61c168f24b29502399b8d333c6ab3ed3393ab19fa1efccd596094da8be3195c9162b11ea664230e85
7
- data.tar.gz: af9be09a68e741bc2112560c68cfe58a4b4905810cd3d6903b0f194e482e2ef388ef454ad1a509a2179c7c4cd5e50f3c717d4a3344c2cd49c4f13199cacd05f4
6
+ metadata.gz: 8a16c6c294204e086c89c8ac54dca93bf70463abeab2b00f3c4d965d40af1ee6fa9f69340b14e10d7f28c7f748dd86f7ec6cf66c29e65e2fdedaf8e528fe2eb9
7
+ data.tar.gz: 7951ffb0ef6d5b9b1da58193e44d9eb74bf071ba5b313aca42a7a489b86c93595720ec8595de6104168d28b8bcfa3bd3e283165abe488aec0171e0bb16304485
@@ -138,6 +138,10 @@ module Raykit
138
138
  @version
139
139
  end
140
140
 
141
+ def set_version(version)
142
+ @version = version
143
+ end
144
+
141
145
  # def update_version
142
146
  # @version=Raykit::Version.detect(@name,@verbose)
143
147
  # end
data/lib/raykit/tasks.rb CHANGED
@@ -38,12 +38,13 @@ end
38
38
 
39
39
  desc "push changes including tags"
40
40
  task :push do
41
+ puts Rainbow(": push").blue.bright
41
42
  git_dir = Raykit::Git::Directory.new(Rake.application.original_dir)
42
43
  if git_dir.detached?
43
44
  puts "detached head state, skipping push operations"
44
45
  else
45
- PROJECT.run("git push")
46
- PROJECT.run("git push --tags")
46
+ PROJECT.run("git push") if (!PROJECT.read_only?)
47
+ PROJECT.run("git push --tags") if (!PROJECT.read_only?)
47
48
  end
48
49
  end
49
50
 
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.448
4
+ version: 0.0.450
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-02-02 00:00:00.000000000 Z
11
+ date: 2023-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubygems_version: 3.3.7
148
+ rubygems_version: 3.2.22
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: ruby gem to support rake ci/cd tasks