raykit 0.0.449 → 0.0.450

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/raykit/tasks.rb +3 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7bb3f2df58a7c228f21279fa100cd2060b49d5223c9b70a006c2c6c25700ad2a
4
- data.tar.gz: f5bfea753a1dba8f5c0e705348b2844328a7d096b903abdcc012079554363247
3
+ metadata.gz: ae0dc7c6cb41e30f213fe9b3bedea20d0c888580d56e833556096ff1b3c8edef
4
+ data.tar.gz: 5ab69f1f78b95dabfe5da835e7e9ab113c4c49738013c70172e0d9762dc7b3e4
5
5
  SHA512:
6
- metadata.gz: 776a703b0d9db2bce3b5d73db1a38b44b7c702b45e888b66f0b03f79dfb038fdb76cde56834217de1df998210c905fd15d37b3e835c43ecc30cbc5a5d61cfa57
7
- data.tar.gz: f7ff83de387b52563d3de41dd77e8e290a974f9b459b67b3e75135c0e12df78ecad641c9c842dd861eea7d632ae8e027ebed91c2b2b3bc40a5e83f5abdc7d6c6
6
+ metadata.gz: 8a16c6c294204e086c89c8ac54dca93bf70463abeab2b00f3c4d965d40af1ee6fa9f69340b14e10d7f28c7f748dd86f7ec6cf66c29e65e2fdedaf8e528fe2eb9
7
+ data.tar.gz: 7951ffb0ef6d5b9b1da58193e44d9eb74bf071ba5b313aca42a7a489b86c93595720ec8595de6104168d28b8bcfa3bd3e283165abe488aec0171e0bb16304485
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.449
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-09 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