grog 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -13,6 +13,15 @@ A wrapper script for git-log - shows subject, time and author of each commit plu
13
13
  bump version in a commit by itself I can ignore when I pull)
14
14
  * Send me a pull request. Bonus points for topic branches.
15
15
 
16
+ == Todo
17
+
18
+ * Pipe output through the fancy show-in-less-only-if-there-are-more-lines-than-screen script
19
+ * Create --no-color option
20
+ * Improve performance by slashing some shell calls to git commands
21
+ * Accept a commit range as a command line parameter
22
+ * Fix tag/branch ambiguity issues
23
+ * Show 'shadows' or remote branches (commit that is the latest in common with a remote branch)
24
+
16
25
  == Copyright
17
26
 
18
27
  Copyright (c) 2009 Tom ten Thij. See LICENSE for details.
data/Rakefile CHANGED
@@ -10,7 +10,9 @@ begin
10
10
  gem.email = "git@tomtenthij.nl"
11
11
  gem.homepage = "http://github.com/tomtt/grog"
12
12
  gem.authors = ["Tom ten Thij"]
13
+ gem.add_dependency "term-ansicolor", ">= 1.0.4"
13
14
  gem.add_development_dependency "rspec", ">= 1.2.9"
15
+ gem.add_development_dependency "ruby-debug", ">= 0.10.3"
14
16
  gem.add_development_dependency "cucumber", ">= 0"
15
17
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
18
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
data/grog.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{grog}
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tom ten Thij"]
12
- s.date = %q{2009-11-02}
12
+ s.date = %q{2009-11-03}
13
13
  s.default_executable = %q{grog}
14
14
  s.description = %q{A wrapper script for git-log}
15
15
  s.email = %q{git@tomtenthij.nl}
@@ -39,7 +39,8 @@ Gem::Specification.new do |s|
39
39
  "spec/grog/options_spec.rb",
40
40
  "spec/grog_spec.rb",
41
41
  "spec/spec.opts",
42
- "spec/spec_helper.rb"
42
+ "spec/spec_helper.rb",
43
+ "spec/test_git_repo.tgz"
43
44
  ]
44
45
  s.homepage = %q{http://github.com/tomtt/grog}
45
46
  s.rdoc_options = ["--charset=UTF-8"]
@@ -58,14 +59,20 @@ Gem::Specification.new do |s|
58
59
  s.specification_version = 3
59
60
 
60
61
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
62
+ s.add_runtime_dependency(%q<term-ansicolor>, [">= 1.0.4"])
61
63
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
64
+ s.add_development_dependency(%q<ruby-debug>, [">= 0.10.3"])
62
65
  s.add_development_dependency(%q<cucumber>, [">= 0"])
63
66
  else
67
+ s.add_dependency(%q<term-ansicolor>, [">= 1.0.4"])
64
68
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
69
+ s.add_dependency(%q<ruby-debug>, [">= 0.10.3"])
65
70
  s.add_dependency(%q<cucumber>, [">= 0"])
66
71
  end
67
72
  else
73
+ s.add_dependency(%q<term-ansicolor>, [">= 1.0.4"])
68
74
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
75
+ s.add_dependency(%q<ruby-debug>, [">= 0.10.3"])
69
76
  s.add_dependency(%q<cucumber>, [">= 0"])
70
77
  end
71
78
  end
data/lib/grog/git_log.rb CHANGED
@@ -81,7 +81,7 @@ module Grog
81
81
  def self.hash_from_rev_names(rev_names)
82
82
  hash = Hash.new { |hash, key| hash[key] = [] }
83
83
  rev_names.each do |rev_name|
84
- sha1 = GitLog.first_line_of_command("git-rev-parse #{rev_name}")
84
+ sha1 = GitLog.first_line_of_command("git rev-parse #{rev_name}")
85
85
  hash[sha1] << rev_name
86
86
  end
87
87
  hash
@@ -94,7 +94,7 @@ module Grog
94
94
  end
95
95
 
96
96
  def get_all_tags
97
- tag_names = GitLog.lines_of_command("git-tag")
97
+ tag_names = GitLog.lines_of_command("git tag")
98
98
  @tags = GitLog.hash_from_rev_names(tag_names)
99
99
  end
100
100
 
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom ten Thij
@@ -9,9 +9,19 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-02 00:00:00 +00:00
12
+ date: 2009-11-03 00:00:00 +00:00
13
13
  default_executable: grog
14
14
  dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: term-ansicolor
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.0.4
24
+ version:
15
25
  - !ruby/object:Gem::Dependency
16
26
  name: rspec
17
27
  type: :development
@@ -22,6 +32,16 @@ dependencies:
22
32
  - !ruby/object:Gem::Version
23
33
  version: 1.2.9
24
34
  version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: ruby-debug
37
+ type: :development
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 0.10.3
44
+ version:
25
45
  - !ruby/object:Gem::Dependency
26
46
  name: cucumber
27
47
  type: :development
@@ -63,6 +83,7 @@ files:
63
83
  - spec/grog_spec.rb
64
84
  - spec/spec.opts
65
85
  - spec/spec_helper.rb
86
+ - spec/test_git_repo.tgz
66
87
  has_rdoc: true
67
88
  homepage: http://github.com/tomtt/grog
68
89
  licenses: []