john-mayer 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -26,4 +26,10 @@ If you want to see what's going on up in there, you can set `Foursquare.verbose`
26
26
 
27
27
  Foursquare.verbose = true
28
28
 
29
- Right now it'll log to `STDOUT`. Maybe I'll add nicer logging later. If you're lucky.
29
+ Right now it'll log to `STDOUT`. Maybe I'll add nicer logging later. If you're lucky.
30
+
31
+ ## TODO
32
+
33
+ * Creating checkins works, but it should really return notifications. Also, if the
34
+ checkin can't be created, it should return errors.
35
+ * I don't know, so much other stuff.
data/lib/foursquare.rb CHANGED
@@ -10,6 +10,7 @@ require "foursquare/user_proxy"
10
10
  require "foursquare/user"
11
11
  require "foursquare/venue_proxy"
12
12
  require "foursquare/venue"
13
+ require "foursquare/settings"
13
14
 
14
15
  module Foursquare
15
16
  class Error < StandardError ; end
@@ -18,6 +18,10 @@ module Foursquare
18
18
  Foursquare::VenueProxy.new(self)
19
19
  end
20
20
 
21
+ def settings
22
+ @settings ||= Foursquare::Settings.new(self)
23
+ end
24
+
21
25
  def get(path, params={})
22
26
  Foursquare.log("GET #{API + path}")
23
27
  Foursquare.log("PARAMS: #{params.inspect}")
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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pat Nakajima