RubyGems
npm
Organizations
Log in
Sign up
RubyGems
moomerman-twitter_oauth
Versions diffs
0.1.16 → 0.1.17
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.
Files changed (2)
hide
show
data/lib/twitter_oauth/friendships.rb
+2
-2
metadata
+1
-1
data/lib/twitter_oauth/friendships.rb
CHANGED
Viewed
@@ -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
Viewed
@@ -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