prick 0.39.1 → 0.39.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prick/subcommand/prick-list.rb +7 -6
- data/lib/prick/version.rb +1 -1
- data/lib/prick.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7284658fc884c598ceaab22482671eaaabfac49a014ad52af9a5e5da266d12f
|
4
|
+
data.tar.gz: bd7355b17aead0e95d971aa0235d64ebfea45bb0585dbafb2f33db3c70a1eb0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45433be3c8278c556c26be157a8dfd91eae168d6df7d71788ecce7f51a5a710193c24d33043d892a2492016d475e47b33745794c36cfbeae4171f792fa22e4df
|
7
|
+
data.tar.gz: 28f1e47f5253678b69301b26fc797aafcc88dbe46832441fec670f4f9ec9bbee38c3a0c1f2b35703fd83752f3eb821a6cacc424f2ec7766a1c226cd5055049f4
|
@@ -44,7 +44,6 @@ module Prick::SubCommand
|
|
44
44
|
else
|
45
45
|
# Timestamp of newest file under git control
|
46
46
|
newest_file = Command.command("ls -tr #{Git.list.join(" ")} | tail -1").last
|
47
|
-
p newest_file
|
48
47
|
fs_time = File.mtime(newest_file)
|
49
48
|
|
50
49
|
git_branch = Git.branch.current
|
@@ -67,14 +66,16 @@ module Prick::SubCommand
|
|
67
66
|
# Set state
|
68
67
|
row[:state] =
|
69
68
|
case [clean, same_revision, up2date]
|
70
|
-
in [true, true, true]; "clean" #
|
71
|
-
in [true, true, false]; "
|
72
|
-
in [true, false, _]; "
|
69
|
+
in [true, true, true]; "clean" # Built from clean repo
|
70
|
+
in [true, true, false]; "ok" # Clean repo but doesn't include latest uncommitted changes
|
71
|
+
in [true, false, _]; "clean" # Clean repo but different revision
|
73
72
|
|
74
|
-
in [false, true, true]; "
|
75
|
-
in [false, true, false]; "dirty" # Dirty repo
|
73
|
+
in [false, true, true]; "edge" # Dirty repo, work-in-progress
|
74
|
+
in [false, true, false]; "dirty" # Dirty repo and doesn't include latest changes
|
76
75
|
in [false, false, _]; "stale" # Dirty repo, no way back
|
77
76
|
end
|
77
|
+
elsif row[:success] == false
|
78
|
+
row[:state] = "fail"
|
78
79
|
else
|
79
80
|
row[:state] = "-"
|
80
81
|
end
|
data/lib/prick/version.rb
CHANGED
data/lib/prick.rb
CHANGED
@@ -55,6 +55,7 @@ require_relative 'prick/subcommand/prick-set.rb'
|
|
55
55
|
require_relative 'prick/subcommand/prick-setup.rb'
|
56
56
|
require_relative 'prick/subcommand/prick-snapshot.rb'
|
57
57
|
require_relative 'prick/subcommand/prick-teardown.rb'
|
58
|
+
require_relative 'prick/subcommand/prick-touch.rb'
|
58
59
|
|
59
60
|
module Prick
|
60
61
|
@state = nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.39.
|
4
|
+
version: 0.39.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Claus Rasmussen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: semantic
|