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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d4c2ff183e811e6ca8638b897c212dfda57bb62
4
- data.tar.gz: 112312295075193d8d6a255f06fda5a29789df60
3
+ metadata.gz: d76f1353f9544eb862cc1e68c3bace3d97c1d387
4
+ data.tar.gz: 7a5bc4d925dcdfb6470ba5c1e1a3dd8d026636f4
5
5
  SHA512:
6
- metadata.gz: 7fa99c079ff1b5553df2fa28fba05fe8dcce45d492533e680de3ff706fb4a3e4c9529c188b96d79674cbddb8e4c950ecae729bebaa0e7b59a84f7e44f215fc8c
7
- data.tar.gz: d02dc31f59da051643fe3c5efbff4ab01ae8393778a4cfb9148dcd4e06f5335ae4e63aa1ef62f8bc909f19c26a21b0659bbc3e01fcdddf4103a09edb33f5d6d3
6
+ metadata.gz: d4526a30a857a5a63a8ce10b6b514be3e1baecef74924489816fd5b9e1bf2c33fc724fe947606305f2a02574867531537f3a0c2abea08def0e512a7c447f412a
7
+ data.tar.gz: d2bca3a83e50f2a85c7c0124c4f6eefe810d92e3adc6d94a649332920040a1663cce63bae19406e5baeb826069dd1e370cae54d40aada346b9ef8d75d0043749
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 0.1.1 / 2017-08-23
2
+
3
+ * Fix logging of failure to detect auth0 user_id in info
4
+
1
5
  0.1.0 / 2016-01-04
2
6
 
3
7
  * Breaking changes
@@ -1,5 +1,5 @@
1
1
  module Devise
2
2
  module Auth0
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -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 #{@info.inspect}"
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.0
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-01-04 00:00:00.000000000 Z
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
@@ -1,14 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- *.bundle
11
- *.so
12
- *.o
13
- *.a
14
- mkmf.log
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in devise-auth0.gemspec
4
- gemspec
data/Rakefile DELETED
@@ -1,2 +0,0 @@
1
- require "bundler/gem_tasks"
2
-
@@ -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