quimby 0.2.3 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/foursquare/venue_proxy.rb +2 -1
  2. metadata +3 -3
@@ -12,9 +12,10 @@ module Foursquare
12
12
  raise ArgumentError, "You must include :ll" unless options[:ll]
13
13
  response = @foursquare.get('venues/search', options)["groups"].inject({}) do |venues, group|
14
14
  venues[group["type"]] ||= []
15
- venues[group["type"]] << group["items"].map do |json|
15
+ venues[group["type"]] += group["items"].map do |json|
16
16
  Foursquare::Venue.new(@foursquare, json)
17
17
  end
18
+ venues
18
19
  end
19
20
  end
20
21
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quimby
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 2
9
8
  - 3
10
- version: 0.2.3
9
+ - 0
10
+ version: 0.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pat Nakajima