Overbryd-mighty-mite 0.1.2 → 0.1.3

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -41,7 +41,7 @@ module MightyMite
41
41
  total_revenue = Mite::TimeEntry.all(:params => {:at => @arguments.first, :user_id => 'current'}).each do |time_entry|
42
42
  tell time_entry.inspect
43
43
  end.map(&:revenue).compact.sum
44
- tell ("%.2f $" % total_revenue).colorize(:lightgreen)
44
+ tell ("%.2f $" % (total_revenue/100)).colorize(:lightgreen)
45
45
 
46
46
  elsif ['stop', 'pause', 'lunch'].include? @arguments.first
47
47
  if current_tracker = (Mite::Tracker.current ? Mite::Tracker.current.stop : nil)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{mighty-mite}
5
- s.version = "0.1.2"
5
+ s.version = "0.1.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Lukas Rieder"]
@@ -262,7 +262,7 @@ describe MightyMite::Application, 'run' do
262
262
  end
263
263
 
264
264
  it "should tell #{@argument}'s revenue, nicely formatted and colorized in lightgreen" do
265
- @application.should_receive(:tell).with("\e[1;32;49m2400.00 $\e[0m").at_least(:once)
265
+ @application.should_receive(:tell).with("\e[1;32;49m24.00 $\e[0m").at_least(:once)
266
266
  @application.run
267
267
  end
268
268
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Overbryd-mighty-mite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas Rieder