standard-file 0.2.7 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/standard_file/user_manager.rb +2 -2
- data/lib/standard_file/version.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: 4aaa3b1345a2d0d6d9197105ba3b8d6ffe10bbfe
|
4
|
+
data.tar.gz: bf0d6b245e32a4c21fa4c14de50393ec110f2984
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e31532a20aea714e1bbb07b677af83f5394909717178db1c070f8f9c8f04541b4fafa49387a8614f42a37595e7589cd4055db72628a68a79cabf2ea7a32f5fc5
|
7
|
+
data.tar.gz: d2d719a39131b11d7988f56cd7e62edd8c144201d4f276313d7d09e178a454b11df98e3fa838400ee752e3828b0f390b82704d63e545f9dcf8d37eae2571279c
|
@@ -1,9 +1,8 @@
|
|
1
1
|
module StandardFile
|
2
2
|
class UserManager
|
3
3
|
|
4
|
-
def initialize(user_class
|
4
|
+
def initialize(user_class)
|
5
5
|
@user_class = user_class
|
6
|
-
@salt_psuedo_nonce = salt_psuedo_nonce
|
7
6
|
end
|
8
7
|
|
9
8
|
def sign_in(email, password)
|
@@ -45,6 +44,7 @@ module StandardFile
|
|
45
44
|
end
|
46
45
|
|
47
46
|
auth_params = {
|
47
|
+
:identifier => user.email,
|
48
48
|
:pw_salt => user.pw_salt,
|
49
49
|
:pw_cost => user.pw_cost,
|
50
50
|
:pw_nonce => user.pw_nonce,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standard-file
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Standard File
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|