devise_invitable 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of devise_invitable might be problematic. Click here for more details.

@@ -145,9 +145,9 @@ module Devise
145
145
  super unless invited_to_sign_up?
146
146
  end
147
147
 
148
- def reset_password!(new_password, new_password_confirmation)
148
+ def after_password_reset
149
149
  super
150
- accept_invitation!
150
+ accept_invitation! if invited_to_sign_up?
151
151
  end
152
152
 
153
153
  def invite_key_valid?
@@ -1,3 +1,3 @@
1
1
  module DeviseInvitable
2
- VERSION = '1.1.3'
2
+ VERSION = '1.1.4'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_invitable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 3
10
- version: 1.1.3
9
+ - 4
10
+ version: 1.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sergio Cambra
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-11-19 00:00:00 Z
18
+ date: 2012-12-05 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bundler
@@ -34,22 +34,23 @@ dependencies:
34
34
  type: :development
35
35
  version_requirements: *id001
36
36
  - !ruby/object:Gem::Dependency
37
- name: railties
37
+ name: devise
38
38
  prerelease: false
39
39
  requirement: &id002 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
- - - ~>
42
+ - - ">="
43
43
  - !ruby/object:Gem::Version
44
- hash: 7
44
+ hash: 11
45
45
  segments:
46
- - 3
46
+ - 2
47
+ - 1
47
48
  - 0
48
- version: "3.0"
49
+ version: 2.1.0
49
50
  type: :runtime
50
51
  version_requirements: *id002
51
52
  - !ruby/object:Gem::Dependency
52
- name: actionmailer
53
+ name: railties
53
54
  prerelease: false
54
55
  requirement: &id003 !ruby/object:Gem::Requirement
55
56
  none: false
@@ -64,19 +65,18 @@ dependencies:
64
65
  type: :runtime
65
66
  version_requirements: *id003
66
67
  - !ruby/object:Gem::Dependency
67
- name: devise
68
+ name: actionmailer
68
69
  prerelease: false
69
70
  requirement: &id004 !ruby/object:Gem::Requirement
70
71
  none: false
71
72
  requirements:
72
- - - ">="
73
+ - - ~>
73
74
  - !ruby/object:Gem::Version
74
- hash: 11
75
+ hash: 7
75
76
  segments:
76
- - 2
77
- - 1
77
+ - 3
78
78
  - 0
79
- version: 2.1.0
79
+ version: "3.0"
80
80
  type: :runtime
81
81
  version_requirements: *id004
82
82
  description: It adds support for send invitations by email (it requires to be authenticated) and accept the invitation by setting a password.