dotime 0.0.3 → 0.0.4
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/History.txt +3 -0
- data/lib/do_time.rb +2 -2
- metadata +2 -2
data/History.txt
CHANGED
data/lib/do_time.rb
CHANGED
@@ -18,7 +18,7 @@ require File.dirname(__FILE__) + '/basecamp'
|
|
18
18
|
require 'optparse'
|
19
19
|
|
20
20
|
class DoTime
|
21
|
-
VERSION = '0.0.
|
21
|
+
VERSION = '0.0.4'
|
22
22
|
|
23
23
|
include HighLine::SystemExtensions
|
24
24
|
|
@@ -432,7 +432,7 @@ class DoTime
|
|
432
432
|
list.each_with_index do |todo, i|
|
433
433
|
hours = extract_elapsed_time_from(todo)
|
434
434
|
running = is_todo_running?(todo) ? "[Running]" : ""
|
435
|
-
say "<%=color('#{(i + 1).to_s}',:black, :bold)%>. - #{todo['content'].gsub(/(\[
|
435
|
+
say "<%=color('#{(i + 1).to_s}',:black, :bold)%>. - #{todo['content'].gsub(/(\[\[(.*)\]\])/,'').strip}"
|
436
436
|
say "<%=color('Elapsed',:black, :bold)%>: #{time(hours*3600)} <%= color('#{running}',:red, :bold)%>"
|
437
437
|
puts
|
438
438
|
end
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: dotime
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
7
|
-
date:
|
6
|
+
version: 0.0.4
|
7
|
+
date: 2007-01-09 00:00:00 +00:00
|
8
8
|
summary: Cheap time tracking for Basecamp todo lists
|
9
9
|
require_paths:
|
10
10
|
- lib
|