john-mayer 0.2.0 → 0.2.1

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/user.rb +1 -0
  2. metadata +3 -3
@@ -80,6 +80,7 @@ module Foursquare
80
80
 
81
81
  def last_checkin
82
82
  fetch unless @json.has_key?("checkins")
83
+ return unless @json["checkins"]["items"]
83
84
  item = @json["checkins"]["items"].last
84
85
  Foursquare::Checkin.new(@foursquare, item)
85
86
  end
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pat Nakajima