nakajima-twitter_oauth 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/twitter_oauth/search.rb +1 -1
  2. metadata +1 -1
@@ -7,7 +7,7 @@ module TwitterOAuth
7
7
  def search(q, options={})
8
8
  options[:page] ||= 1
9
9
  options[:per_page] ||= 20
10
- response = open("http://search.twitter.com/search.json?q=#{URI.escape(q)}&page=#{options[:page]}&rpp=#{options[:per_page]}&since_id=#{options[:since_id]}")
10
+ response = open("http://search.twitter.com/search.json?q=#{URI.escape(q)}&page=#{options[:page]}&rpp=#{options[:per_page]}&since_id=#{options[:since_id]}", 'User-Agent' => 'socialtriage.com')
11
11
  search_result = JSON.parse(response.read)
12
12
  search_result = OpenStruct.new(search_result)
13
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nakajima-twitter_oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Taylor