A re-implementation of GetOldTweets3's API in Ruby, allowing for accessing of old tweets. The command line utility provided by the original work is excellent and not presently reimplemented.
criteria = GoldTweets::Search.new
criteria.username = 'twitter'
criteria.maximum_tweets = 20 # minimum returned by Twitter's search
tweets = GoldTweets.get_tweets(criteria)
puts tweets.first.text
criteria = GoldTweets::Search.new
criteria.maximum_tweets = 20 # minimum returned by Twitter's search
criteria.query = 'ruby monad'
tweets = GoldTweets.get_tweets(criteria)
puts tweets.first.text
The implementation is as yet incomplete, lacking some features (emoji handling, passing a custom block to perform additional processing on tweets before they're returned, proxy support, &c.)