tdo 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +8 -0
- data/VERSION +1 -1
- data/lib/tdo.rb +1 -2
- data/tdo.gemspec +2 -2
- metadata +3 -3
data/README.markdown
CHANGED
@@ -29,6 +29,14 @@ Mark tasks as done when finished:
|
|
29
29
|
Then clear and forget:
|
30
30
|
|
31
31
|
tdo -c
|
32
|
+
|
33
|
+
|
34
|
+
## File Location
|
35
|
+
|
36
|
+
You can easily change where the file is stored, so it can be synced with Dropbox or anything else.
|
37
|
+
Just add this to your `.bashrc`/`.bash_profile`/`.aliases`/????...
|
38
|
+
|
39
|
+
export TDO_FILE='~/my/path/to/my/todo.txt'
|
32
40
|
|
33
41
|
|
34
42
|
## Copyright
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
data/lib/tdo.rb
CHANGED
@@ -3,7 +3,7 @@ module Tdo
|
|
3
3
|
class InvalidGroup < ArgumentError; end
|
4
4
|
|
5
5
|
# If using ENV, path must be absolute
|
6
|
-
TODO_FILE = ENV['TDO_FILE']
|
6
|
+
TODO_FILE = (ENV['TDO_FILE'] ? File.expand_path(ENV['TDO_FILE']) : File.expand_path("~/.todo.txt"))
|
7
7
|
|
8
8
|
|
9
9
|
# Gives a summary of remaining tasks
|
@@ -27,7 +27,6 @@ module Tdo
|
|
27
27
|
end
|
28
28
|
|
29
29
|
|
30
|
-
|
31
30
|
class Tasks
|
32
31
|
|
33
32
|
attr_accessor :items
|
data/tdo.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{tdo}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Joshua Hawxwell"]
|
12
|
-
s.date = %q{2010-07-
|
12
|
+
s.date = %q{2010-07-02}
|
13
13
|
s.default_executable = %q{tdo}
|
14
14
|
s.description = %q{Tdo is a simple ruby app to add, edit and read your todo list. It stores the list at ~/.todo.txt}
|
15
15
|
s.email = %q{m@hawx.me}
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 6
|
9
|
+
version: 0.0.6
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Joshua Hawxwell
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-07-
|
17
|
+
date: 2010-07-02 00:00:00 +01:00
|
18
18
|
default_executable: tdo
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|