dschn-tweetsy 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/tweetsy/client.rb +3 -1
  3. metadata +1 -1
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 7
2
+ :patch: 8
3
3
  :major: 0
4
4
  :minor: 1
@@ -1,4 +1,6 @@
1
1
  module Tweetsy
2
+ VERSION = "0.1.8"
3
+
2
4
  class Client
3
5
  API_HOST = "http://twitter.com"
4
6
  attr_reader :rate_limits
@@ -42,7 +44,7 @@ module Tweetsy
42
44
  end
43
45
 
44
46
  def friendship_exists?(user_a, user_b)
45
- doc = request(:get, "/friendships/exists.xml?user_a=#{user_a}&user_b=#{user_b}")
47
+ doc = request(:get, "/friendships/exists.xml?user_a=#{user_a}&user_b=#{user_b}", :auth => true)
46
48
  (doc/:friends).inner_text == "true" ? true : false
47
49
  end
48
50
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dschn-tweetsy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Schneider