omniauth-bike-index 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c7076b1968d8dd1146f2464aa3f5a312c2b7c8b
4
- data.tar.gz: 57e24cb405f9e07d8460699c4d542437c6ff909f
3
+ metadata.gz: 509ba75c1d01e9e1d081dbd1cb93b21eb7f2b096
4
+ data.tar.gz: 7d2d56b8868aa2520ecebcdccdcdd54b48dd3dcf
5
5
  SHA512:
6
- metadata.gz: d77901f51616b78ff878d93aa899a9bfd5c2bf9ebf9f1597a7bc3da791a1214acfa13b090661b4964ea76c58bb3c41db0ee2e94b3f7fd67c35a23da690f66d73
7
- data.tar.gz: 583f9cdf88a08cc72d433494e617adfe569e994103d31f3d80b036c7e0cc686216995eed447a24f5d94e5d82b42b71c3d47a86abfb72805ee08dcb5c4fd35a1c
6
+ metadata.gz: 95307afd2d1044df19940fe18d29d7a24595e086f4fccf4f0ee2032e1804bf5fe774a702b0082c86cc321adf750b266e99ceddb488f088e2ece19dd355845932
7
+ data.tar.gz: e63efadffafba5bd584d413780d3afe37c9c299193ce9d4ee0b8fccb1a4f1d74a19df4b45e609f9c77bd8b1126b2547cbf084d659bdfc992139f64df0290d2fc
data/README.md CHANGED
@@ -15,7 +15,7 @@ Once you've added your application and your routes, you'll be able to see your A
15
15
  **Note**: Callback url has to be an exact match - if your url is `http://localhost:3001/users/auth/bike_index/callback` you _must_ enter that exactly - `http://localhost:3001/users/auth/` will not work.
16
16
 
17
17
 
18
- _Right now (Nov 12 2014) the Bike Index OAuth API is still in beta, and is accessible at /api/v2 - it can provide a list of bike ids for a given user, more functionality will be added soon._
18
+ Check out **[API V2 Documentation](https://bikeindex.org/documentation/api_v2)** to see what can be done with authenticated users.
19
19
 
20
20
  ## Usage
21
21
 
@@ -61,7 +61,7 @@ Devise.setup do |config|
61
61
  end
62
62
  ```
63
63
 
64
- Available scopes: `read_user`, `write_user`, `read_bikes`, `write_bikes`, `create_bikes`, `read_bikewise`, `write_bikewise`
64
+ Available scopes: `read_user`, `write_user`, `read_bikes`, `write_bikes`, `read_bikewise`, `write_bikewise`
65
65
 
66
66
 
67
67
  ## Credentials
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module BikeIndex
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
@@ -28,7 +28,7 @@ module OmniAuth
28
28
  end
29
29
 
30
30
  def raw_info
31
- @raw_info ||= access_token.get('/api/v2/users/current').parsed || {}
31
+ @raw_info ||= access_token.get('/api/v2/me').parsed || {}
32
32
  end
33
33
 
34
34
  def request_phase
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-bike-index
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Herr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-12 00:00:00.000000000 Z
11
+ date: 2015-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth