nd-shell_scripts 0.1.2 → 0.1.3
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 +4 -4
- data/exe/colorized_prompt +1 -1
- data/exe/ensure_gems_installed +1 -0
- data/exe/gc +11 -9
- data/lib/nd/shell_scripts/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e65116073b428403aa051e8f10cad56331a32653
|
4
|
+
data.tar.gz: 240f1e38d1656b921ed77c9ea4307b284f4d27ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0384bfd3e148863650686678bc4f9d19a6ef3da35618850a99f5e6089e359008dfe23e6a05ec52a80953be518ea669c567febdf5828b71b4e736915913cdda51
|
7
|
+
data.tar.gz: b7d13a41d5337563b8fea940c26d10ec7b958a2ae6faac6cfc3a78006da957b8c755957bfefdf4b1b3fd26e4f14821bac718d200760f055f10837545f643c527
|
data/exe/colorized_prompt
CHANGED
data/exe/ensure_gems_installed
CHANGED
data/exe/gc
CHANGED
@@ -2,14 +2,22 @@
|
|
2
2
|
require_relative '../lib/nd/shell_scripts'
|
3
3
|
include Nd::ShellScripts
|
4
4
|
|
5
|
-
|
5
|
+
def record_commit_in_harvest_app(args, total_time)
|
6
|
+
if command_exists? 'hcl'
|
7
|
+
`hcl note "
|
8
|
+
|
9
|
+
COMMIT: #{args} #{total_time}"`
|
10
|
+
end
|
11
|
+
end
|
6
12
|
|
7
|
-
record_commit_in_harvest_app(args, total_time)
|
8
13
|
|
9
|
-
execute_and_record "git commit -m \"#{args} #{total_time}\""
|
10
14
|
|
11
15
|
|
16
|
+
total_time = `rpt commit_time`.gsub('"','')
|
12
17
|
|
18
|
+
record_commit_in_harvest_app(args, total_time)
|
19
|
+
|
20
|
+
execute_and_record "git commit -m \"#{args} #{total_time}\""
|
13
21
|
|
14
22
|
|
15
23
|
|
@@ -17,10 +25,4 @@ execute_and_record "git commit -m \"#{args} #{total_time}\""
|
|
17
25
|
|
18
26
|
|
19
27
|
|
20
|
-
def record_commit_in_harvest_app(args, total_time)
|
21
|
-
if command_exists? 'hcl'
|
22
|
-
`hcl note "
|
23
28
|
|
24
|
-
COMMIT: #{args} #{total_time}"`
|
25
|
-
end
|
26
|
-
end
|