dailymile-ruby 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +3 -3
- data/VERSION +1 -1
- data/dailymile-ruby.gemspec +1 -1
- 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
|
-
|
|
17
|
-
|
|
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
|
-
|
|
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
|
+
0.1.2
|
data/dailymile-ruby.gemspec
CHANGED
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:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.1.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- lostinpatterns
|