todo.rb 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/bin/todo.rb +2 -1
  2. data/lib/todo.rb/version.rb +1 -1
  3. data/todo.txt +1 -0
  4. metadata +6 -5
data/bin/todo.rb CHANGED
@@ -33,7 +33,8 @@ has_args = !args.empty?
33
33
  tag = command && command[/^(@|\+)\S+$/,0]
34
34
 
35
35
  if tag && has_args
36
- t.ed_command!('a', [TodoRb.expand_tag(tag)] + args)
36
+ c = args.join =~ /!/ ? '0i' : 'a'
37
+ t.ed_command!(c, [TodoRb.expand_tag(tag)] + args)
37
38
  elsif tag
38
39
  t.filter TodoRb.expand_tag(tag)
39
40
  elsif command == 'done' && args[0] =~ /^(@|\+)/
@@ -1,3 +1,3 @@
1
1
  class TodoRb
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.9'
3
3
  end
data/todo.txt ADDED
@@ -0,0 +1 @@
1
+ @features maybe remove the t ! filter; not really necessary
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: todo.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-30 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: highline
16
- requirement: &70353662302000 !ruby/object:Gem::Requirement
16
+ requirement: &70333814450800 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.6.11
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70353662302000
24
+ version_requirements: *70333814450800
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: color-tools
27
- requirement: &70353662301440 !ruby/object:Gem::Requirement
27
+ requirement: &70333814450300 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '1.3'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70353662301440
35
+ version_requirements: *70333814450300
36
36
  description: ed-like todo list manager
37
37
  email:
38
38
  - dhchoi@gmail.com
@@ -56,6 +56,7 @@ files:
56
56
  - lib/todo.rb/help.rb
57
57
  - lib/todo.rb/version.rb
58
58
  - todo.rb.gemspec
59
+ - todo.txt
59
60
  - todotxt/todo.cfg
60
61
  - todotxt/todo.sh
61
62
  homepage: http://danchoi.github.com/todo.rb/