lobby 0.0.24 → 0.0.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module Lobby
2
2
  module AuthUser
3
3
 
4
4
  def self.included(base)
5
- base.has_secure_password(validations: validate_password?)
5
+ base.has_secure_password(validations: :validate_password?)
6
6
 
7
7
  base.validates :email, presence: true, if: :email_required?
8
8
  base.validates :email, format: {with: EMAIL_REGEX, multiline: true}, if: Proc.new { |u| u.email.present? }
@@ -97,6 +97,8 @@ module Lobby
97
97
  tokenmail(:resend_signup_token)
98
98
  end
99
99
 
100
+ protected
101
+
100
102
  def validate_password?
101
103
  true
102
104
  end
@@ -1,3 +1,3 @@
1
1
  module Lobby
2
- VERSION = "0.0.24"
2
+ VERSION = "0.0.25"
3
3
  end
@@ -1,3 +1,3 @@
1
1
  module Lobby
2
- VERSION = "0.0.23"
2
+ VERSION = "0.0.24"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lobby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.24
4
+ version: 0.0.25
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: