omniauth-tbs 0.0.2 → 0.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d51f44506d3d90c15b472a9c20d9e72c759ce01d
4
- data.tar.gz: 52b2ff6ffff57d9034eaabb48beef62bce86db82
3
+ metadata.gz: e82aada632bcf8afce87623da663cfa82d38a75e
4
+ data.tar.gz: 2ab3d24120e777c01f5cabc0a2713a7fd2c3abb3
5
5
  SHA512:
6
- metadata.gz: 28fa6086ea56d428a45551277ac6f5839044f6999e82d7e8851d1619d0008e3e8290d595bc62fc360875591eef4b39ea0ee03f4ea6a04bf5f59a75e13dab000e
7
- data.tar.gz: e912e62a4c7e59924322ca0507317050e53472fc9f74e3c8cfa868e54d452f7932a4088e55709c64e4abe5679056cb5f7d9b74e015ba421408440ec130b78196
6
+ metadata.gz: 72e48d6a40286b73fc081c0f01718f956d977781a26621df4cdce6015f23e1782504561d14ea9f9d97e451b48130214a6e1e506e578d820405f74f111b451f75
7
+ data.tar.gz: 95641f4ca9c55030e1fbe894da14ad558d70d87e9a47929768a9975a8958e1c21af4bc5152ff40d4546cc14413ecc29425c0b4229794d676799ab78bc1a50ba2
data/lib/omniauth/tbs.rb CHANGED
@@ -2,11 +2,11 @@ require "omniauth/tbs/version"
2
2
 
3
3
  module OmniAuth
4
4
  module Strategies
5
- class TutorizeBusinessSolutions < OmniAuth::Strategies::OAuth2
5
+ class Tbs < OmniAuth::Strategies::OAuth2
6
6
  # change the class name and the :name option to match your application name
7
7
  option :name, :tbs
8
8
  option :client_options, {
9
- :site => "http://localhost:3001", :authorize_url => "/oauth/authorize"
9
+ :site => "http://localhost:3000", :authorize_url => "/oauth/authorize"
10
10
  }
11
11
  uid { raw_info["id"] }
12
12
  info do
@@ -16,7 +16,7 @@ module OmniAuth
16
16
  }
17
17
  end
18
18
  def raw_info
19
- @raw_info ||= access_token.get('/api/v1/show.json').parsed
19
+ @raw_info ||= access_token.get('/api/v1/users/show.json').parsed
20
20
  end
21
21
  end
22
22
  end
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Tbs
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-tbs
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
  - Erwin Schens
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-20 00:00:00.000000000 Z
11
+ date: 2014-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler