c80_git_bash 0.1.0.2 → 0.1.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 85b6ad81e83d60d7defe06110304d02196f5f132
4
- data.tar.gz: 25f0146b54dc1b97492685d1df67af4b4dd60f63
3
+ metadata.gz: 6580e56850be083c0f47ec7200f0c3210c9f2c17
4
+ data.tar.gz: 63800be3738ceec72dd1fce81aeccbc1d0f6d668
5
5
  SHA512:
6
- metadata.gz: 8227ec6a5e8169a834cd1d28bb54eba29ca9e24d1f7e3db87a39b973ba7f00fdb4deb9a4508449a6e4903de4cf2f75253a2c8b230e9b7dd0f55602e1eb877988
7
- data.tar.gz: 43c0815bd1be30a5dc57dd24bb24c1b506ce69b4f82564ab1344b8236d51ecec4586d458134be23f4807c25b10ae32c3857f05976a0000a51d709a7bb328c826
6
+ metadata.gz: '09e8c6426e4cad906b8ca75f9984934291378e206ac31513ea3f4a83028533d01f60b3885939ff47fd89d7f22ac49480cb78c43d62e55be3dccd87c28da76dfa'
7
+ data.tar.gz: 1327587ff61fa5405917b550ea54abd2f7def4fc749f57903bdcbabdf485753f7186f1d7b493603d0faaad1813dfe349d52eaf4940c5710053f2829776322924
@@ -58,15 +58,15 @@ module C80GitBash
58
58
  # noinspection RubyEmptyRescueBlockInspection
59
59
  begin
60
60
  g = Git.open(d)
61
- log_last = g.log.last
61
+ log_last = g.log.first
62
62
 
63
63
  d = format_git_date(log_last.date)
64
64
  m = format_git_message_join(log_last.message)
65
65
 
66
66
 
67
- puts "\t#{f}#{d} #{m}"
67
+ puts " #{f}#{d} #{m}"
68
68
  rescue Git::GitExecuteError
69
- puts "\t#{f}[#{''.ljust(10,'-')}] #{RED}GitExecuteError#{CLEAR}"
69
+ puts " #{f}[#{''.ljust(10,'-')}] #{RED}GitExecuteError#{CLEAR}"
70
70
  rescue ArgumentError
71
71
  end
72
72
 
@@ -12,7 +12,7 @@ module C80GitBash
12
12
  CYAN = "\e[36m"
13
13
  WHITE = "\e[37m"
14
14
 
15
- LOG_MESSAGE_LINE_SIZE = 60
15
+ LOG_MESSAGE_LINE_SIZE = 85
16
16
  FILENAME_PADDING = 25
17
17
  DATE_PADDING = 13
18
18
 
@@ -34,7 +34,7 @@ module C80GitBash
34
34
 
35
35
  def format_git_message_join(s)
36
36
  m = self.format_git_message(s)
37
- m.join("#{BLACK}\n\t#{''.ljust(FILENAME_PADDING + DATE_PADDING - 1, '.')}#{CLEAR} ")
37
+ m.join("#{BLACK}\n #{''.ljust(FILENAME_PADDING + DATE_PADDING - 1, '.')}#{CLEAR} ")
38
38
  end
39
39
 
40
40
  def format_git_date(d)
@@ -1,3 +1,3 @@
1
1
  module C80GitBash
2
- VERSION = '0.1.0.2'
2
+ VERSION = '0.1.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: c80_git_bash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.2
4
+ version: 0.1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - C80609A