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.
Files changed (5) hide show
  1. data/bin/swatch +1 -1
  2. metadata +26 -20
  3. data/CHANGELOG.rdoc +0 -10
  4. data/LICENSE +0 -8
  5. data/README.rdoc +0 -29
data/bin/swatch CHANGED
@@ -18,7 +18,7 @@ require ('parseconfig')
18
18
  # ###############
19
19
 
20
20
  CONF_FILE = File.expand_path("~/.swatchrc")
21
- VERSION = '0.2.1'
21
+ VERSION = '0.2.2'
22
22
 
23
23
  if File.exist? CONF_FILE
24
24
  config = ParseConfig.new(CONF_FILE)
metadata CHANGED
@@ -1,12 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swatch
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
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: 2010-12-24 00:00:00 +01:00
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.7
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
@@ -1,10 +0,0 @@
1
- = Changelog
2
-
3
- == 0.2.1
4
- Minor update to add config file support
5
-
6
- == 0.2
7
- Add a simple support of todo.txt
8
-
9
- == 0.1
10
- First usable version, with no support of todo.txt
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
-
@@ -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