stastic 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/stastic/client.rb +0 -2
- data/lib/stastic/commands/base.rb +1 -1
- data/lib/stastic.rb +1 -1
- metadata +3 -3
data/lib/stastic/client.rb
CHANGED
@@ -16,7 +16,7 @@ module Stastic::Command
|
|
16
16
|
print " Password: "
|
17
17
|
password = ask_for_password
|
18
18
|
token = Stastic::Client.authenticate(email, password)
|
19
|
-
rescue
|
19
|
+
rescue RestClient::Forbidden
|
20
20
|
if attempts < 3
|
21
21
|
print "\nInvalid credentials - try again.\n\n"
|
22
22
|
retry
|
data/lib/stastic.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 6
|
9
|
+
version: 0.2.6
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Brian Smith
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-03-
|
17
|
+
date: 2011-03-09 00:00:00 -08:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|