foursquare-api 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/.idea/workspace.xml CHANGED
@@ -2,17 +2,8 @@
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
4
  <list default="true" id="c9bf4dcc-faf0-4ff0-970a-dfec1d51548e" name="Default" comment="">
5
- <change type="MOVED" beforePath="$PROJECT_DIR$/lib/checkins.rb" afterPath="$PROJECT_DIR$/lib/foursquare_checkins.rb" />
6
- <change type="MOVED" beforePath="$PROJECT_DIR$/lib/node.rb" afterPath="$PROJECT_DIR$/lib/foursquare_node.rb" />
7
- <change type="MOVED" beforePath="$PROJECT_DIR$/lib/photo.rb" afterPath="$PROJECT_DIR$/lib/foursquare_photo.rb" />
8
- <change type="MOVED" beforePath="$PROJECT_DIR$/lib/settings.rb" afterPath="$PROJECT_DIR$/lib/foursquare_settings.rb" />
9
- <change type="MOVED" beforePath="$PROJECT_DIR$/lib/tips.rb" afterPath="$PROJECT_DIR$/lib/foursquare_tips.rb" />
10
- <change type="MOVED" beforePath="$PROJECT_DIR$/lib/user.rb" afterPath="$PROJECT_DIR$/lib/foursquare_user.rb" />
11
- <change type="MOVED" beforePath="$PROJECT_DIR$/lib/venue.rb" afterPath="$PROJECT_DIR$/lib/foursquare_venue.rb" />
12
5
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
13
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/VERSION" afterPath="$PROJECT_DIR$/VERSION" />
14
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/foursquare-api.gemspec" afterPath="$PROJECT_DIR$/foursquare-api.gemspec" />
15
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/foursquare.rb" afterPath="$PROJECT_DIR$/lib/foursquare.rb" />
6
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/README.rdoc" afterPath="$PROJECT_DIR$/README.rdoc" />
16
7
  </list>
17
8
  <ignored path="foursquare-api.iws" />
18
9
  <ignored path=".idea/workspace.xml" />
@@ -36,10 +27,55 @@
36
27
  <component name="FileColors" enabled="true" enabledForTabs="true" showNonProject="false" />
37
28
  <component name="FileEditorManager">
38
29
  <leaf>
39
- <file leaf-file-name="VERSION" pinned="false" current="true" current-in-tab="true">
40
- <entry file="file://$PROJECT_DIR$/VERSION">
30
+ <file leaf-file-name="README.rdoc" pinned="false" current="true" current-in-tab="true">
31
+ <entry file="file://$PROJECT_DIR$/README.rdoc">
41
32
  <provider selected="true" editor-type-id="text-editor">
42
- <state line="0" column="5" selection-start="5" selection-end="5" vertical-scroll-proportion="0.0">
33
+ <state line="91" column="2" selection-start="2424" selection-end="2424" vertical-scroll-proportion="0.9232">
34
+ <folding />
35
+ </state>
36
+ </provider>
37
+ </entry>
38
+ </file>
39
+ <file leaf-file-name="foursquare_venue.rb" pinned="false" current="false" current-in-tab="false">
40
+ <entry file="file://$PROJECT_DIR$/lib/foursquare_venue.rb">
41
+ <provider selected="true" editor-type-id="text-editor">
42
+ <state line="30" column="19" selection-start="895" selection-end="895" vertical-scroll-proportion="0.0">
43
+ <folding />
44
+ </state>
45
+ </provider>
46
+ </entry>
47
+ </file>
48
+ <file leaf-file-name="foursquare_tips.rb" pinned="false" current="false" current-in-tab="false">
49
+ <entry file="file://$PROJECT_DIR$/lib/foursquare_tips.rb">
50
+ <provider selected="true" editor-type-id="text-editor">
51
+ <state line="1" column="27" selection-start="45" selection-end="45" vertical-scroll-proportion="0.0">
52
+ <folding />
53
+ </state>
54
+ </provider>
55
+ </entry>
56
+ </file>
57
+ <file leaf-file-name="foursquare_user.rb" pinned="false" current="false" current-in-tab="false">
58
+ <entry file="file://$PROJECT_DIR$/lib/foursquare_user.rb">
59
+ <provider selected="true" editor-type-id="text-editor">
60
+ <state line="71" column="16" selection-start="1850" selection-end="1858" vertical-scroll-proportion="0.0">
61
+ <folding />
62
+ </state>
63
+ </provider>
64
+ </entry>
65
+ </file>
66
+ <file leaf-file-name="foursquare_settings.rb" pinned="false" current="false" current-in-tab="false">
67
+ <entry file="file://$PROJECT_DIR$/lib/foursquare_settings.rb">
68
+ <provider selected="true" editor-type-id="text-editor">
69
+ <state line="1" column="31" selection-start="49" selection-end="49" vertical-scroll-proportion="0.0">
70
+ <folding />
71
+ </state>
72
+ </provider>
73
+ </entry>
74
+ </file>
75
+ <file leaf-file-name="foursquare_photo.rb" pinned="false" current="false" current-in-tab="false">
76
+ <entry file="file://$PROJECT_DIR$/lib/foursquare_photo.rb">
77
+ <provider selected="true" editor-type-id="text-editor">
78
+ <state line="1" column="28" selection-start="46" selection-end="46" vertical-scroll-proportion="0.0">
43
79
  <folding />
44
80
  </state>
45
81
  </provider>
@@ -79,10 +115,7 @@
79
115
  <component name="IdeDocumentHistory">
80
116
  <option name="changedFiles">
81
117
  <list>
82
- <option value="$PROJECT_DIR$/README.rdoc" />
83
- <option value="$PROJECT_DIR$/Rakefile" />
84
118
  <option value="$PROJECT_DIR$/lib/foursquare.rb" />
85
- <option value="$PROJECT_DIR$/foursquare-api.gemspec" />
86
119
  <option value="$PROJECT_DIR$/lib/checkins.rb" />
87
120
  <option value="$PROJECT_DIR$/lib/photo.rb" />
88
121
  <option value="$PROJECT_DIR$/lib/settings.rb" />
@@ -90,6 +123,11 @@
90
123
  <option value="$PROJECT_DIR$/lib/user.rb" />
91
124
  <option value="$PROJECT_DIR$/lib/venue.rb" />
92
125
  <option value="$PROJECT_DIR$/VERSION" />
126
+ <option value="$PROJECT_DIR$/Rakefile" />
127
+ <option value="$PROJECT_DIR$/Gemfile" />
128
+ <option value="$PROJECT_DIR$/lib/foursquare_node.rb" />
129
+ <option value="$PROJECT_DIR$/foursquare-api.gemspec" />
130
+ <option value="$PROJECT_DIR$/README.rdoc" />
93
131
  </list>
94
132
  </option>
95
133
  </component>
@@ -119,11 +157,6 @@
119
157
  <sortByType />
120
158
  </navigator>
121
159
  <panes>
122
- <pane id="Scope">
123
- <subPane />
124
- <subPane subId="Problems" />
125
- <subPane subId="All" />
126
- </pane>
127
160
  <pane id="ProjectPane">
128
161
  <subPane>
129
162
  <PATH>
@@ -146,6 +179,20 @@
146
179
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
147
180
  </PATH_ELEMENT>
148
181
  </PATH>
182
+ <PATH>
183
+ <PATH_ELEMENT>
184
+ <option name="myItemId" value="foursquare-api" />
185
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
186
+ </PATH_ELEMENT>
187
+ <PATH_ELEMENT>
188
+ <option name="myItemId" value="foursquare-api" />
189
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
190
+ </PATH_ELEMENT>
191
+ <PATH_ELEMENT>
192
+ <option name="myItemId" value="test" />
193
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
194
+ </PATH_ELEMENT>
195
+ </PATH>
149
196
  <PATH>
150
197
  <PATH_ELEMENT>
151
198
  <option name="myItemId" value="foursquare-api" />
@@ -163,6 +210,11 @@
163
210
  </subPane>
164
211
  </pane>
165
212
  <pane id="Favorites" />
213
+ <pane id="Scope">
214
+ <subPane />
215
+ <subPane subId="Problems" />
216
+ <subPane subId="All" />
217
+ </pane>
166
218
  </panes>
167
219
  </component>
168
220
  <component name="PropertiesComponent">
@@ -242,22 +294,22 @@
242
294
  <servers />
243
295
  </component>
244
296
  <component name="ToolWindowManager">
245
- <frame x="0" y="22" width="1280" height="774" extended-state="0" />
297
+ <frame x="1280" y="0" width="1280" height="1024" extended-state="6" />
246
298
  <editor active="true" />
247
299
  <layout>
248
300
  <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
249
301
  <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
250
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3297546" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
302
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2383592" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
251
303
  <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="0" side_tool="true" content_ui="tabs" />
252
- <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
253
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.22133759" sideWeight="0.6702454" order="1" side_tool="false" content_ui="tabs" x="1781" y="61" width="278" height="902" />
304
+ <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
305
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.22133759" sideWeight="0.7616408" order="1" side_tool="false" content_ui="tabs" x="1781" y="61" width="278" height="902" />
254
306
  <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
255
307
  <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
256
- <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
308
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
257
309
  <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
258
310
  <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
259
311
  <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
260
- <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3297546" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
312
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3297546" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
261
313
  <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
262
314
  <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
263
315
  <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
@@ -295,83 +347,94 @@
295
347
  <breakpoint-manager />
296
348
  </component>
297
349
  <component name="editorHistoryManager">
298
- <entry file="file://$PROJECT_DIR$/Gemfile">
350
+ <entry file="file://$PROJECT_DIR$/lib/foursquare.rb">
299
351
  <provider selected="true" editor-type-id="text-editor">
300
- <state line="11" column="20" selection-start="357" selection-end="357" vertical-scroll-proportion="0.0" />
352
+ <state line="0" column="25" selection-start="25" selection-end="25" vertical-scroll-proportion="0.0" />
301
353
  </provider>
302
354
  </entry>
303
- <entry file="file://$PROJECT_DIR$/Rakefile">
355
+ <entry file="file://$PROJECT_DIR$/VERSION">
304
356
  <provider selected="true" editor-type-id="text-editor">
305
- <state line="12" column="27" selection-start="290" selection-end="290" vertical-scroll-proportion="0.0" />
357
+ <state line="0" column="5" selection-start="5" selection-end="5" vertical-scroll-proportion="0.0" />
306
358
  </provider>
307
359
  </entry>
308
- <entry file="file://$PROJECT_DIR$/README.rdoc">
360
+ <entry file="file://$PROJECT_DIR$/lib/foursquare_node.rb">
309
361
  <provider selected="true" editor-type-id="text-editor">
310
- <state line="11" column="24" selection-start="228" selection-end="228" vertical-scroll-proportion="0.0" />
362
+ <state line="6" column="7" selection-start="168" selection-end="168" vertical-scroll-proportion="0.0">
363
+ <folding />
364
+ </state>
311
365
  </provider>
312
366
  </entry>
313
- <entry file="file://$PROJECT_DIR$/foursquare-api.gemspec">
367
+ <entry file="file://$PROJECT_DIR$/Gemfile">
314
368
  <provider selected="true" editor-type-id="text-editor">
315
- <state line="23" column="17" selection-start="692" selection-end="692" vertical-scroll-proportion="0.0">
369
+ <state line="12" column="3" selection-start="361" selection-end="361" vertical-scroll-proportion="0.0">
316
370
  <folding />
317
371
  </state>
318
372
  </provider>
319
373
  </entry>
320
- <entry file="file://$PROJECT_DIR$/lib/foursquare_settings.rb">
374
+ <entry file="file://$PROJECT_DIR$/.gitignore">
321
375
  <provider selected="true" editor-type-id="text-editor">
322
- <state line="1" column="31" selection-start="49" selection-end="49" vertical-scroll-proportion="0.0" />
376
+ <state line="17" column="1" selection-start="217" selection-end="217" vertical-scroll-proportion="0.0">
377
+ <folding />
378
+ </state>
323
379
  </provider>
324
380
  </entry>
325
- <entry file="file://$PROJECT_DIR$/lib/foursquare_tips.rb">
381
+ <entry file="file://$PROJECT_DIR$/foursquare-api.gemspec">
326
382
  <provider selected="true" editor-type-id="text-editor">
327
- <state line="1" column="27" selection-start="45" selection-end="45" vertical-scroll-proportion="0.0">
383
+ <state line="2" column="53" selection-start="109" selection-end="122" vertical-scroll-proportion="0.0">
328
384
  <folding />
329
385
  </state>
330
386
  </provider>
331
387
  </entry>
332
- <entry file="file://$PROJECT_DIR$/lib/foursquare_user.rb">
388
+ <entry file="file://$PROJECT_DIR$/Rakefile">
333
389
  <provider selected="true" editor-type-id="text-editor">
334
- <state line="1" column="27" selection-start="45" selection-end="45" vertical-scroll-proportion="0.0">
390
+ <state line="14" column="29" selection-start="417" selection-end="417" vertical-scroll-proportion="0.0">
335
391
  <folding />
336
392
  </state>
337
393
  </provider>
338
394
  </entry>
339
- <entry file="file://$PROJECT_DIR$/lib/foursquare_venue.rb">
395
+ <entry file="file://$PROJECT_DIR$/lib/foursquare_checkins.rb">
340
396
  <provider selected="true" editor-type-id="text-editor">
341
- <state line="11" column="16" selection-start="336" selection-end="336" vertical-scroll-proportion="0.21187802">
397
+ <state line="33" column="21" selection-start="1133" selection-end="1146" vertical-scroll-proportion="0.45360824">
342
398
  <folding />
343
399
  </state>
344
400
  </provider>
345
401
  </entry>
346
402
  <entry file="file://$PROJECT_DIR$/lib/foursquare_photo.rb">
347
403
  <provider selected="true" editor-type-id="text-editor">
348
- <state line="1" column="28" selection-start="46" selection-end="46" vertical-scroll-proportion="0.019261638">
404
+ <state line="1" column="28" selection-start="46" selection-end="46" vertical-scroll-proportion="0.0">
349
405
  <folding />
350
406
  </state>
351
407
  </provider>
352
408
  </entry>
353
- <entry file="file://$PROJECT_DIR$/lib/foursquare_node.rb">
409
+ <entry file="file://$PROJECT_DIR$/lib/foursquare_settings.rb">
354
410
  <provider selected="true" editor-type-id="text-editor">
355
- <state line="9" column="20" selection-start="322" selection-end="322" vertical-scroll-proportion="0.0" />
411
+ <state line="1" column="31" selection-start="49" selection-end="49" vertical-scroll-proportion="0.0" />
356
412
  </provider>
357
413
  </entry>
358
- <entry file="file://$PROJECT_DIR$/lib/foursquare_checkins.rb">
414
+ <entry file="file://$PROJECT_DIR$/lib/foursquare_tips.rb">
415
+ <provider selected="true" editor-type-id="text-editor">
416
+ <state line="1" column="27" selection-start="45" selection-end="45" vertical-scroll-proportion="0.0" />
417
+ </provider>
418
+ </entry>
419
+ <entry file="file://$PROJECT_DIR$/lib/foursquare_user.rb">
359
420
  <provider selected="true" editor-type-id="text-editor">
360
- <state line="1" column="19" selection-start="37" selection-end="49" vertical-scroll-proportion="0.019261638">
421
+ <state line="71" column="16" selection-start="1850" selection-end="1858" vertical-scroll-proportion="0.0">
361
422
  <folding />
362
423
  </state>
363
424
  </provider>
364
425
  </entry>
365
- <entry file="file://$PROJECT_DIR$/lib/foursquare.rb">
426
+ <entry file="file://$PROJECT_DIR$/lib/foursquare_venue.rb">
366
427
  <provider selected="true" editor-type-id="text-editor">
367
- <state line="0" column="25" selection-start="25" selection-end="25" vertical-scroll-proportion="0.0">
428
+ <state line="30" column="19" selection-start="895" selection-end="895" vertical-scroll-proportion="0.0">
368
429
  <folding />
369
430
  </state>
370
431
  </provider>
371
432
  </entry>
372
- <entry file="file://$PROJECT_DIR$/VERSION">
433
+ <entry file="file://$PROJECT_DIR$/README.rdoc">
373
434
  <provider selected="true" editor-type-id="text-editor">
374
- <state line="0" column="5" selection-start="5" selection-end="5" vertical-scroll-proportion="0.0" />
435
+ <state line="91" column="2" selection-start="2424" selection-end="2424" vertical-scroll-proportion="0.9232">
436
+ <folding />
437
+ </state>
375
438
  </provider>
376
439
  </entry>
377
440
  </component>
data/README.rdoc CHANGED
@@ -8,10 +8,12 @@ $ gem install foursquare-api
8
8
 
9
9
  = usage
10
10
 
11
- >> venue = Foursquare::Venue.new(origin_identifier, access_token)
12
- >> venue.search({:ll => "37.792694,-122.409325"})
13
- >> {"meta"=>{"code"=>200},
14
- "response"=>{"groups"=>[{ "type"=>"trending",
11
+ venue = Foursquare::Venue.new(access_token)
12
+
13
+ venue.search({:ll => "37.792694,-122.409325"})
14
+
15
+ {"meta"=>{"code"=>200},
16
+ "response"=>{"groups" => [{ "type"=>"trending",
15
17
  "name"=>"Trending Now",
16
18
  "items"=>[{ "id"=>"4330a280f964a520fa271fe3",
17
19
  "name"=>"Supperclub",
@@ -36,17 +38,66 @@ $ gem install foursquare-api
36
38
  "specials"=>[],
37
39
  "hereNow"=>{"count"=>5}}]}}
38
40
 
39
- == Contributing to foursquare-api
41
+ = supported endpoints
42
+
43
+ == Checkins
44
+
45
+ * add
46
+ * recent
47
+ * addcomment
48
+ * deletecomment
49
+
50
+ == Photo (Beta)
51
+
52
+ * add
53
+
54
+ == Setting
55
+
56
+ * all
57
+ * set
58
+
59
+ == Tips
60
+
61
+ * add
62
+ * search
63
+ * marktodo
64
+ * markdone
65
+ * unmark
66
+
67
+ == User
68
+
69
+ * search
70
+ * request
71
+ * badges
72
+ * checkins
73
+ * friends
74
+ * tips
75
+ * todos
76
+ * venuehistory
77
+ * request
78
+ * unfriend
79
+ * approve
80
+ * deny
81
+ * setpings
82
+
83
+ == Venue
84
+
85
+ * add
86
+ * categories
87
+ * search
88
+ * herenow
89
+ * tips
90
+ * marktodo
91
+ * flag
92
+ * proposeedit
93
+
94
+
95
+ = Contributing to foursquare-api
40
96
 
41
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
42
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
43
- * Fork the project
44
- * Start a feature/bugfix branch
45
- * Commit and push until you are happy with your contribution
46
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
47
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
48
-
49
- == Copyright
97
+ * If you have made any improvements to the foursquare-api gem and want to release it under this branch, feel free to contact me on github. I'll add you as a contributor.
98
+ * Otherwise, feel free to fork this branch. Just remember to include me in the README.
99
+
100
+ = Copyright
50
101
 
51
102
  Copyright (c) 2011 Ronald Wan. See LICENSE.txt for
52
103
  further details.
data/Rakefile CHANGED
@@ -16,7 +16,7 @@ Jeweler::Tasks.new do |gem|
16
16
  gem.homepage = "http://github.com/ronaldwan/foursquare-api"
17
17
  gem.license = "GPL"
18
18
  gem.summary = "%Q{foursquare-api is a Ruby wrapper for the new Foursqauare V2 API}"
19
- gem.description = %Q{Please see github for description}
19
+ gem.description = "%Q{foursquare-api is a Ruby wrapper for the new Foursqauare V2 API}"
20
20
  gem.email = "ronald__wan@hotmail.com"
21
21
  gem.authors = ["ronaldwan"]
22
22
  # Include your dependencies below. Runtime dependencies are required when using your gem,
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -5,12 +5,12 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{foursquare-api}
8
- s.version = "0.0.3"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["ronaldwan"]
12
- s.date = %q{2011-01-02}
13
- s.description = %q{Please see github for description}
12
+ s.date = %q{2011-01-15}
13
+ s.description = %q{%Q{foursquare-api is a Ruby wrapper for the new Foursqauare V2 API}}
14
14
  s.email = %q{ronald__wan@hotmail.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
@@ -1,7 +1,7 @@
1
1
  module Foursquare
2
2
  class Node
3
- def initialize(origin_identifier, access_token="")
4
- @origin_identifier = origin_identifier
3
+
4
+ def initialize(access_token)
5
5
  @access_token = access_token
6
6
  @base_url = "https://api.foursquare.com:443/v2/"
7
7
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - ronaldwan
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-02 00:00:00 -05:00
17
+ date: 2011-01-15 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -73,7 +73,7 @@ dependencies:
73
73
  type: :development
74
74
  prerelease: false
75
75
  version_requirements: *id004
76
- description: Please see github for description
76
+ description: "%Q{foursquare-api is a Ruby wrapper for the new Foursqauare V2 API}"
77
77
  email: ronald__wan@hotmail.com
78
78
  executables: []
79
79
 
@@ -124,7 +124,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
124
124
  requirements:
125
125
  - - ">="
126
126
  - !ruby/object:Gem::Version
127
- hash: -3840198550229251144
127
+ hash: 3941414545740591855
128
128
  segments:
129
129
  - 0
130
130
  version: "0"