john-mayer 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/foursquare/user.rb +2 -2
  2. data/test.rb +2 -2
  3. metadata +3 -3
@@ -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
- # FOURSQUARE = Foursquare::Base.new('YSQQ2G4HOATU5515IFH4ODCKUQYYKZ2M4DVBNPI1ZCXKL3QS')
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: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pat Nakajima