john-mayer 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/foursquare/user.rb +2 -2
- data/test.rb +2 -2
- metadata +3 -3
data/lib/foursquare/user.rb
CHANGED
@@ -97,8 +97,8 @@ module Foursquare
|
|
97
97
|
end.compact
|
98
98
|
end
|
99
99
|
|
100
|
-
def friends
|
101
|
-
@foursquare.get("users/#{id}/friends")["friends"]["items"].map do |item|
|
100
|
+
def friends(options={})
|
101
|
+
@foursquare.get("users/#{id}/friends", options)["friends"]["items"].map do |item|
|
102
102
|
Foursquare::User.new(@foursquare, item)
|
103
103
|
end
|
104
104
|
end
|
data/test.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
require 'lib/foursquare'
|
2
2
|
|
3
|
-
|
4
|
-
FOURSQUARE = Foursquare::Base.new('T2UPWWBXJP2UFBRTBXKDM1UQAH3A3TUDELQ3YQRFAWGLKTTT')
|
3
|
+
FOURSQUARE = Foursquare::Base.new('YSQQ2G4HOATU5515IFH4ODCKUQYYKZ2M4DVBNPI1ZCXKL3QS')
|
4
|
+
# FOURSQUARE = Foursquare::Base.new('T2UPWWBXJP2UFBRTBXKDM1UQAH3A3TUDELQ3YQRFAWGLKTTT')
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: john-mayer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Pat Nakajima
|