Permalink
Commits on Nov 8, 2017
  1. Improve unfavorite consistency (#828)

    spuyet authored and sferik committed Nov 8, 2017
    * improve unfavorite consistency
    
    * update documentation
  2. Update the error message for Twitter::Error::AlreadyRetweeted (#875)

    knu authored and sferik committed Nov 8, 2017
    The old message is kept just in case it still occurs.
  3. 280

    sferik committed Nov 8, 2017
Commits on Nov 7, 2017
  1. Fix RuboCop offenses

    sferik committed Nov 7, 2017
Commits on Feb 17, 2017
  1. Change users/lookup endpoint from POST to GET

    Mike Over authored and stve committed Feb 12, 2017
Commits on Feb 15, 2017
  1. update rubygems before running tests on CI

    stve committed Feb 15, 2017
    This is recommended for the rainbow gem (rubocop dependency)
    See: sickill/rainbow#44 (comment)
  2. add ruby 2.4.0 to test matrix

    stve committed Feb 15, 2017
  3. disable Style/NumericPredicate rule

    stve committed Feb 15, 2017
    Numeric#positive? and Numeric#negative? were added in Ruby 2.3, and
    therefore cannot be used until support for < 2.3 is dropped
  4. allow longer blocks in tests

    stve committed Feb 15, 2017
  5. Add 6.0 and 6.1 placeholders to changelog

    jaredbeck authored and stve committed Jan 31, 2017
    [ci skip]
Commits on Dec 6, 2016
  1. Use addressable for building query string (#758)

    iCEAGE authored and sferik committed Dec 6, 2016
    As URI component of Ruby standard library only conform RFC3986 and
    it doesn't encode '*' character and that leads to errors. It seems Addressable
    library conforms RFC3986, RFC3987 and RFC6570 and it encodes '*' character
    as well.
    
    Following test case will be failed in the current version and it returns
    'Twitter::Error::Unauthorized' exception.
    
    require 'twitter'
    
    client = Twitter::Streaming::Client.new do |config|
      config.consumer_key        = 'YOUR_CONSUMER_KEY'
      config.consumer_secret     = 'YOUR_CONSUMER_SECRET'
      config.access_token        = 'YOUR_ACCESS_TOKEN'
      config.access_token_secret = 'YOUR_ACCESS_SECRET'
    end
    
    filter_params = {
      :track => '(*^0^*)',
      :language => 'es'
    }
    client.filter(filter_params) do |object|
      puts object.text if object.is_a?(Twitter::Tweet)
    end
  2. Examples Index via README (#780)

    MyklClason authored and sferik committed Dec 6, 2016
    An index page for the examples list, including subheadings. It wouldn't be a bad idea to add short summaries for each example.
  3. Add quoted_tweet do tweet events (#800)

    Z1488 authored and sferik committed Dec 6, 2016
    This makes it possible to get the Tweet object from a :quoted_tweet event.
  4. Fix RuboCop errors

    sferik committed Dec 6, 2016
  5. check blank credentials (#806)

    elmendalerenda authored and sferik committed Dec 6, 2016
  6. Add email attribute to Twitter::User

    sferik committed Dec 5, 2016
    Closes #808.
  7. Dump Twitter::NullObject as JSON properly (#815)

    okkez authored and sferik committed Dec 6, 2016
    * Dump Twitter::NullObject as JSON properly
    
    ```
    null = Twitter::NullOjbect.new
    { "null_object" => null }.to_json
    ```
    
    In previous version, above code raises a TypeError:
    
        TypeError: wrong argument type Twitter::NullObject (expected String)
    
    * Suppress rubocop warnings
  8. Merge pull request #816 from Onlim/master

    sferik committed Dec 6, 2016
    Use http's timeout api
  9. Merge pull request #819 from ysr227/master

    sferik committed Dec 6, 2016
    Add current_user_retweet attr to Tweet
  10. Test against JRuby 9.1.6.0

    sferik committed Dec 6, 2016
  11. Test against Ruby 2.3

    sferik committed Dec 6, 2016
  12. Merge pull request #814 from jaredbeck/patch-1

    sferik committed Dec 6, 2016
    Add 5.16.0 to changelog
Commits on Dec 5, 2016
  1. Update tweet.rb

    ysr227 committed Dec 5, 2016
Commits on Nov 9, 2016
  1. Fix some rubocop issues

    tak1n committed Nov 9, 2016
  2. Use http's timeout api

    tak1n committed Nov 9, 2016
    Currently twitter gem users can not set a timeout for requests which could lead to stuck requests.
    This commit implements the usage of https://github.com/httprb/http/wiki/Timeouts.
    
    Also this fixes #791.
Commits on Nov 2, 2016
  1. Add 5.16.0 to changelog

    jaredbeck committed Nov 2, 2016
Commits on Aug 16, 2016
  1. Merge pull request #783 from tak1n/master

    sferik committed Aug 16, 2016
    Image upload with too big image
Commits on Jun 29, 2016
  1. add RequestEntityTooLarge error

    tak1n committed Jun 29, 2016