neverdone 0.1.1 → 0.1.2
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.
- data/bin/nd +5 -7
- data/lib/neverdone.rb +1 -1
- metadata +3 -3
data/bin/nd
CHANGED
|
@@ -36,6 +36,10 @@ class NeverdoneCommand < Clamp::Command
|
|
|
36
36
|
#token expired
|
|
37
37
|
authenticate force=true
|
|
38
38
|
@notebook = Everton::Notebook.find('Neverdone Todo')
|
|
39
|
+
rescue Evernote::EDAM::Error::EDAMUserException
|
|
40
|
+
#token expired
|
|
41
|
+
authenticate force=true
|
|
42
|
+
@notebook = Everton::Notebook.find('Neverdone Todo')
|
|
39
43
|
end
|
|
40
44
|
if not @notebook
|
|
41
45
|
print "Neverdone Todo notebook not found, creating..."
|
|
@@ -169,10 +173,4 @@ class Driver < Clamp::Command
|
|
|
169
173
|
|
|
170
174
|
end
|
|
171
175
|
|
|
172
|
-
|
|
173
|
-
begin
|
|
174
|
-
Driver.run
|
|
175
|
-
rescue SystemExit
|
|
176
|
-
rescue Exception => e
|
|
177
|
-
puts e.message
|
|
178
|
-
end
|
|
176
|
+
Driver.run
|
data/lib/neverdone.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: neverdone
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.1.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Sergio Rubio
|