todo.rb 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/todo.rb +1 -1
  2. data/lib/todo.rb/version.rb +1 -1
  3. metadata +5 -5
data/bin/todo.rb CHANGED
@@ -55,7 +55,7 @@ elsif command == 'diff' && args.empty?
55
55
  elsif command == 'pri' && args[0] =~ /^\d+$/
56
56
  t.ed_command! "#{args[0]}s/$/!/\nm0"
57
57
  elsif command == 'depri' && args[0] =~ /^\d+$/
58
- t.ed_command! "#{args[0]}s/!//"
58
+ t.ed_command! "#{args[0]}s/!//g\nm/^[^!]*$/-1"
59
59
  elsif command.nil?
60
60
  t.catn
61
61
  else
@@ -1,3 +1,3 @@
1
1
  class TodoRb
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
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.1
4
+ version: 0.1.2
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: &70300453875020 !ruby/object:Gem::Requirement
16
+ requirement: &70112636911420 !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: *70300453875020
24
+ version_requirements: *70112636911420
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: color-tools
27
- requirement: &70300453874240 !ruby/object:Gem::Requirement
27
+ requirement: &70112636910920 !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: *70300453874240
35
+ version_requirements: *70112636910920
36
36
  description: ed-like todo list manager
37
37
  email:
38
38
  - dhchoi@gmail.com