thartm 0.1.2 → 0.1.3

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/thartm.rb +4 -4
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
data/lib/thartm.rb CHANGED
@@ -157,7 +157,7 @@ class CommandLineInterface
157
157
  p = case t[:task][0][:priority]
158
158
  when 'N' then printf("\e[0m%s\e[0m",s)
159
159
  when '1' then printf("\e[31;40m%s\e[0m",s)
160
- when '2' then printf("\e[32;40m%s\e[0m",s)
160
+ when '2' then printf("\e[33;40m%s\e[0m",s)
161
161
  when '3' then printf("\e[32;40m%s\e[0m",s)
162
162
  else puts "err"
163
163
  end
@@ -186,9 +186,9 @@ class CommandLineInterface
186
186
 
187
187
  def postpone
188
188
  begin
189
- @rtm.postpone(ARGV[1])
190
- rescue
191
- p "invalid task id"
189
+ @rtm.postponeTask(ARGV[1].chomp)
190
+ rescue Exception => e
191
+ p "invalid task id",e
192
192
  end
193
193
  end
194
194
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thartm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - tha
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-06-10 00:00:00 +02:00
12
+ date: 2010-06-14 00:00:00 +02:00
13
13
  default_executable: rrtm
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency