authrocket 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/lib/authrocket/api/version.rb +1 -1
- data/lib/authrocket/membership.rb +1 -1
- data/lib/authrocket/session.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27674ebcbfe9078ba6fa3a64478300fa963881d1
|
4
|
+
data.tar.gz: b182499cc381c10331f63e71d10b78d9f2096c4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19a6b03fbc2b51719d0889be25cb91dc2df8712f81fd22394f8dc1e54f8ab0741e0dadd3580dd3026fe335be661fa90adb2ed50fa6fb4e85726e06c15c261c35
|
7
|
+
data.tar.gz: b3fd665fde7353d078fec2b55a02910fa5099cec146c060f727b3c3c75562228de21c2fa8ea765ab5f16f7150cab32473cb2e0f6f468b88134cf33433f00c52e
|
data/CHANGELOG.md
CHANGED
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# AuthRocket
|
2
2
|
|
3
|
-
[AuthRocket](
|
3
|
+
[AuthRocket](https://authrocket.com/) provides Auth as a Service, making it quick and easy to add signups, logins, social auth, a full user management UI, and much more to your app.
|
4
4
|
|
5
5
|
This gem works with both Rails and plain Ruby. It will auto-detect Rails and enable Rails-specific features as appropriate.
|
6
6
|
|
data/lib/authrocket/session.rb
CHANGED
@@ -14,7 +14,7 @@ module AuthRocket
|
|
14
14
|
|
15
15
|
# options - :within - (in seconds) Maximum time since the token was originally issued
|
16
16
|
def self.from_token(token, options={})
|
17
|
-
secret = (options[:credentials]||credentials)[:jwt_secret]
|
17
|
+
secret = (options[:credentials]||credentials||{})[:jwt_secret]
|
18
18
|
raise Error, "missing :jwt_secret (or AUTHROCKET_JWT_SECRET)" unless secret
|
19
19
|
return unless token
|
20
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authrocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AuthRocket Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ncore
|