hacker_todo_list 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/hacker_todo_list.gemspec +1 -1
- data/lib/hacker_todo_list.rb +2 -1
- metadata +1 -1
data/hacker_todo_list.gemspec
CHANGED
data/lib/hacker_todo_list.rb
CHANGED
@@ -62,7 +62,8 @@ module HackerToDo
|
|
62
62
|
return self.class.get("/gists/#{todo_entry["id"]}", {:basic_auth => @github_creds})
|
63
63
|
else
|
64
64
|
puts "Your github credentials are incorrect"
|
65
|
-
|
65
|
+
credential_file = File.join(Dir.home, HackerToDo::Setup::CREDENTIAL_FILE)
|
66
|
+
system "rm -f #{credential_file}"
|
66
67
|
return nil
|
67
68
|
end
|
68
69
|
end
|