jnunemaker-twitter 0.6.6 → 0.6.7

Sign up to get free protection for your applications and to get access to all the features.
data/History CHANGED
@@ -1,3 +1,7 @@
1
+ 0.6.7 - April 23, 2009
2
+ * 1 minor fix
3
+ * Bumped httparty version to 0.4.3 which allows response.message and fixes errors that the lack of response.message was causing to the twitter gem
4
+
1
5
  0.6.6 - April 16, 2009
2
6
  * 1 minor enhancement
3
7
  * added ability to pass query parameters to user method
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 6
4
- :patch: 6
4
+ :patch: 7
data/lib/twitter.rb CHANGED
@@ -7,7 +7,7 @@ require 'oauth'
7
7
  gem 'mash', '0.0.3'
8
8
  require 'mash'
9
9
 
10
- gem 'httparty', '0.4.2'
10
+ gem 'httparty', '0.4.3'
11
11
  require 'httparty'
12
12
 
13
13
  module Twitter
@@ -33,7 +33,13 @@ class HTTPAuthTest < Test::Unit::TestCase
33
33
  setup do
34
34
  @twitter = Twitter::HTTPAuth.new('username', 'password')
35
35
  end
36
-
36
+
37
+ should "not throw error when accessing response message" do
38
+ stub_get('http://twitter.com:80/statuses/user_timeline.json', 'user_timeline.json')
39
+ response = @twitter.get('/statuses/user_timeline.json')
40
+ response.message.should == 'OK'
41
+ end
42
+
37
43
  should "be able to get" do
38
44
  stub_get('http://twitter.com:80/statuses/user_timeline.json', 'user_timeline.json')
39
45
  response = @twitter.get('/statuses/user_timeline.json')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jnunemaker-twitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Nunemaker
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-16 00:00:00 -07:00
12
+ date: 2009-04-23 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency