omniauth-casenex 0.1 → 0.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/.gitignore CHANGED
@@ -1,2 +1,19 @@
1
1
  .idea/
2
- .DS_Store
2
+ .DS_Store
3
+ *.rbc
4
+ *.sassc
5
+ .sass-cache
6
+ capybara-*.html
7
+ .rspec
8
+ /.bundle
9
+ /vendor/bundle
10
+ /log/*
11
+ /tmp/*
12
+ /db/*.sqlite3
13
+ /public/system/*
14
+ /coverage/
15
+ /spec/tmp/*
16
+ **.orig
17
+ rerun.txt
18
+ pickle-email-*.html
19
+ *.gem
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- OmniAuth Buffer
1
+ OmniAuth CaseNEX
2
2
  ================
3
3
  Work in Progress
4
4
 
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Casenex
3
- VERSION = "0.1"
3
+ VERSION = "0.2"
4
4
  end
5
5
  end
@@ -8,7 +8,10 @@ module OmniAuth
8
8
 
9
9
  # This is where you pass the options you would pass when
10
10
  # initializing your consumer from the OAuth gem.
11
- option :client_options, {:site => "https://sharp-stone-1355.herokuapp.com"}
11
+ option :client_options, {
12
+ :site => "https://sharp-stone-1355.herokuapp.com",
13
+ :token_url => '/auth/access_token'
14
+ }
12
15
 
13
16
  # These are called after authentication has succeeded. If
14
17
  # possible, you should try to set the UID without making
@@ -19,8 +22,7 @@ module OmniAuth
19
22
 
20
23
  info do
21
24
  {
22
- :name => raw_info['name'],
23
- :email => raw_info['email']
25
+ :username => raw_info['username']
24
26
  }
25
27
  end
26
28
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-casenex
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: