bigtiger-rolex 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -26,7 +26,7 @@ class Rolex
26
26
 
27
27
  def report_for(date)
28
28
  date = date_for(date)
29
- commits = repo.commits_since nil, date, :until => date + 1, :author => who
29
+ commits = repo.commits_since 'HEAD', date, :until => date + 1, :author => who
30
30
  Report.new(commits).run
31
31
  end
32
32
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rolex}
5
- s.version = "0.2.0"
5
+ s.version = "0.2.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["bigtiger", "sandro"]
@@ -30,7 +30,7 @@ describe "Rolex" do
30
30
  end
31
31
 
32
32
  it "retrieves commits" do
33
- @rolex.repo.should_receive(:commits_since).with(nil, @now.to_date, :until => @now.to_date + 1, :author => @rolex.who).and_return(@commits)
33
+ @rolex.repo.should_receive(:commits_since).with('HEAD', @now.to_date, :until => @now.to_date + 1, :author => @rolex.who).and_return(@commits)
34
34
  Rolex::Report.should_receive(:new).with(@commits).and_return(@report)
35
35
  @rolex.report_for(@now)
36
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigtiger-rolex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - bigtiger