grog 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -0,0 +1,2 @@
1
+ default: --strict --tags ~@wip --format progress -r features
2
+
@@ -1,5 +1,6 @@
1
1
  require 'term/ansicolor'
2
2
  require 'grog/list_hash'
3
+ require 'date'
3
4
 
4
5
  module Grog
5
6
  class GitLog
@@ -2,5 +2,11 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
2
  require 'grog/git_log'
3
3
 
4
4
  describe Grog::GitLog do
5
- it "should do stuff"
5
+ describe ".nice_date_format" do
6
+ it "should return the correct UTC date in the '%Y-%m-%d %H:%M'" do
7
+ pending
8
+ Grog::GitLog.nice_date_format("2010-05-04 02:39:41 +0100").should ==
9
+ "2010-05-04 03:39"
10
+ end
11
+ end
6
12
  end
@@ -1,8 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
3
  describe "Grog" do
4
- it "fails" do
5
- pending
6
- fail "hey buddy, you should probably rename this file and start specing for real"
7
- end
8
4
  end
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 6
9
+ version: 0.0.6
5
10
  platform: ruby
6
11
  authors:
7
12
  - Tom ten Thij
@@ -9,49 +14,63 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2009-11-16 00:00:00 +00:00
17
+ date: 2010-04-04 00:00:00 +01:00
13
18
  default_executable: grog
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: term-ansicolor
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 1
29
+ - 0
30
+ - 4
23
31
  version: 1.0.4
24
- version:
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  - !ruby/object:Gem::Dependency
26
35
  name: rspec
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
30
38
  requirements:
31
39
  - - ">="
32
40
  - !ruby/object:Gem::Version
41
+ segments:
42
+ - 1
43
+ - 2
44
+ - 9
33
45
  version: 1.2.9
34
- version:
46
+ type: :development
47
+ version_requirements: *id002
35
48
  - !ruby/object:Gem::Dependency
36
49
  name: ruby-debug
37
- type: :development
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
40
52
  requirements:
41
53
  - - ">="
42
54
  - !ruby/object:Gem::Version
55
+ segments:
56
+ - 0
57
+ - 10
58
+ - 3
43
59
  version: 0.10.3
44
- version:
60
+ type: :development
61
+ version_requirements: *id003
45
62
  - !ruby/object:Gem::Dependency
46
63
  name: cucumber
47
- type: :development
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
64
+ prerelease: false
65
+ requirement: &id004 !ruby/object:Gem::Requirement
50
66
  requirements:
51
67
  - - ">="
52
68
  - !ruby/object:Gem::Version
69
+ segments:
70
+ - 0
53
71
  version: "0"
54
- version:
72
+ type: :development
73
+ version_requirements: *id004
55
74
  description: A wrapper script for git-log
56
75
  email: git@tomtenthij.nl
57
76
  executables:
@@ -69,6 +88,7 @@ files:
69
88
  - Rakefile
70
89
  - VERSION
71
90
  - bin/grog
91
+ - cucumber.yml
72
92
  - features/grog.feature
73
93
  - features/step_definitions/common_steps.rb
74
94
  - features/step_definitions/git_steps.rb
@@ -98,18 +118,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
98
118
  requirements:
99
119
  - - ">="
100
120
  - !ruby/object:Gem::Version
121
+ segments:
122
+ - 0
101
123
  version: "0"
102
- version:
103
124
  required_rubygems_version: !ruby/object:Gem::Requirement
104
125
  requirements:
105
126
  - - ">="
106
127
  - !ruby/object:Gem::Version
128
+ segments:
129
+ - 0
107
130
  version: "0"
108
- version:
109
131
  requirements: []
110
132
 
111
133
  rubyforge_project:
112
- rubygems_version: 1.3.5
134
+ rubygems_version: 1.3.6
113
135
  signing_key:
114
136
  specification_version: 3
115
137
  summary: A wrapper script for git-log - shows subject, time and author of each commit plus branches and tags