todorb 1.0.0 → 1.1.0
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/CHANGELOG.rdoc +5 -0
- data/Makefile +3 -2
- data/Rakefile +12 -2
- data/VERSION +1 -1
- data/lib/common/cmdapp.rb +41 -8
- data/lib/common/sed.rb +9 -6
- data/lib/todorb.rb +309 -144
- data/tests/data.1 +14 -0
- data/tests/data.2 +7 -0
- data/tests/rtest2.sh +11 -6
- data/tests/t0001-help.sh +97 -0
- data/tests/t0002-subc_help.sh +41 -0
- data/tests/t0003-add.sh +19 -0
- data/tests/{t0002-listing.sh → t0004-list.sh} +6 -5
- data/tests/t0005-pri.sh +43 -0
- data/tests/t0006-pri_sort.sh +55 -0
- data/tests/t0007-status.sh +78 -0
- data/tests/t0008-addsub.sh +78 -0
- data/tests/t0009-del.sh +43 -0
- data/tests/test-lib.sh +13 -9
- data/todorb.gemspec +18 -6
- metadata +29 -9
- data/tests/t0001-add.sh +0 -22
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 1
|
7
|
+
- 1
|
7
8
|
- 0
|
8
|
-
|
9
|
-
version: 1.0.0
|
9
|
+
version: 1.1.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Rahul Kumar
|
@@ -14,11 +14,22 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-06-
|
17
|
+
date: 2010-06-23 00:00:00 +05:30
|
18
18
|
default_executable: todorb
|
19
|
-
dependencies:
|
20
|
-
|
21
|
-
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: subcommand
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
version: "0"
|
30
|
+
type: :development
|
31
|
+
version_requirements: *id001
|
32
|
+
description: "command-line program that manages a todo list text file, incl subtasks "
|
22
33
|
email: sentinel1879@gmail.com
|
23
34
|
executables:
|
24
35
|
- todorb
|
@@ -43,11 +54,20 @@ files:
|
|
43
54
|
- tests/README
|
44
55
|
- tests/aggregate-results.sh
|
45
56
|
- tests/clean.sh
|
57
|
+
- tests/data.1
|
58
|
+
- tests/data.2
|
46
59
|
- tests/dataset1.txt
|
47
60
|
- tests/recreate.sh
|
48
61
|
- tests/rtest2.sh
|
49
|
-
- tests/t0001-
|
50
|
-
- tests/t0002-
|
62
|
+
- tests/t0001-help.sh
|
63
|
+
- tests/t0002-subc_help.sh
|
64
|
+
- tests/t0003-add.sh
|
65
|
+
- tests/t0004-list.sh
|
66
|
+
- tests/t0005-pri.sh
|
67
|
+
- tests/t0006-pri_sort.sh
|
68
|
+
- tests/t0007-status.sh
|
69
|
+
- tests/t0008-addsub.sh
|
70
|
+
- tests/t0009-del.sh
|
51
71
|
- tests/test-lib.sh
|
52
72
|
- todorb.gemspec
|
53
73
|
has_rdoc: true
|
@@ -79,6 +99,6 @@ rubyforge_project: todorb
|
|
79
99
|
rubygems_version: 1.3.6
|
80
100
|
signing_key:
|
81
101
|
specification_version: 3
|
82
|
-
summary: command-line todo list manager
|
102
|
+
summary: comprehensive command-line todo list manager with subtasks and more
|
83
103
|
test_files: []
|
84
104
|
|
data/tests/t0001-add.sh
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
test_description="Testing out add "
|
3
|
-
. ./test-lib.sh
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
test_todo_session "Testing of add" <<EOF
|
9
|
-
>>> todorb add "Hello this is the first test"
|
10
|
-
Adding:
|
11
|
-
1 [ ] Hello this is the first test (2009-02-13)
|
12
|
-
|
13
|
-
>>> todorb add "Hello this is the second test"
|
14
|
-
Adding:
|
15
|
-
2 [ ] Hello this is the second test (2009-02-13)
|
16
|
-
|
17
|
-
>>> todorb add "Hello this is the 3rd test"
|
18
|
-
Adding:
|
19
|
-
3 [ ] Hello this is the 3rd test (2009-02-13)
|
20
|
-
|
21
|
-
EOF
|
22
|
-
test_done
|