dailymile-ruby 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +3 -3
  2. data/VERSION +1 -1
  3. data/dailymile-ruby.gemspec +1 -1
  4. metadata +3 -3
data/README.rdoc CHANGED
@@ -13,8 +13,8 @@ The best way to install dailymile-ruby is via RubyGems:
13
13
  Get entries nearby a given latitude and longitude:
14
14
 
15
15
  require 'dailymile'
16
- client = Dailymile::Client.new
17
- client.entries :nearby, 37.77916, -122.420049
16
+ Dailymile::Client.entries :nearby, 37.77916, -122.420049
17
+ Dailymile::Client.get '/people/ben'
18
18
 
19
19
  To access protected resources you'll need to use OAuth 2.
20
20
 
@@ -26,7 +26,7 @@ Using your access token:
26
26
  require 'dailymile'
27
27
  Dailymile::Client.set_client_credentials CLIENT_ID, CLIENT_SECRET
28
28
  client = Dailymile::Client.new ACCESS_TOKEN
29
- current_user = client.get '/people/me'
29
+ user = client.get '/people/me'
30
30
 
31
31
  == Note on Patches/Pull Requests
32
32
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dailymile-ruby}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["lostinpatterns"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dailymile-ruby
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - lostinpatterns