gwtf 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  desc 'Mark an item as done'
2
2
  arg_name 'Item id'
3
- command [:done, :d] do |c|
3
+ command [:done, :close, :d] do |c|
4
4
  c.action do |global_options,options,args|
5
5
  raise "Please specify an item ID to mark as done" if args.empty?
6
6
 
@@ -60,6 +60,10 @@ command [:remind, :rem] do |c|
60
60
  print "Creating reminder at job for item #{reminder.item_id}: "
61
61
  out = reminder.schedule_reminer(options[:at], options[:recipient], true, true)
62
62
 
63
+ if out =~ /job (\d+) at (\d+-\d+-\d+)\s/
64
+ reminder.due_date = $2
65
+ end
66
+
63
67
  reminder.record_work "Scheduled reminder for %s: %s" % [ options[:at], out.chomp ]
64
68
 
65
69
  reminder.save
@@ -1,3 +1,3 @@
1
1
  module Gwtf
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gwtf
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 0
10
- version: 0.7.0
9
+ - 1
10
+ version: 0.7.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - R.I.Pienaar
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-04-11 00:00:00 +01:00
18
+ date: 2012-04-12 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency