moomerman-twitter_oauth 0.1.16 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,8 +26,8 @@ module TwitterOAuth
26
26
  # exists?.
27
27
  def exists?(a, b)
28
28
  oauth_response = access_token.get("/friendships/exists.json?user_a=#{a}&user_b=#{b}")
29
- JSON.parse(oauth_response.body)
29
+ oauth_response.body.strip == 'true'
30
30
  end
31
31
 
32
32
  end
33
- end
33
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moomerman-twitter_oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Taylor