dschn-tweetsy 0.1.3 → 0.1.4
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.yml +1 -1
- data/lib/tweetsy.rb +2 -0
- data/lib/tweetsy/client.rb +4 -0
- metadata +2 -2
data/VERSION.yml
CHANGED
data/lib/tweetsy.rb
CHANGED
data/lib/tweetsy/client.rb
CHANGED
@@ -133,6 +133,10 @@ module Tweetsy
|
|
133
133
|
Hpricot(result.body_str)
|
134
134
|
elsif result.response_code == 401
|
135
135
|
raise Unauthorized
|
136
|
+
elsif result.response_code == 403
|
137
|
+
raise BadRequest
|
138
|
+
elsif result.response_code == 404
|
139
|
+
raise NotFound
|
136
140
|
elsif result.response_code == 503
|
137
141
|
raise CantConnect, "Service unavailable"
|
138
142
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dschn-tweetsy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dustin Schneider
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-04-09 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|