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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4442584001eebfd3ce167ab8a967a84e813c0785
4
- data.tar.gz: 79dfb2b648544c3589ee673a49d5e82d65ed669a
3
+ metadata.gz: 4aaa3b1345a2d0d6d9197105ba3b8d6ffe10bbfe
4
+ data.tar.gz: bf0d6b245e32a4c21fa4c14de50393ec110f2984
5
5
  SHA512:
6
- metadata.gz: 78c286cc7cd1ca09b1de9eb166590feeb17777a32f5cb40cd2f63340085563fd54da73f567716e90f8ebd49edd20e6def19c3fb7c206e565a148ff6c1b84eac8
7
- data.tar.gz: c62d118d2426f71ce66563bf69f2d1498671ed120b9624e6431adaa1c94c90a8fe9f18beba242cbe344a02b339eb7f68589f1ad4b2157d5018b3743e88e2e971
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, salt_psuedo_nonce)
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,
@@ -1,3 +1,3 @@
1
1
  module StandardFile
2
- VERSION = '0.2.7'
2
+ VERSION = '0.3.0'
3
3
  end
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.2.7
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-05-24 00:00:00.000000000 Z
11
+ date: 2018-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails