john-mayer 0.2.1 → 0.2.2

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/checkin.rb +1 -1
  2. metadata +3 -3
@@ -38,7 +38,7 @@ module Foursquare
38
38
  end
39
39
 
40
40
  def venue
41
- Foursquare::Venue.new(@foursquare, @json["venue"])
41
+ @json["venue"] && Foursquare::Venue.new(@foursquare, @json["venue"])
42
42
  end
43
43
 
44
44
  def user(full=false)
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: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pat Nakajima