edge-auth 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,10 +22,10 @@ module EdgeAuth
22
22
  attr_accessor :password, :updating_password
23
23
  attr_accessible :email, :password, :password_confirmation, :activation_code
24
24
 
25
- validates_presence_of :email, on: :create
25
+ validates_presence_of :email
26
26
  validates_length_of :email, maximum: 255
27
27
  validates_uniqueness_of :email, case_sensitive: false
28
- validates_format_of :email, with: /\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i, on: :create
28
+ validates_format_of :email, with: /\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i
29
29
 
30
30
  validates_presence_of :password, :if => :should_validate_password?
31
31
  validates_confirmation_of :password, :if => :should_validate_password?
@@ -1,3 +1,3 @@
1
1
  module EdgeAuth
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edge-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-29 00:00:00.000000000 Z
12
+ date: 2012-03-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &14635860 !ruby/object:Gem::Requirement
16
+ requirement: &11725220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 3.2.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *14635860
24
+ version_requirements: *11725220
25
25
  description: EdgeAuth is an authentication solution
26
26
  email:
27
27
  - dan.persa@gmail.com