swatch 0.2.1 → 0.2.2
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/bin/swatch +1 -1
- metadata +26 -20
- data/CHANGELOG.rdoc +0 -10
- data/LICENSE +0 -8
- data/README.rdoc +0 -29
data/bin/swatch
CHANGED
metadata
CHANGED
@@ -1,12 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swatch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
segments:
|
6
|
-
- 0
|
7
|
-
- 2
|
8
|
-
- 1
|
9
|
-
version: 0.2.1
|
4
|
+
version: 0.2.2
|
10
5
|
platform: ruby
|
11
6
|
authors:
|
12
7
|
- Matthieu Maury
|
@@ -14,10 +9,29 @@ autorequire:
|
|
14
9
|
bindir: bin
|
15
10
|
cert_chain: []
|
16
11
|
|
17
|
-
date:
|
12
|
+
date: 2011-01-24 00:00:00 +01:00
|
18
13
|
default_executable:
|
19
|
-
dependencies:
|
20
|
-
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: trollop
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: parseconfig
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: "0"
|
34
|
+
version:
|
21
35
|
description: |
|
22
36
|
Swatch is a simple timetracking script in Ruby.
|
23
37
|
It can be used in conjonction of the todo.txt script
|
@@ -31,10 +45,6 @@ extra_rdoc_files: []
|
|
31
45
|
|
32
46
|
files:
|
33
47
|
- lib/swatch.rb
|
34
|
-
- README.rdoc
|
35
|
-
- CHANGELOG.rdoc
|
36
|
-
- LICENSE
|
37
|
-
- bin/swatch
|
38
48
|
has_rdoc: true
|
39
49
|
homepage: http://github.com/Mayeutik/swatch
|
40
50
|
licenses: []
|
@@ -45,25 +55,21 @@ rdoc_options: []
|
|
45
55
|
require_paths:
|
46
56
|
- lib
|
47
57
|
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
-
none: false
|
49
58
|
requirements:
|
50
59
|
- - ">="
|
51
60
|
- !ruby/object:Gem::Version
|
52
|
-
segments:
|
53
|
-
- 0
|
54
61
|
version: "0"
|
62
|
+
version:
|
55
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
64
|
requirements:
|
58
65
|
- - ">="
|
59
66
|
- !ruby/object:Gem::Version
|
60
|
-
segments:
|
61
|
-
- 0
|
62
67
|
version: "0"
|
68
|
+
version:
|
63
69
|
requirements: []
|
64
70
|
|
65
71
|
rubyforge_project:
|
66
|
-
rubygems_version: 1.3.
|
72
|
+
rubygems_version: 1.3.5
|
67
73
|
signing_key:
|
68
74
|
specification_version: 3
|
69
75
|
summary: A simple cli timetracking script that can be use with todo.txt
|
data/CHANGELOG.rdoc
DELETED
data/LICENSE
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
------------------------------------------------------------------------------
|
2
|
-
"THE BEER-WARE LICENSE" (Revision 42):
|
3
|
-
<mayeu.tik@gmail.com> wrote this gem. As long as you retain this notice you
|
4
|
-
can do whatever you want with this stuff. If we meet some day, and you think
|
5
|
-
this stuff is worth it, you can buy me a beer in return. Matthieu Maury
|
6
|
-
------------------------------------------------------------------------------
|
7
|
-
|
8
|
-
|
data/README.rdoc
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
= Swatch
|
2
|
-
|
3
|
-
A simple command line utility in Ruby to track your time.
|
4
|
-
Can be use with todo.txt task list.
|
5
|
-
|
6
|
-
== Usage
|
7
|
-
|
8
|
-
swatch command [option] arg
|
9
|
-
|
10
|
-
Going in a task :
|
11
|
-
swatch in My awesome task
|
12
|
-
|
13
|
-
Getting out:
|
14
|
-
swatch out
|
15
|
-
|
16
|
-
Timing a todo.txt task:
|
17
|
-
swatch in -t 42
|
18
|
-
|
19
|
-
== Config
|
20
|
-
|
21
|
-
Swatch look for the ~/.swatchrc file. If it's present swatch will parse it to get track_file and todo_file path.
|
22
|
-
Exemple :
|
23
|
-
track_file = "~/todo/swatchtrack.txt"
|
24
|
-
todo_file = "~/todo/todo.txt"
|
25
|
-
|
26
|
-
By default (i.e if there is no ~/.swatchrc file), swatch will look for todo file in ~/.todo.txt and track_file in ~/.swatch.txt.
|
27
|
-
|
28
|
-
== Todo
|
29
|
-
* parse todo to remove the priority
|