prick 0.39.2 → 0.39.3

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: 0b3c76ef9f644ada7f30e7e0be4bfdce0fa7375b3e9fa6e638854a144a2af7b9
4
- data.tar.gz: 79ec3c5a7c7147394813c2cf6b700f81afd1269f8082c5a4fd3707da015575b8
3
+ metadata.gz: d7284658fc884c598ceaab22482671eaaabfac49a014ad52af9a5e5da266d12f
4
+ data.tar.gz: bd7355b17aead0e95d971aa0235d64ebfea45bb0585dbafb2f33db3c70a1eb0f
5
5
  SHA512:
6
- metadata.gz: 61049a5e2b5a81e0503d2e2b478b30def5de17b8a9d42619b3dfabfb41019d8faaa1768abf5b1ed5ca6f822237d9dc92075ec89ba9210f738b2940b9d425283b
7
- data.tar.gz: 65c8751521748ff1d5fb8e8fc3f9693139659bdc94c44129faffe9e35345bd418ae7c0d64841ce6689552da28c6e79993be20ff8e7e90422ee3d20b05a04a8cd
6
+ metadata.gz: 45433be3c8278c556c26be157a8dfd91eae168d6df7d71788ecce7f51a5a710193c24d33043d892a2492016d475e47b33745794c36cfbeae4171f792fa22e4df
7
+ data.tar.gz: 28f1e47f5253678b69301b26fc797aafcc88dbe46832441fec670f4f9ec9bbee38c3a0c1f2b35703fd83752f3eb821a6cacc424f2ec7766a1c226cd5055049f4
@@ -66,14 +66,16 @@ module Prick::SubCommand
66
66
  # Set state
67
67
  row[:state] =
68
68
  case [clean, same_revision, up2date]
69
- in [true, true, true]; "clean" # Clean repo
70
- in [true, true, false]; "clean" # Clean repo but doesn't include latest uncommitted changes
71
- in [true, false, _]; "detached" # Clean repo but different revision
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
72
72
 
73
- in [false, true, true]; "ok" # Dirty repo, work-in-progress
74
- in [false, true, false]; "dirty" # Dirty repo, but doesn't include latest changes
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
75
75
  in [false, false, _]; "stale" # Dirty repo, no way back
76
76
  end
77
+ elsif row[:success] == false
78
+ row[:state] = "fail"
77
79
  else
78
80
  row[:state] = "-"
79
81
  end
data/lib/prick/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Prick
4
- VERSION = "0.39.2"
4
+ VERSION = "0.39.3"
5
5
  end
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.2
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-04 00:00:00.000000000 Z
11
+ date: 2024-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semantic