thicket 0.1.0 → 0.1.1
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/lib/thicket/log.rb +2 -2
- data/lib/thicket/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4442ba4df6f0ce281ca09fd2c4751350e7b13f49f1eb78ba9564335d46b469f3
|
4
|
+
data.tar.gz: 5040b9341e0c53943d64efc7fcc1055eac04c4592f6a2221780d2b941890ad1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 442c2f8fe25e501cb4402c5cc9ea7e7a8b0d107a2a510ead969e28e83f94136c3762e795849c5a8a637eca667df4ca77871d771a57638f7392d8153a767cc218
|
7
|
+
data.tar.gz: cc5139320611fd9aa2bcd798cd2ce1bc5aa15cb20739ae22d0cfeeafdbd1266d970b33ff36ed3898c5646e2a8853ff2fc5b36cc783a28f7c73e44c72e30d8058
|
data/lib/thicket/log.rb
CHANGED
@@ -54,7 +54,7 @@ module Thicket
|
|
54
54
|
prefix_regex = %r{^(?=.*[0-9])([A-Z\d-]+?[: \/])}
|
55
55
|
message.match(prefix_regex) do |matcher|
|
56
56
|
prefix = matcher[1]
|
57
|
-
line.sub!(/([^\/])#{prefix}/, "\\1\e[
|
57
|
+
line.sub!(/([^\/])#{prefix}/, "\\1\e[30m#{prefix}\e[m")
|
58
58
|
end
|
59
59
|
end
|
60
60
|
|
@@ -102,7 +102,7 @@ module Thicket
|
|
102
102
|
# Includes all formatting and color escape codes.
|
103
103
|
def git_log_command
|
104
104
|
format = "%C(yellow)%h %Cgreen%aI %Cblue{%an}%Cred%d %Creset%s"
|
105
|
-
cmd = "#{git_executable} log --oneline --decorate --color " \
|
105
|
+
cmd = +"#{git_executable} log --oneline --decorate --color " \
|
106
106
|
"--graph --pretty=format:'#{format}'"
|
107
107
|
cmd << " --all" if @options[:all]
|
108
108
|
|
data/lib/thicket/version.rb
CHANGED