raykit 0.0.441 → 0.0.443

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: 94b2cf08f83bf1471755f4243b3ff27fabed667151da409150ba95d089646619
4
- data.tar.gz: 3ecc869f957d7dfd88c30bc7b3504875f254d735b300af1e66a4f57c68b8a709
3
+ metadata.gz: 15ee49eb7a6946c02d37bf0ee1dfdf031e6660e5b68bcba735b7f432a44bc8e9
4
+ data.tar.gz: 3efbc4b1c843315b434ecc2c1e0f92ddb1871b3ea185b58d506d8018cf49f684
5
5
  SHA512:
6
- metadata.gz: c460af89b0c02547f76439e1d531f9ce29cab17750b346d71989f23913244203e460415d91236c434c5b10d56f26ce99f7bc7cdcbaa0852ffec6528afdba3551
7
- data.tar.gz: 1b9f0a3c4099667057e66854bebf7891e3f0203ec0a1065b5942fd559df1f7db99aa8232d10fd5d8fa352074bba64b5c940e90d3b8e026242488941c18190ca6
6
+ metadata.gz: 2da160fa12a8c697b0448f5d1acfab0059674f07111e64a4b48434849c20843b18c58e7bb93213cfd9ecf03fc6c68031e868d2db070b3317e8ccd03e98ee6030
7
+ data.tar.gz: c127f43376683d8609e95f3bc3187b2f5d602797184655ff4d43ae5c326a3ec96110f8b3ea94131a39346287b57f58c16a7f22445a88b0681e360ed67ea6fc2e
@@ -15,6 +15,7 @@ module Raykit
15
15
 
16
16
  def outstanding_commit?
17
17
  Dir.chdir(directory) do
18
+ return false if !File.exists?(".git")
18
19
  if user_can_commit
19
20
  return !`git status`.include?("nothing to commit,")
20
21
  else
data/lib/raykit.rb CHANGED
@@ -64,6 +64,10 @@ if defined?(RAYKIT_GLOBALS)
64
64
  end
65
65
  end
66
66
 
67
+ def tag(name)
68
+ puts Rainbow(": #{name}").blue.bright
69
+ end
70
+
67
71
  def start_task(task_name)
68
72
  Raykit::Log.start_task(task_name)
69
73
  end
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.441
4
+ version: 0.0.443
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-16 00:00:00.000000000 Z
11
+ date: 2023-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler