billymeltdown-twitter 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README +11 -0
- data/lib/twitter/base.rb +1 -1
- data/twitter.gemspec +1 -1
- metadata +1 -1
data/README
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
= Fork Info:
|
2
|
+
|
3
|
+
I forked this off of jnunemaker's twitter gem. This was forked before version 0.5. I plan to keep it at version 0.4.2's codebase because:
|
4
|
+
|
5
|
+
* Not ready to switch over to OAuth yet in my own apps, since Twitter has no date set yet
|
6
|
+
* My apps (http://keeptempo.com, http://gopingme.com) require the exception handling i've added here.
|
7
|
+
|
8
|
+
You can read more about what this fork offers on the wiki:
|
9
|
+
|
10
|
+
http://wiki.github.com/billymeltdown/twitter
|
11
|
+
|
1
12
|
= addicted to twitter
|
2
13
|
|
3
14
|
... a sweet little diddy that helps you twitter your life away
|
data/lib/twitter/base.rb
CHANGED
@@ -257,7 +257,7 @@ module Twitter
|
|
257
257
|
raise YouAreNotFriends, error_message if error_message =~ /You are not friends/
|
258
258
|
raise RequestRefused, "Response code #{response.code}: #{response.message} #{error_message}"
|
259
259
|
else
|
260
|
-
raise CantConnect, "Twitter is returning a #{response.code}: #{response.message} #{(
|
260
|
+
raise CantConnect, "Twitter is returning a #{response.code}: #{response.message} #{(parse(response.body)/:hash/:error).text}"
|
261
261
|
end
|
262
262
|
end
|
263
263
|
|
data/twitter.gemspec
CHANGED