todoistize-mail 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/todoistize_mail/cli.rb +1 -1
- data/lib/todoistize_mail/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: beff32d17a2657875360e6e9775ee81b9374a58f
|
4
|
+
data.tar.gz: 21ba0a968b2468b8d98dc32370837d0fd84d114c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ff6a9fab8234ebe46f750c43d457871f51aca2a1ebd0185f0a10f6d881811089b3d85fbbc1e33fb3465c8495569b47db8da4b4713d5b251541a7d2125b81187
|
7
|
+
data.tar.gz: 8f7b96613d0bef8218e23884d295983d63df6432ff854abc4f1e3c3cb825852d332ab0e86eada4fe3c328b0551ad49fc10bc11165a71e9f04288aeb03b37c3e5
|
data/lib/todoistize_mail/cli.rb
CHANGED
@@ -66,7 +66,7 @@ module TodoistizeMail
|
|
66
66
|
task = Todoist::Task.get(options(:task_id)).first
|
67
67
|
if task.nil? || task.checked != 0
|
68
68
|
puts "not found: #{options(:task_id)}"
|
69
|
-
|
69
|
+
exit 0
|
70
70
|
end
|
71
71
|
todoist = TodoistizeMail::TodoistizeProject.new(options(:apikey), options(:project))
|
72
72
|
mark_read(task) if todoist.todoistize?(task)
|