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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21f05ea58a7b07704aa6572c3f201eae89e464d4edf724d1dca42207feb6dcd6
4
- data.tar.gz: 8186f8020edca70be3570c90690c942aa1296329df5f6bff1e31be5635e25947
3
+ metadata.gz: 1deb48442f9c309ba990ff2f4988285d606d59b285673f853553d320edce06ab
4
+ data.tar.gz: 7b492fb0a07023edfb7c2e80f24e8edef4d274d584ca1bd5c90508e6fbab1cf9
5
5
  SHA512:
6
- metadata.gz: 1ceac9a0dd84f3deccdccaa1655cee0182e878b1d5151bac426e759330665dade75094ecdab5d72e4e61e8cd00442e38ed0a58cb371c921025d26574f24f4f8d
7
- data.tar.gz: 3644e14c5df97f7d086063d6f1f401e9ca639b097963733142b814e3eea1cd0ff585aa3e30e5c76c856ce240b6207829005e17bac61dccd7b9e75646d9f586f7
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%bMARKDOWN"}
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
@@ -1,6 +1,6 @@
1
1
  module Utils
2
2
  # Utils version
3
- VERSION = '0.53.0'
3
+ VERSION = '0.53.1'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
data/utils.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: utils 0.53.0 ruby lib
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.0".freeze
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]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.0
4
+ version: 0.53.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank