omglog 0.0.8 → 0.0.9

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/omglog.rb +2 -1
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ff53e8bb67e23c88f4e90a656a975a9ce5fb6b2
4
- data.tar.gz: 70ebceb7bff7ef566276cf64c102e01875949df7
3
+ metadata.gz: 3150b2ceb99ef47a8037ee6f0387fe5dd69d4780
4
+ data.tar.gz: bfa62b47fe865140d5dbe484eefc066dc0afad5d
5
5
  SHA512:
6
- metadata.gz: 6d6216eab4c4bfcf65623677d473f1c2c7789047313fd9b3737f6f643b5347f797c0e21ce9fe9a9fad8acd606bcd9756f1ee00870a8c76509aac178e90d82a42
7
- data.tar.gz: 88a967611cb00c29f37db230643ac337d538ebb17aa9bbbc74c28bb494ae2fb48021c5d712f24d93702e326291abfbf1e8f9ef36d80da371a3b867ab464c1ea9
6
+ metadata.gz: d6b7952bafb262769254dc36c2300b84d74561e677e48f0f77d1df74d4a19f4f95e7b18cb6801ee58b9b84347962635c3a167d227252100d265734d978bfc7e5
7
+ data.tar.gz: 7066c13146c1d1d91d58091aa0ba97d2440f2c8c3d776428f17b358fb07df44e5cb2c083e79f4bbc764139d6d0e01dc839c10a83ac948fb156dfced7eeb422d5
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
3
  module Omglog
4
- VERSION = '0.0.8'
4
+ VERSION = '0.0.9'
5
5
 
6
6
  def run_on system
7
7
  Omglog::Base.run
@@ -59,6 +59,7 @@ module Omglog
59
59
  def self.arrange_commit commit, cols
60
60
  commit[0].chomp!(' ')
61
61
  commit[-2].sub!(/(\d+)\s(\w)[^\s]+ ago/, '\1\2 ago')
62
+ commit.each{|c| c.sub!(/\t/, ' ')}
62
63
  room = [cols - [commit[0].gsub(/\e\[[\d;]*m/, ''), commit[1..-2]].flatten.map(&:length).inject(&:+), SHORTEST_MESSAGE].max
63
64
  commit.tap {|commit|
64
65
  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.8
4
+ version: 0.0.9
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-02-16 00:00:00.000000000 Z
11
+ date: 2013-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb-fsevent
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.8.8
41
- description: Realtime git logging using fseventsd. omg!
41
+ description: Live git logging using fseventsd. omg!
42
42
  email: ben@hoskings.net
43
43
  executables:
44
44
  - omglog
@@ -69,8 +69,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  version: '0'
70
70
  requirements: []
71
71
  rubyforge_project:
72
- rubygems_version: 2.0.0.rc.2
72
+ rubygems_version: 2.0.1
73
73
  signing_key:
74
74
  specification_version: 4
75
- summary: Realtime git logging using fseventsd.
75
+ summary: Live git logging using fseventsd.
76
76
  test_files: []