gowalla 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/VERSION +1 -1
- data/changelog.md +5 -0
- data/gowalla.gemspec +4 -2
- data/lib/gowalla/client.rb +13 -5
- data/test/fixtures/events.json +134 -360
- data/test/fixtures/find_trips.json +694 -710
- data/test/fixtures/item.json +6 -67
- data/test/fixtures/items.json +59 -131
- data/test/fixtures/missing_items.json +1 -0
- data/test/fixtures/spot.json +197 -131
- data/test/fixtures/stamps.json +220 -160
- data/test/fixtures/top_spots.json +63 -62
- data/test/fixtures/trip.json +20 -20
- data/test/fixtures/trips.json +881 -957
- data/test/fixtures/user.json +37 -35
- data/test/fixtures/vaulted_items.json +12 -0
- data/test/test_gowalla.rb +34 -24
- metadata +4 -2
data/test/fixtures/stamps.json
CHANGED
@@ -1,224 +1,284 @@
|
|
1
1
|
{
|
2
2
|
"stamps": [
|
3
3
|
{
|
4
|
-
"
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
"
|
4
|
+
"spot": {
|
5
|
+
"address": {
|
6
|
+
"region": "TX",
|
7
|
+
"locality": "Austin"
|
8
|
+
},
|
9
|
+
"image_url": "http://static.gowalla.com/categories/17-standard.png",
|
10
|
+
"name": "Muck-N-Dave's Texas BBQ",
|
11
|
+
"url": "/spots/646423"
|
11
12
|
},
|
12
|
-
"
|
13
|
+
"checkins_count": 1,
|
14
|
+
"first_checkin_at": "2010-03-06T21:15:22+00:00",
|
15
|
+
"last_checkin_at": "2010-03-06T21:15:22+00:00"
|
13
16
|
},
|
14
17
|
{
|
15
|
-
"
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
"
|
18
|
+
"spot": {
|
19
|
+
"address": {
|
20
|
+
"region": "TX",
|
21
|
+
"locality": "Austin"
|
22
|
+
},
|
23
|
+
"image_url": "http://static.gowalla.com/categories/52-standard.png",
|
24
|
+
"name": "South Austin Museum Of Popular Culture",
|
25
|
+
"url": "/spots/202957"
|
22
26
|
},
|
23
|
-
"
|
27
|
+
"checkins_count": 1,
|
28
|
+
"first_checkin_at": "2010-03-06T19:34:39+00:00",
|
29
|
+
"last_checkin_at": "2010-03-06T19:34:39+00:00"
|
24
30
|
},
|
25
31
|
{
|
26
|
-
"
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
"
|
32
|
+
"spot": {
|
33
|
+
"address": {
|
34
|
+
"region": "TX",
|
35
|
+
"locality": "Austin"
|
36
|
+
},
|
37
|
+
"image_url": "http://static.gowalla.com/categories/1-standard.png",
|
38
|
+
"name": "Boîte",
|
39
|
+
"url": "/spots/121955"
|
33
40
|
},
|
34
|
-
"
|
41
|
+
"checkins_count": 1,
|
42
|
+
"first_checkin_at": "2010-03-06T19:08:11+00:00",
|
43
|
+
"last_checkin_at": "2010-03-06T19:08:11+00:00"
|
35
44
|
},
|
36
45
|
{
|
37
|
-
"
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
"
|
46
|
+
"spot": {
|
47
|
+
"address": {
|
48
|
+
"region": "TX",
|
49
|
+
"locality": "Austin"
|
50
|
+
},
|
51
|
+
"image_url": "http://static.gowalla.com/spots/293641-e7d7549d2a011279bb6c333cb5b7b83b.png",
|
52
|
+
"name": "Kung Fu Saloon",
|
53
|
+
"url": "/spots/293641"
|
44
54
|
},
|
45
|
-
"
|
55
|
+
"checkins_count": 1,
|
56
|
+
"first_checkin_at": "2010-03-06T07:28:19+00:00",
|
57
|
+
"last_checkin_at": "2010-03-06T07:28:19+00:00"
|
46
58
|
},
|
47
59
|
{
|
48
|
-
"
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
"
|
60
|
+
"spot": {
|
61
|
+
"address": {
|
62
|
+
"region": "TX",
|
63
|
+
"locality": "Austin"
|
64
|
+
},
|
65
|
+
"image_url": "http://static.gowalla.com/spots/420315-790176c52df5c1b8c00a97fa57b81991.png",
|
66
|
+
"name": "Gowalla Incorporated",
|
67
|
+
"url": "/spots/420315"
|
55
68
|
},
|
56
|
-
"
|
69
|
+
"checkins_count": 24,
|
70
|
+
"first_checkin_at": "2010-01-20T20:45:55+00:00",
|
71
|
+
"last_checkin_at": "2010-03-06T06:11:32+00:00"
|
57
72
|
},
|
58
73
|
{
|
59
|
-
"
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
"
|
74
|
+
"spot": {
|
75
|
+
"address": {
|
76
|
+
"region": "TX",
|
77
|
+
"locality": "Austin"
|
78
|
+
},
|
79
|
+
"image_url": "http://static.gowalla.com/spots/9241-1efaa96073aec22219f0fd26734d52a2.png",
|
80
|
+
"name": "Whole Foods",
|
81
|
+
"url": "/spots/9241"
|
66
82
|
},
|
67
|
-
"
|
83
|
+
"checkins_count": 5,
|
84
|
+
"first_checkin_at": "2009-09-15T01:25:40+00:00",
|
85
|
+
"last_checkin_at": "2010-03-06T02:21:25+00:00"
|
68
86
|
},
|
69
87
|
{
|
70
|
-
"
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
"
|
88
|
+
"spot": {
|
89
|
+
"address": {
|
90
|
+
"region": "TX",
|
91
|
+
"locality": "Austin"
|
92
|
+
},
|
93
|
+
"image_url": "http://static.gowalla.com/spots/21714-3fed705ea37c9c266efb70f3a62a2b6a.png",
|
94
|
+
"name": "Juan Pelota Cafe",
|
95
|
+
"url": "/spots/21714"
|
77
96
|
},
|
78
|
-
"
|
97
|
+
"checkins_count": 56,
|
98
|
+
"first_checkin_at": "2009-09-21T14:52:11+00:00",
|
99
|
+
"last_checkin_at": "2010-03-05T22:17:17+00:00"
|
79
100
|
},
|
80
101
|
{
|
81
|
-
"
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
"
|
102
|
+
"spot": {
|
103
|
+
"address": {
|
104
|
+
"region": "TX",
|
105
|
+
"locality": "Austin"
|
106
|
+
},
|
107
|
+
"image_url": "http://static.gowalla.com/spots/9371-28cd644cf7f98aee67273d4d5c8d5469.png",
|
108
|
+
"name": "Mellow Johnny's",
|
109
|
+
"url": "/spots/9371"
|
88
110
|
},
|
89
|
-
"
|
111
|
+
"checkins_count": 4,
|
112
|
+
"first_checkin_at": "2010-02-24T20:36:16+00:00",
|
113
|
+
"last_checkin_at": "2010-03-05T00:12:08+00:00"
|
90
114
|
},
|
91
115
|
{
|
92
|
-
"
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
"
|
116
|
+
"spot": {
|
117
|
+
"address": {
|
118
|
+
"region": "TX",
|
119
|
+
"locality": "Austin"
|
120
|
+
},
|
121
|
+
"image_url": "http://static.gowalla.com/categories/89-standard.png",
|
122
|
+
"name": "Raymond Ranch South",
|
123
|
+
"url": "/spots/25151"
|
99
124
|
},
|
100
|
-
"
|
125
|
+
"checkins_count": 27,
|
126
|
+
"first_checkin_at": "2009-09-16T17:15:02+00:00",
|
127
|
+
"last_checkin_at": "2010-03-04T08:06:37+00:00"
|
101
128
|
},
|
102
129
|
{
|
103
|
-
"
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
"
|
130
|
+
"spot": {
|
131
|
+
"address": {
|
132
|
+
"region": "CA",
|
133
|
+
"locality": "Sunnyvale"
|
134
|
+
},
|
135
|
+
"image_url": "http://static.gowalla.com/spots/53235-9808498e8976e704afea6ae3a8825b6d.png",
|
136
|
+
"name": "Palm",
|
137
|
+
"url": "/spots/53235"
|
110
138
|
},
|
111
|
-
"
|
139
|
+
"checkins_count": 6,
|
140
|
+
"first_checkin_at": "2010-02-05T05:52:16+00:00",
|
141
|
+
"last_checkin_at": "2010-03-03T19:43:29+00:00"
|
112
142
|
},
|
113
143
|
{
|
114
|
-
"
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
"
|
144
|
+
"spot": {
|
145
|
+
"address": {
|
146
|
+
"region": "CA",
|
147
|
+
"locality": "Sunnyvale"
|
148
|
+
},
|
149
|
+
"image_url": "http://static.gowalla.com/categories/121-standard.png",
|
150
|
+
"name": "Synopsys, Sunnyvale, Buildings 1 and 2",
|
151
|
+
"url": "/spots/96067"
|
121
152
|
},
|
122
|
-
"
|
153
|
+
"checkins_count": 1,
|
154
|
+
"first_checkin_at": "2010-03-03T19:41:04+00:00",
|
155
|
+
"last_checkin_at": "2010-03-03T19:41:04+00:00"
|
123
156
|
},
|
124
157
|
{
|
125
|
-
"
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
"
|
158
|
+
"spot": {
|
159
|
+
"address": {
|
160
|
+
"region": "CA",
|
161
|
+
"locality": "San Francisco"
|
162
|
+
},
|
163
|
+
"image_url": "http://static.gowalla.com/spots/21196-f16c65810808d8c57024502ff5126cc3.png",
|
164
|
+
"name": "Yelp HQ",
|
165
|
+
"url": "/spots/21196"
|
132
166
|
},
|
133
|
-
"
|
167
|
+
"checkins_count": 5,
|
168
|
+
"first_checkin_at": "2009-12-08T23:06:38+00:00",
|
169
|
+
"last_checkin_at": "2010-03-03T18:57:55+00:00"
|
134
170
|
},
|
135
171
|
{
|
136
|
-
"
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
"
|
172
|
+
"spot": {
|
173
|
+
"address": {
|
174
|
+
"region": "CA",
|
175
|
+
"locality": "San Francisco"
|
176
|
+
},
|
177
|
+
"image_url": "http://static.gowalla.com/categories/1-standard.png",
|
178
|
+
"name": "Peet's Coffee & Tea",
|
179
|
+
"url": "/spots/53896"
|
143
180
|
},
|
144
|
-
"
|
181
|
+
"checkins_count": 2,
|
182
|
+
"first_checkin_at": "2010-03-01T17:12:04+00:00",
|
183
|
+
"last_checkin_at": "2010-03-03T17:39:52+00:00"
|
145
184
|
},
|
146
185
|
{
|
147
|
-
"
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
"
|
186
|
+
"spot": {
|
187
|
+
"address": {
|
188
|
+
"region": "TX",
|
189
|
+
"locality": "Austin"
|
190
|
+
},
|
191
|
+
"image_url": "http://static.gowalla.com/spots/49904-d30046742175b5bc8dcbe1b0bdd151f8.png",
|
192
|
+
"name": "Torchy's Tacos",
|
193
|
+
"url": "/spots/49904"
|
154
194
|
},
|
155
|
-
"
|
195
|
+
"checkins_count": 10,
|
196
|
+
"first_checkin_at": "2009-10-19T18:40:00+00:00",
|
197
|
+
"last_checkin_at": "2010-03-02T19:00:29+00:00"
|
156
198
|
},
|
157
199
|
{
|
158
|
-
"
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
"
|
200
|
+
"spot": {
|
201
|
+
"address": {
|
202
|
+
"region": "CA",
|
203
|
+
"locality": "Sunnyvale"
|
204
|
+
},
|
205
|
+
"image_url": "http://static.gowalla.com/categories/121-standard.png",
|
206
|
+
"name": "LitePoint",
|
207
|
+
"url": "/spots/421644"
|
165
208
|
},
|
166
|
-
"
|
209
|
+
"checkins_count": 1,
|
210
|
+
"first_checkin_at": "2010-03-02T18:16:31+00:00",
|
211
|
+
"last_checkin_at": "2010-03-02T18:16:31+00:00"
|
167
212
|
},
|
168
213
|
{
|
169
|
-
"
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
"
|
214
|
+
"spot": {
|
215
|
+
"address": {
|
216
|
+
"region": "TX",
|
217
|
+
"locality": "Austin"
|
218
|
+
},
|
219
|
+
"image_url": "http://static.gowalla.com/categories/64-standard.png",
|
220
|
+
"name": "Farm to Market Grocery",
|
221
|
+
"url": "/spots/9463"
|
176
222
|
},
|
177
|
-
"
|
223
|
+
"checkins_count": 1,
|
224
|
+
"first_checkin_at": "2010-02-28T23:45:20+00:00",
|
225
|
+
"last_checkin_at": "2010-02-28T23:45:20+00:00"
|
178
226
|
},
|
179
227
|
{
|
180
|
-
"
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
"
|
228
|
+
"spot": {
|
229
|
+
"address": {
|
230
|
+
"region": "TX",
|
231
|
+
"locality": "Austin"
|
232
|
+
},
|
233
|
+
"image_url": "http://static.gowalla.com/categories/15-standard.png",
|
234
|
+
"name": "La Condesa",
|
235
|
+
"url": "/spots/46946"
|
187
236
|
},
|
188
|
-
"
|
237
|
+
"checkins_count": 2,
|
238
|
+
"first_checkin_at": "2010-02-25T00:50:13+00:00",
|
239
|
+
"last_checkin_at": "2010-02-28T04:16:27+00:00"
|
189
240
|
},
|
190
241
|
{
|
191
|
-
"
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
"
|
242
|
+
"spot": {
|
243
|
+
"address": {
|
244
|
+
"region": "TX",
|
245
|
+
"locality": "Austin"
|
246
|
+
},
|
247
|
+
"image_url": "http://static.gowalla.com/spots/624141-f8e23c9a5ef0e93d8d251564b0389819.png",
|
248
|
+
"name": "Sandi's 20-something-th Birthday!",
|
249
|
+
"url": "/spots/624141"
|
198
250
|
},
|
199
|
-
"
|
251
|
+
"checkins_count": 1,
|
252
|
+
"first_checkin_at": "2010-02-28T02:17:09+00:00",
|
253
|
+
"last_checkin_at": "2010-02-28T02:17:09+00:00"
|
200
254
|
},
|
201
255
|
{
|
202
|
-
"
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
"
|
256
|
+
"spot": {
|
257
|
+
"address": {
|
258
|
+
"region": "TX",
|
259
|
+
"locality": "Austin"
|
260
|
+
},
|
261
|
+
"image_url": "http://static.gowalla.com/spots/9225-91813be1a4c963f192d35bd16d4b257b.png",
|
262
|
+
"name": "The Ginger Man",
|
263
|
+
"url": "/spots/9225"
|
209
264
|
},
|
210
|
-
"
|
265
|
+
"checkins_count": 4,
|
266
|
+
"first_checkin_at": "2009-03-13T03:39:17+00:00",
|
267
|
+
"last_checkin_at": "2010-02-28T01:33:41+00:00"
|
211
268
|
},
|
212
269
|
{
|
213
|
-
"
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
"
|
270
|
+
"spot": {
|
271
|
+
"address": {
|
272
|
+
"region": "TX",
|
273
|
+
"locality": "Austin"
|
274
|
+
},
|
275
|
+
"image_url": "http://static.gowalla.com/categories/155-standard.png",
|
276
|
+
"name": "More Home Slice",
|
277
|
+
"url": "/spots/608105"
|
220
278
|
},
|
221
|
-
"
|
279
|
+
"checkins_count": 1,
|
280
|
+
"first_checkin_at": "2010-02-27T23:03:35+00:00",
|
281
|
+
"last_checkin_at": "2010-02-27T23:03:35+00:00"
|
222
282
|
}
|
223
283
|
]
|
224
284
|
}
|
@@ -1,63 +1,64 @@
|
|
1
|
-
|
2
|
-
[
|
3
|
-
{
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
},
|
9
|
-
{
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
},
|
15
|
-
{
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
},
|
21
|
-
{
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
},
|
27
|
-
{
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
},
|
33
|
-
{
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
},
|
39
|
-
{
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
},
|
45
|
-
{
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
},
|
51
|
-
{
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
},
|
57
|
-
{
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
1
|
+
{
|
2
|
+
"top_spots": [
|
3
|
+
{
|
4
|
+
"image_url": "http://static.gowalla.com/spots/21714-3fed705ea37c9c266efb70f3a62a2b6a.png",
|
5
|
+
"user_checkins_count": 30,
|
6
|
+
"name": "Juan Pelota Cafe",
|
7
|
+
"url": "/spots/21714"
|
8
|
+
},
|
9
|
+
{
|
10
|
+
"image_url": "http://static.gowalla.com/spots/420315-790176c52df5c1b8c00a97fa57b81991.png",
|
11
|
+
"user_checkins_count": 24,
|
12
|
+
"name": "Gowalla Incorporated",
|
13
|
+
"url": "/spots/420315"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"image_url": "http://static.gowalla.com/categories/89-standard.png",
|
17
|
+
"user_checkins_count": 16,
|
18
|
+
"name": "Raymond Ranch South",
|
19
|
+
"url": "/spots/25151"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"image_url": "http://static.gowalla.com/spots/53235-9808498e8976e704afea6ae3a8825b6d.png",
|
23
|
+
"user_checkins_count": 6,
|
24
|
+
"name": "Palm",
|
25
|
+
"url": "/spots/53235"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"image_url": "http://static.gowalla.com/spots/49904-d30046742175b5bc8dcbe1b0bdd151f8.png",
|
29
|
+
"user_checkins_count": 6,
|
30
|
+
"name": "Torchy's Tacos",
|
31
|
+
"url": "/spots/49904"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"image_url": "http://static.gowalla.com/spots/9410-132ed068e83fc11c465ec25f519ed677.png",
|
35
|
+
"user_checkins_count": 6,
|
36
|
+
"name": "AUS Austin-Bergstrom",
|
37
|
+
"url": "/spots/9410"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"image_url": "http://static.gowalla.com/spots/21196-f16c65810808d8c57024502ff5126cc3.png",
|
41
|
+
"user_checkins_count": 5,
|
42
|
+
"name": "Yelp HQ",
|
43
|
+
"url": "/spots/21196"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"image_url": "http://static.gowalla.com/categories/121-standard.png",
|
47
|
+
"user_checkins_count": 5,
|
48
|
+
"name": "Infinite Loop 1",
|
49
|
+
"url": "/spots/39438"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"image_url": "http://static.gowalla.com/spots/19542-d2f67701fe94dc48da754cc8dfc9ed7c.png",
|
53
|
+
"user_checkins_count": 5,
|
54
|
+
"name": "SFO San Francisco International",
|
55
|
+
"url": "/spots/19542"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"image_url": "http://static.gowalla.com/categories/1-standard.png",
|
59
|
+
"user_checkins_count": 5,
|
60
|
+
"name": "Latte Land",
|
61
|
+
"url": "/spots/8964"
|
62
62
|
}
|
63
|
-
]
|
63
|
+
]
|
64
|
+
}
|