omniauth-fitcvut-oauth2 0.2.0 → 0.2.1

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: fa9cb0c0ef992c58b76d6c323bf6f6407f469d9a
4
- data.tar.gz: 388e5dee9ef5234f49460c0be15dd987b7588f04
3
+ metadata.gz: 6ecb839cf0ab0ed3afd3ca1d1e3dc345e851aae8
4
+ data.tar.gz: 183878b2dd1de7dfc0fb097c025bdbc49b1c76b4
5
5
  SHA512:
6
- metadata.gz: be5553f607f50c11935b0742508c9299bf6f476e792d1df54e533fd94d588ce129637a282514c5845ae47add5f50ad78e5d9297d40d22979243bb8c7b6085d91
7
- data.tar.gz: b94e8b6e4e15e68027a7e257de05eb678817c0b6ab1963b244220344fe0f28bc7e0289fb30ddda28e926e2d8576acb078de0e9f22602eebd84ca5ae24b139c55
6
+ metadata.gz: ecafc117c6944e5aae5868446df1c37f2b3024ac0fae108854b975b19cfe7a32bfcff7064d0b2edf2864653fc37eeb70ae37cd0a42b2e50599805e7e687b858c
7
+ data.tar.gz: a4bb6585290ba14af00da42d597d17686d21d15d3763d1074bdb17f2f1a6d93948d736fe5f47a84fa0d881ac87b1409625cfd177c1fd81526369c47ec6e4f8c9
data/README.md CHANGED
@@ -7,7 +7,7 @@ This gem contains the ČVUT/CTU FIT OAuth 2.0 strategy for OmniAuth 1.0.
7
7
  Add to your `Gemfile`:
8
8
 
9
9
  ```ruby
10
- gem 'omniauth-fitcvut-oauth2', '~> 0.1.0'
10
+ gem 'omniauth-fitcvut-oauth2', '~> 0.2.1'
11
11
  ```
12
12
 
13
13
  Then `bundle install`.
@@ -15,7 +15,7 @@ Then `bundle install`.
15
15
  ## Basic Usage
16
16
 
17
17
  use OmniAuth::Builder do
18
- provider "fitcvut", ENV['FIT_APP_ID'], ENV['FIT_APP_SECRET']
18
+ provider "fitcvut_oauth2", ENV['FIT_APP_ID'], ENV['FIT_APP_SECRET']
19
19
  end
20
20
 
21
21
  ## Auth Hash
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module FITCVUTOauth2
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -5,7 +5,7 @@ module OmniAuth
5
5
  class FITCVUTOauth2 < OmniAuth::Strategies::OAuth2
6
6
  DEFAULT_SCOPE = 'non-expiring'
7
7
 
8
- option :name, "fitcvut"
8
+ option :name, "fitcvut_oauth2"
9
9
 
10
10
  option :client_options, {
11
11
  :site => 'https://auth.fit.cvut.cz',
@@ -37,4 +37,3 @@ module OmniAuth
37
37
  end
38
38
 
39
39
  OmniAuth.config.add_camelization 'fitcvut_oauth2', 'FITCVUTOauth2'
40
- OmniAuth.config.add_camelization 'fitcvut', 'FITCVUT'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-fitcvut-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Jančík