jnunemaker-twitter 0.6.6 → 0.6.7
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/History +4 -0
- data/VERSION.yml +1 -1
- data/lib/twitter.rb +1 -1
- data/test/twitter/httpauth_test.rb +7 -1
- metadata +2 -2
    
        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
    
    
    
        data/lib/twitter.rb
    CHANGED
    
    
| @@ -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. | 
| 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- | 
| 12 | 
            +
            date: 2009-04-23 00:00:00 -07:00
         | 
| 13 13 | 
             
            default_executable: 
         | 
| 14 14 | 
             
            dependencies: 
         | 
| 15 15 | 
             
            - !ruby/object:Gem::Dependency 
         |