devise-auth0 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +4 -0
- data/lib/devise/auth0/version.rb +1 -1
- data/lib/devise/models/auth0_authenticatable.rb +1 -1
- metadata +2 -6
- data/.gitignore +0 -14
- data/Gemfile +0 -4
- data/Rakefile +0 -2
- data/devise-auth0.gemspec +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d76f1353f9544eb862cc1e68c3bace3d97c1d387
|
4
|
+
data.tar.gz: 7a5bc4d925dcdfb6470ba5c1e1a3dd8d026636f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4526a30a857a5a63a8ce10b6b514be3e1baecef74924489816fd5b9e1bf2c33fc724fe947606305f2a02574867531537f3a0c2abea08def0e512a7c447f412a
|
7
|
+
data.tar.gz: d2bca3a83e50f2a85c7c0124c4f6eefe810d92e3adc6d94a649332920040a1663cce63bae19406e5baeb826069dd1e370cae54d40aada346b9ef8d75d0043749
|
data/CHANGELOG
CHANGED
data/lib/devise/auth0/version.rb
CHANGED
@@ -14,7 +14,7 @@ module Devise
|
|
14
14
|
def find_or_sync_auth0(info)
|
15
15
|
unless uid = info['sub'] || info['user_id']
|
16
16
|
raise MissingAuth0Id.new(info),
|
17
|
-
"Expected auth0_user_id, got none inside of #{
|
17
|
+
"Expected auth0_user_id, got none inside of #{info.inspect}"
|
18
18
|
end
|
19
19
|
|
20
20
|
if user = User.find_by(auth0_user_id: uid)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-auth0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derek Kastner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -45,13 +45,9 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- ".gitignore"
|
49
48
|
- CHANGELOG
|
50
|
-
- Gemfile
|
51
49
|
- LICENSE.txt
|
52
50
|
- README.md
|
53
|
-
- Rakefile
|
54
|
-
- devise-auth0.gemspec
|
55
51
|
- lib/devise/auth0.rb
|
56
52
|
- lib/devise/auth0/config.rb
|
57
53
|
- lib/devise/auth0/failure_app.rb
|
data/.gitignore
DELETED
data/Gemfile
DELETED
data/Rakefile
DELETED
data/devise-auth0.gemspec
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'devise/auth0/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "devise-auth0"
|
8
|
-
spec.version = Devise::Auth0::VERSION
|
9
|
-
spec.authors = ["Derek Kastner"]
|
10
|
-
spec.email = ["dkastner@gmail.com"]
|
11
|
-
spec.summary = %q{Integrate devise with auth0}
|
12
|
-
spec.description = %q{Allow logged-in auth0 users to access protected areas}
|
13
|
-
spec.homepage = ""
|
14
|
-
spec.license = "MIT"
|
15
|
-
|
16
|
-
spec.files = `git ls-files -z`.split("\x0")
|
17
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = ["lib"]
|
20
|
-
|
21
|
-
spec.add_development_dependency "bundler", "~> 1.6"
|
22
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
-
end
|