thartm 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/thartm.rb +4 -4
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
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[
|
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.
|
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.
|
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-
|
12
|
+
date: 2010-06-14 00:00:00 +02:00
|
13
13
|
default_executable: rrtm
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|