utils 0.53.0 → 0.53.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/git-md +2 -2
- data/lib/utils/version.rb +1 -1
- data/utils.gemspec +2 -2
- 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: 1deb48442f9c309ba990ff2f4988285d606d59b285673f853553d320edce06ab
|
4
|
+
data.tar.gz: 7b492fb0a07023edfb7c2e80f24e8edef4d274d584ca1bd5c90508e6fbab1cf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8b79a9322cbf23951638e20b833a7a37a28d1f68dabd7da8ac702094cfe9bdd6a3a5d91c44d8d77ed3f4a7c8a9a93fc18c47e39c2a93b44746f7069fba71c3b
|
7
|
+
data.tar.gz: a427f1951cc947496c83660bfeaf118bb17bf23dee8918c608c4a9c68e7e71f53a212a5d8624ec31cf65bd0857fd917fb0346472d8878c58c8ae7f406bc60876
|
data/bin/git-md
CHANGED
@@ -7,7 +7,7 @@ def markdown(message)
|
|
7
7
|
Ollama::Utils::ANSIMarkdown.parse(message)
|
8
8
|
end
|
9
9
|
|
10
|
-
cmd = %{git log --color=always --pretty=format:"commit %C(auto)%H%d%nDate: %Cgreen%cD (%cr)%Creset%nAuthor: %Cblue%an <%ae>%Creset%n%nMARKUP%n%s%n%n%
|
10
|
+
cmd = %{git log --color=always --pretty=format:"commit %C(auto)%H%d%nDate: %Cgreen%cD (%cr)%Creset%nAuthor: %Cblue%an <%ae>%Creset%n%nMARKUP%n%s%n%n%b%nMARKDOWN%n"}
|
11
11
|
|
12
12
|
IO.popen("#{cmd} #{Shellwords.join(ARGV)}") do |log|
|
13
13
|
until log.eof?
|
@@ -17,7 +17,7 @@ IO.popen("#{cmd} #{Shellwords.join(ARGV)}") do |log|
|
|
17
17
|
when /^MARKUP$/
|
18
18
|
message = ''
|
19
19
|
when /^MARKDOWN$/
|
20
|
-
puts markdown(message)
|
20
|
+
puts markdown(message + "\n---\n")
|
21
21
|
message = nil
|
22
22
|
else
|
23
23
|
if message
|
data/lib/utils/version.rb
CHANGED
data/utils.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: utils 0.53.
|
2
|
+
# stub: utils 0.53.1 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "utils".freeze
|
6
|
-
s.version = "0.53.
|
6
|
+
s.version = "0.53.1".freeze
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|