omglog 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/omglog.rb +2 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3150b2ceb99ef47a8037ee6f0387fe5dd69d4780
4
- data.tar.gz: bfa62b47fe865140d5dbe484eefc066dc0afad5d
3
+ metadata.gz: 9ad5672d570941365cb6b72d39c3ea817c9126c6
4
+ data.tar.gz: 4976d80ba4ddb2e600577fe38b57ad565f66c954
5
5
  SHA512:
6
- metadata.gz: d6b7952bafb262769254dc36c2300b84d74561e677e48f0f77d1df74d4a19f4f95e7b18cb6801ee58b9b84347962635c3a167d227252100d265734d978bfc7e5
7
- data.tar.gz: 7066c13146c1d1d91d58091aa0ba97d2440f2c8c3d776428f17b358fb07df44e5cb2c083e79f4bbc764139d6d0e01dc839c10a83ac948fb156dfced7eeb422d5
6
+ metadata.gz: f95bbf2eb6ad25debf580496b7c1cb6f80402a6e05f59343542e38a060f32ceb7df354f693d3247c0319ff7ccacdcc07b62700559068376398d91b8191716d00
7
+ data.tar.gz: ea4712a125526a0f1ddbd0a929964e319778e4809f9a9d241171517f1b5304d3a2164aafbb47e808ce1020015fdff4b5c4b37bf6c324c3fe8d25084773c2907b
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
3
  module Omglog
4
- VERSION = '0.0.9'
4
+ VERSION = '0.0.10'
5
5
 
6
6
  def run_on system
7
7
  Omglog::Base.run
@@ -60,6 +60,7 @@ module Omglog
60
60
  commit[0].chomp!(' ')
61
61
  commit[-2].sub!(/(\d+)\s(\w)[^\s]+ ago/, '\1\2 ago')
62
62
  commit.each{|c| c.sub!(/\t/, ' ')}
63
+ commit[-2].sub!(/^ (\w)\w+\s(\w).*,/, ' \1\2,')
63
64
  room = [cols - [commit[0].gsub(/\e\[[\d;]*m/, ''), commit[1..-2]].flatten.map(&:length).inject(&:+), SHORTEST_MESSAGE].max
64
65
  commit.tap {|commit|
65
66
  commit[-1, 0] = if commit[-1].length > room
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omglog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Hoskings
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-17 00:00:00.000000000 Z
11
+ date: 2013-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb-fsevent
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  version: '0'
70
70
  requirements: []
71
71
  rubyforge_project:
72
- rubygems_version: 2.0.1
72
+ rubygems_version: 2.0.3
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Live git logging using fseventsd.