cpsn 0.6.0 → 0.6.1
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/VERSION +1 -1
- data/bin/cpsn +4 -4
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.1
|
data/bin/cpsn
CHANGED
@@ -114,8 +114,8 @@ class Cpsn
|
|
114
114
|
rescue WWW::Mechanize::ResponseCodeError => response
|
115
115
|
puts response
|
116
116
|
if response.response_code == '403'
|
117
|
-
|
118
|
-
|
117
|
+
get_cookie(@settings[:username].value,
|
118
|
+
@settings[:password].value)
|
119
119
|
retry
|
120
120
|
else
|
121
121
|
raise response
|
@@ -128,8 +128,8 @@ class Cpsn
|
|
128
128
|
return _get_friend_status(friend)
|
129
129
|
rescue WWW::Mechanize::ResponseCodeError => response
|
130
130
|
if response.response_code == '403'
|
131
|
-
|
132
|
-
|
131
|
+
get_cookie(@settings[:username].value,
|
132
|
+
@settings[:password].value)
|
133
133
|
retry
|
134
134
|
else
|
135
135
|
raise response
|