foursquare2 1.4.0 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/foursquare2.gemspec +3 -2
- data/lib/foursquare2/venues.rb +13 -0
- data/test/fixtures/venue_menus.json +265 -0
- data/test/test_venues.rb +8 -0
- metadata +28 -27
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.2
|
data/foursquare2.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "foursquare2"
|
8
|
-
s.version = "1.4.
|
8
|
+
s.version = "1.4.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Matt Mueller", "Marco Moura"]
|
12
|
-
s.date = "2012-05-
|
12
|
+
s.date = "2012-05-08"
|
13
13
|
s.description = "Gives access to all endpoints in version 2 of foursquare's API with syntax that will be familiar to those who used the original foursquare gem by Jeremy Welch."
|
14
14
|
s.email = ["muellermr@gmail.com", "email@marcomoura.com"]
|
15
15
|
s.extra_rdoc_files = [
|
@@ -55,6 +55,7 @@ Gem::Specification.new do |s|
|
|
55
55
|
"test/fixtures/user_tips_empty.json",
|
56
56
|
"test/fixtures/venue.json",
|
57
57
|
"test/fixtures/venue_links.json",
|
58
|
+
"test/fixtures/venue_menus.json",
|
58
59
|
"test/fixtures/venue_photos.json",
|
59
60
|
"test/fixtures/venue_tips.json",
|
60
61
|
"test/helper.rb",
|
data/lib/foursquare2/venues.rb
CHANGED
@@ -47,6 +47,8 @@ module Foursquare2
|
|
47
47
|
end
|
48
48
|
|
49
49
|
# Retrieve information about all venue categories.
|
50
|
+
#
|
51
|
+
# param [String] venue_id The ID of the venue
|
50
52
|
|
51
53
|
def venue_categories
|
52
54
|
response = connection.get("venues/categories")
|
@@ -54,6 +56,8 @@ module Foursquare2
|
|
54
56
|
end
|
55
57
|
|
56
58
|
# Retrieve links for a venue.
|
59
|
+
#
|
60
|
+
# param [String] venue_id The ID of the venue
|
57
61
|
|
58
62
|
def venue_links(venue_id)
|
59
63
|
response = connection.get("venues/#{venue_id}/links")
|
@@ -162,5 +166,14 @@ module Foursquare2
|
|
162
166
|
end
|
163
167
|
return_error_or_body(response, response.body.response)
|
164
168
|
end
|
169
|
+
|
170
|
+
# Retrieve menus for a venue.
|
171
|
+
#
|
172
|
+
# param [String] venue_id The ID of the venue
|
173
|
+
|
174
|
+
def venue_menus(venue_id)
|
175
|
+
response = connection.get("venues/#{venue_id}/menu")
|
176
|
+
return_error_or_body(response, response.body.response)
|
177
|
+
end
|
165
178
|
end
|
166
179
|
end
|
@@ -0,0 +1,265 @@
|
|
1
|
+
{
|
2
|
+
"meta": {
|
3
|
+
"code": 200
|
4
|
+
},
|
5
|
+
"notifications": [
|
6
|
+
{
|
7
|
+
"type": "notificationTray",
|
8
|
+
"item": {
|
9
|
+
"unreadCount": 0
|
10
|
+
}
|
11
|
+
}
|
12
|
+
],
|
13
|
+
"response": {
|
14
|
+
"menu": {
|
15
|
+
"provider": {
|
16
|
+
"name": "singleplatform",
|
17
|
+
"attributionImage": "https://as.singleplatform.com/Foursquare/mcdonalds-8697/provided_by.png",
|
18
|
+
"attributionLink": "http://www.singlepage.com/mcdonalds-8697/menu?ref=Foursquare",
|
19
|
+
"attributionText": "Disclaimer: Always check with the business for pricing and availability of menu items. SinglePlatform is not responsible for menu or pricing changes, but the information is believed to be accurate when posted. Listing of a menu does not mean that there is any affiliation, endorsement or sponsorship between SinglePlatform and the listed business."
|
20
|
+
},
|
21
|
+
"menus": {
|
22
|
+
"count": 1,
|
23
|
+
"items": [
|
24
|
+
{
|
25
|
+
"menuId": "m2vi641d8m5km41qa2ie7vu0l",
|
26
|
+
"name": "Main Menu",
|
27
|
+
"description": "",
|
28
|
+
"entries": {
|
29
|
+
"count": 2,
|
30
|
+
"items": [
|
31
|
+
{
|
32
|
+
"sectionId": "egndr92t336nkqmi89b6cbsq4",
|
33
|
+
"name": "Salads",
|
34
|
+
"entries": {
|
35
|
+
"count": 11,
|
36
|
+
"items": [
|
37
|
+
{
|
38
|
+
"entryId": "eq90ulhw3d1b80bw1wvcyb31a",
|
39
|
+
"name": "Premium Bacon Ranch Salad",
|
40
|
+
"description": "Fresh mixed greens and sumptuous grape tomatoes, getting along brilliantly with hickory-smoked bacon."
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"entryId": "enehqgrua2jy4w3i426kboopj",
|
44
|
+
"name": "Premium Bacon Ranch Salad",
|
45
|
+
"description": "With crispy chicken fresh mixed greens tossed with sumptuous grape tomatoes, shaved carrots, jack and cheddar cheeses, hickory-smoked bacon and all-white meat chicken."
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"entryId": "e6hver5izfd9sd82na9eakutb",
|
49
|
+
"name": "Premium Bacon Ranch Salad",
|
50
|
+
"description": "With grilled chicken we know you showed up for the bacon. but you'll stay for the fresh mixed greens, grilled chicken and creamy ranch dressing."
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"entryId": "e3gqn6sfj4r7etg5y89nrqh5t",
|
54
|
+
"name": "Premium Caesar Salad",
|
55
|
+
"description": "Crispy all-white meat chicken, deliciously fresh greens, zingy parmesan cheese and creamy ranch dressing."
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"entryId": "eyoop5ks5jh3lsrt3p6oqgv2s",
|
59
|
+
"name": "Premium Caesar Salad",
|
60
|
+
"description": "With crispy chicken is it the juicy, freshly grilled all-white meat chicken? perhaps the zing of parmesan cheese? could it be the deliciously fresh greens? better order one and find out."
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"entryId": "ejs4lsd5xyqkuwier31nrlmu9",
|
64
|
+
"name": "Premium Caesar Salad with Grilled Chicken"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"entryId": "e391vm2ev6xgub4xcdcxbbg4q",
|
68
|
+
"name": "Premium Southwest Salad",
|
69
|
+
"description": "Premium greens topped with a snappy mix of fire-roasted corn, savory black beans, poblano peppers, chili lime tortilla strips, and squeeze-it-yourself lime wedge on the side."
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"entryId": "e98clbjht1rn5c4fxmxa15xu6",
|
73
|
+
"name": "Premium Southwest Salad with Crispy Chicken",
|
74
|
+
"description": "Our hottest salad yet: crispy chicken, fresh mixed greens, oven-roasted tomatoes, fire-roasted corn, savory black beans, poblano peppers, shredded cheddar and jack cheeses, chili lime tortilla strips and a fresh-sliced lime wedge on the side."
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"entryId": "efplpay55j9wutkz9t299ys09",
|
78
|
+
"name": "Premium Southwest Salad with Grilled Chicken",
|
79
|
+
"description": "Our hottest salad yet: fresh-grilled chicken, fresh mixed greens, oven-roasted tomatoes, fire-roasted corn, savory black beans, poblano peppers, shredded cheddar and jack cheeses, chili lime tortilla strips and a fresh-sliced lime wedge on the side."
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"entryId": "e8js4xocm438xs96lkym447cv",
|
83
|
+
"name": "Side Salad",
|
84
|
+
"description": "Premium mixed greens tossed with succulent grape tomatoes and shaved carrots."
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"entryId": "ex8e1du2dd9n6p730h4aaour9",
|
88
|
+
"name": "Fruit & Walnuts",
|
89
|
+
"description": "Go wild with wedges of crisp apples, juicy red grapes, candied walnuts and our low-fat vanilla yogurt."
|
90
|
+
}
|
91
|
+
]
|
92
|
+
}
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"sectionId": "e9mw4rruoy88sf5obdzv3gx7p",
|
96
|
+
"name": "Burgers and Sandwiches",
|
97
|
+
"entries": {
|
98
|
+
"count": 31,
|
99
|
+
"items": [
|
100
|
+
{
|
101
|
+
"entryId": "etr58xjhhthq77nrwsd5b637y",
|
102
|
+
"name": "Angus Chipotle Bbq Bacon",
|
103
|
+
"description": "Make time for the bold taste of a third-pound* 100% angus beef smothered in sensationally sweet 'n smoky chipotle bbq sauce, kicked up with crisp red onions, sliced pickles and two slices of american cheese, all on a toasted sesame seed bun."
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"entryId": "ebee6eiw0sa7vkg6d8v6z2psr",
|
107
|
+
"name": "Angus Bacon & Cheese",
|
108
|
+
"description": "Bigger really is better when you meet our third-pound* 100% angus beef patty on a premium bakery style bun. then add savory bacon, two slices of golden cheese and top it off with crisp red onion and crinkle-cut pickles."
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"entryId": "e18xynzfw0w6b6fyhpx4v0myi",
|
112
|
+
"name": "Angus Deluxe",
|
113
|
+
"description": "Behold our sumptuous, third-pound* 100% angus beef patty on a premium bakery style bun. don't forget the bling: two slices of golden cheese topped off with farm fresh tomato, whole-leaf lettuce, crisp red onion and crinkle-cut pickles."
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"entryId": "eh4goq8j1pelsxdtk6zd79njd",
|
117
|
+
"name": "Angus Mushroom & Swiss",
|
118
|
+
"description": "A thick and juicy third-pound* 100% angus beef patty is good. but we're going for great. so we add two slices of swiss cheese and savory sautéed mushrooms. nice, huh?"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"entryId": "ejxp4b6yeadg4qc26g9rlwn6y",
|
122
|
+
"name": "Big Mac",
|
123
|
+
"description": "Maybe it's the double layer of sear-sizzled 100% pure beef mingled with the sauce and melty cheese, the snap of the onion and the tart crunch of pickle. or maybe it's just that it's tall. either way, you so want one."
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"entryId": "e2603yhrltm33ruvj1ea3rimk",
|
127
|
+
"name": "Quarter Pounder with Cheese",
|
128
|
+
"description": "It's 100% pure beefy cheesiness. it tastes great, and it knows it. two slices of melting cheese, a quarter pound of 100% pure beef and a toasted sesame seed bun. really, what's not to love?"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"entryId": "exf82gplhtjkmv0vg1pstewv5",
|
132
|
+
"name": "Double Quarter Pounder with Cheese",
|
133
|
+
"description": "With two 1/4 pound 100% beef patties and two slices of american cheese, the dqpc grants all your burger wishes, times two."
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"entryId": "e3p3y78o1nwv4jdkz1izd6ese",
|
137
|
+
"name": "Hamburger",
|
138
|
+
"description": "Always delicious. juicy 100% beef patty, tangy pickles, onions, ketchup and mustard all on a toasted bun."
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"entryId": "e4brvdxnm5250dl6pg3wwjjff",
|
142
|
+
"name": "Cheeseburger",
|
143
|
+
"description": "A slice of melty american cheese on a juicy 100% beef patty, zippy pickles and onions, ketchup and mustard on a toasted bun."
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"entryId": "e0g1ur0gs58gv25wl4sup5shi",
|
147
|
+
"name": "Double Cheeseburger",
|
148
|
+
"description": "We make it like we always have: two slices of golden american cheese with two 100% all-beef patties, pickles, onions, ketchup and mustard on a toasted bun."
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"entryId": "eehy728zuc6tbyk1jc2cuy0de",
|
152
|
+
"name": "Mcdouble",
|
153
|
+
"description": "Take two. a slice of melty american cheese between two 100% beef patties, topped with pickles, onions, ketchup and mustard on a toasted bun."
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"entryId": "eyeg5319b5qtyelks4078phnr",
|
157
|
+
"name": "Filet-O-Fish",
|
158
|
+
"description": "Dive right in. don't hesitate, cuz it's made with light, flaky filet of white fish from the deep, cold waters of the pacific ocean and the bering, baltic and north seas. topped with tangy tartar sauce in a lightly steamed bun. down you go!"
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"entryId": "e0hqfe76lvx1h5btjenufy7ef",
|
162
|
+
"name": "Southern Style Crispy Chicken Sandwich",
|
163
|
+
"description": "All-white meat crispy chicken and zingy pickles on a buttery steamed bun."
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"entryId": "eh8esbp6i93i6k2j8g2pltego",
|
167
|
+
"name": "Big N' Tasty",
|
168
|
+
"description": "With a 1/4 pound* 100% beef patty, juicy tomato, premium leaf lettuce, pickles, slivered onions, ketchup and mayonnaise dressing on a toasted sesame seed bun, we could have called it the ginormous burger. (but we didn't.)"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"entryId": "e9clqv2dfwfotxa7p28rp828t",
|
172
|
+
"name": "Big N' Tasty with Cheese",
|
173
|
+
"description": "With a 1/4 pound* 100% beef patty, slice of american cheese, juicy tomato, premium leaf lettuce, pickles, slivered onions, ketchup and mayonnaise dressing on a toasted sesame seed bun, we could have called it the ginormous burger. (but we didn't.)"
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"entryId": "exa46eamkp2txbof1phor8ts4",
|
177
|
+
"name": "Premium Crispy Chicken Classic Sandwich",
|
178
|
+
"description": "White meat crispy chicken breast filet so tender and juicy, we can't keep it a secret. served on a bakery-style bun with leafy green lettuce, a slice of tomato and mayonnaise dressing."
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"entryId": "epj0uubqagdlslni7xhld9s05",
|
182
|
+
"name": "Premium Grilled Chicken Classic Sandwich",
|
183
|
+
"description": "White meat grilled chicken breast filet so tender and juicy, we can't keep it a secret. served on a bakery-style bun with leafy green lettuce, a slice of tomato and mayonnaise dressing."
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"entryId": "e0b653g0l5337kstmw0tjvcpg",
|
187
|
+
"name": "Premium Grilled Chicken Club Sandwich",
|
188
|
+
"description": "White meat grilled chicken breast filet and hickory smoked bacon make for the most delicious of encounters. the bakery-style bun and swiss cheese help, too."
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"entryId": "eo60oae73d6wvknpkqce7jfjt",
|
192
|
+
"name": "Premium Crispy Chicken Ranch Blt Sandwich",
|
193
|
+
"description": "Juicy white meat crispy chicken breast filet? check. hickory smoked bacon? check. creamy ranch sauce? check, and check out the bakery-style bun."
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"entryId": "e0ka9gh3krbzgh7whvgrn431d",
|
197
|
+
"name": "Premium Grilled Chicken Ranch Blt Sandwich",
|
198
|
+
"description": "Juicy white meat grilled chicken breast filet? check. hickory smoked bacon? check. creamy ranch sauce? check, and check out the bakery-style bun."
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"entryId": "endwb3uqmso70erhvvw3frocg",
|
202
|
+
"name": "Mcchicken",
|
203
|
+
"description": "You'll be dazzled by the golden, crispy chicken housed on a perfectly toasted bun."
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"entryId": "eccl4culdr2ybxqiux202y7ut",
|
207
|
+
"name": "Premium Grilled Chicken Classic Sandwich",
|
208
|
+
"description": "White meat grilled chicken breast filet so tender and juicy, we can't keep it a secret. served on a bakery-style bun with leafy green lettuce, a slice of tomato and mayonnaise dressing."
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"entryId": "ek4b5p8ewjrbbj1gecofl4l7m",
|
212
|
+
"name": "Angus Bacon & Cheese Snack Wrap",
|
213
|
+
"description": "100% savory angus beef, sensational bacon slices, melty american cheese, tangy crinkle cut pickles and snappy red onions in a soft flour tortilla."
|
214
|
+
},
|
215
|
+
{
|
216
|
+
"entryId": "ehvabvs68vutqn2p6azvi3rxk",
|
217
|
+
"name": "Angus Deluxe Snack Wrap",
|
218
|
+
"description": "100% savory angus beef, fresh, ripe tomato slices, melty american cheese, crinkle cut pickles, crisp lettuce and snappy red onions wrapped in a soft flour tortilla."
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"entryId": "eo5q39nrp7nvp2fl4rub260og",
|
222
|
+
"name": "Angus Mushroom & Swiss Snack Wrap",
|
223
|
+
"description": "100% savory angus beef, tantalizingly tasty sliced mushrooms, and melty swiss cheese in a soft flour tortilla."
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"entryId": "ebse3x8wc4lfv0bsphab75cds",
|
227
|
+
"name": "Chipotle Bbq Snack Wrap (Grilled)",
|
228
|
+
"description": "100% angus beef smothered in sensationally sweet 'n smoky chipotle bbq sauce, crisp red onions, sliced pickles and american cheese, wrapped up in a soft flour tortilla."
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"entryId": "e9ivvuduhjmcpw7ap379xk46q",
|
232
|
+
"name": "Honey Mustard Snack Wrap (Crispy)",
|
233
|
+
"description": "A crispy chicken selects premium breast strip shines bright with the sweet, zippy glow of honey mustard."
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"entryId": "ed420f3pqozelm7rd651wc4bo",
|
237
|
+
"name": "Chipotle Bbq Snack Wrap (Grilled)",
|
238
|
+
"description": "Plump and juicy grilled chicken, bathed in the deep heat of chipotle bbq sauce, held in the tight embrace of a flour tortilla. wait, are you blushing?"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"entryId": "ef6a9mpkms8apkwbspryj7tfa",
|
242
|
+
"name": "Ranch Snack Wrap (Crispy)",
|
243
|
+
"description": "There's no messing around here, at the intersection of crispy chicken and creamy, tangy ranch sauce. on second thought, grab a napkin."
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"entryId": "e5vpk5x73siscf3tgpuf55ocj",
|
247
|
+
"name": "Ranch Snack Wrap (Grilled)",
|
248
|
+
"description": "Feast on this: juicy grilled chicken breast strip plus creamy, tangy ranch sauce wrapped in a tortilla."
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"entryId": "edujyemz5hn5ypev1gydk0wy6",
|
252
|
+
"name": "Mac Snack Wrap",
|
253
|
+
"description": "Oh, yes, we did! it's all you love about the big mac sandwich, wrapped and ready for snacking."
|
254
|
+
}
|
255
|
+
]
|
256
|
+
}
|
257
|
+
}
|
258
|
+
]
|
259
|
+
}
|
260
|
+
}
|
261
|
+
]
|
262
|
+
}
|
263
|
+
}
|
264
|
+
}
|
265
|
+
}
|
data/test/test_venues.rb
CHANGED
@@ -89,6 +89,14 @@ class TestVenues < Test::Unit::TestCase
|
|
89
89
|
venues.minivenues.first.id.should == '44dc96e4f964a520b0361fe3'
|
90
90
|
end
|
91
91
|
|
92
|
+
should "get menus for a venue" do
|
93
|
+
stub_get("https://api.foursquare.com/v2/venues/4b2a544ff964a5204ca724e3/menu?oauth_token=#{@client.oauth_token}", "venue_menus.json")
|
94
|
+
response = @client.venue_menus('4b2a544ff964a5204ca724e3')
|
95
|
+
response.menu.menus.items.count.should == 1
|
96
|
+
response.menu.menus.items.first.name.should == "Main Menu"
|
97
|
+
response.menu.menus.items.first['entries']['items'].first['entries'].items.count.should == 11
|
98
|
+
end
|
99
|
+
|
92
100
|
end
|
93
101
|
|
94
102
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foursquare2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-05-
|
13
|
+
date: 2012-05-08 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: faraday
|
17
|
-
requirement: &
|
17
|
+
requirement: &70329057858160 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '0.8'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70329057858160
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: faraday_middleware
|
28
|
-
requirement: &
|
28
|
+
requirement: &70329057857680 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: '0.8'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70329057857680
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: hashie
|
39
|
-
requirement: &
|
39
|
+
requirement: &70329057857200 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: '1.0'
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *70329057857200
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: awesome_print
|
50
|
-
requirement: &
|
50
|
+
requirement: &70329057856720 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ! '>='
|
@@ -55,10 +55,10 @@ dependencies:
|
|
55
55
|
version: '0'
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *70329057856720
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: shoulda
|
61
|
-
requirement: &
|
61
|
+
requirement: &70329057856240 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ! '>='
|
@@ -66,10 +66,10 @@ dependencies:
|
|
66
66
|
version: '0'
|
67
67
|
type: :development
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *70329057856240
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: bundler
|
72
|
-
requirement: &
|
72
|
+
requirement: &70329057855760 !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
75
|
- - ~>
|
@@ -77,10 +77,10 @@ dependencies:
|
|
77
77
|
version: '1.0'
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
80
|
+
version_requirements: *70329057855760
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: jeweler
|
83
|
-
requirement: &
|
83
|
+
requirement: &70329057855280 !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|
86
86
|
- - ~>
|
@@ -88,10 +88,10 @@ dependencies:
|
|
88
88
|
version: '1.5'
|
89
89
|
type: :development
|
90
90
|
prerelease: false
|
91
|
-
version_requirements: *
|
91
|
+
version_requirements: *70329057855280
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
93
|
name: rcov
|
94
|
-
requirement: &
|
94
|
+
requirement: &70329057871940 !ruby/object:Gem::Requirement
|
95
95
|
none: false
|
96
96
|
requirements:
|
97
97
|
- - ! '>='
|
@@ -99,10 +99,10 @@ dependencies:
|
|
99
99
|
version: '0'
|
100
100
|
type: :development
|
101
101
|
prerelease: false
|
102
|
-
version_requirements: *
|
102
|
+
version_requirements: *70329057871940
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: fakeweb
|
105
|
-
requirement: &
|
105
|
+
requirement: &70329057871460 !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
107
|
requirements:
|
108
108
|
- - ~>
|
@@ -110,10 +110,10 @@ dependencies:
|
|
110
110
|
version: '1.3'
|
111
111
|
type: :development
|
112
112
|
prerelease: false
|
113
|
-
version_requirements: *
|
113
|
+
version_requirements: *70329057871460
|
114
114
|
- !ruby/object:Gem::Dependency
|
115
115
|
name: jnunemaker-matchy
|
116
|
-
requirement: &
|
116
|
+
requirement: &70329057870980 !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
118
|
requirements:
|
119
119
|
- - ~>
|
@@ -121,10 +121,10 @@ dependencies:
|
|
121
121
|
version: '0.4'
|
122
122
|
type: :development
|
123
123
|
prerelease: false
|
124
|
-
version_requirements: *
|
124
|
+
version_requirements: *70329057870980
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: json_pure
|
127
|
-
requirement: &
|
127
|
+
requirement: &70329057870500 !ruby/object:Gem::Requirement
|
128
128
|
none: false
|
129
129
|
requirements:
|
130
130
|
- - ~>
|
@@ -132,10 +132,10 @@ dependencies:
|
|
132
132
|
version: '1.4'
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
|
-
version_requirements: *
|
135
|
+
version_requirements: *70329057870500
|
136
136
|
- !ruby/object:Gem::Dependency
|
137
137
|
name: multi_json
|
138
|
-
requirement: &
|
138
|
+
requirement: &70329057870000 !ruby/object:Gem::Requirement
|
139
139
|
none: false
|
140
140
|
requirements:
|
141
141
|
- - <
|
@@ -146,7 +146,7 @@ dependencies:
|
|
146
146
|
version: 0.0.5
|
147
147
|
type: :development
|
148
148
|
prerelease: false
|
149
|
-
version_requirements: *
|
149
|
+
version_requirements: *70329057870000
|
150
150
|
description: Gives access to all endpoints in version 2 of foursquare's API with syntax
|
151
151
|
that will be familiar to those who used the original foursquare gem by Jeremy Welch.
|
152
152
|
email:
|
@@ -196,6 +196,7 @@ files:
|
|
196
196
|
- test/fixtures/user_tips_empty.json
|
197
197
|
- test/fixtures/venue.json
|
198
198
|
- test/fixtures/venue_links.json
|
199
|
+
- test/fixtures/venue_menus.json
|
199
200
|
- test/fixtures/venue_photos.json
|
200
201
|
- test/fixtures/venue_tips.json
|
201
202
|
- test/helper.rb
|
@@ -221,7 +222,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
221
222
|
version: '0'
|
222
223
|
segments:
|
223
224
|
- 0
|
224
|
-
hash:
|
225
|
+
hash: 3885395942000903583
|
225
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
226
227
|
none: false
|
227
228
|
requirements:
|