refinerycms-authentication 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,11 +31,10 @@ class PasswordsController < ::Devise::PasswordsController
31
31
  UserMailer.reset_notification(user, request).deliver
32
32
  redirect_to new_user_session_path, :notice => t('email_reset_sent', :scope => 'users.forgot') and return
33
33
  else
34
- @user = User.new(params[:user])
35
34
  flash.now[:error] = if (email = params[:user][:email]).blank?
36
35
  t('blank_email', :scope => 'users.forgot')
37
36
  else
38
- t('email_not_associated_with_account_html', :email => email, :scope => 'users.forgot')
37
+ t('email_not_associated_with_account_html', :email => ERB::Util.html_escape(email), :scope => 'users.forgot').html_safe
39
38
  end
40
39
  render_with_scope :new
41
40
  end
@@ -3,10 +3,10 @@
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = %q{refinerycms-authentication}
6
- s.version = %q{1.0.10}
6
+ s.version = %q{1.0.11}
7
7
  s.summary = %q{Authentication engine for Refinery CMS}
8
8
  s.description = %q{The default authentication engine for Refinery CMS}
9
- s.date = %q{2012-03-06}
9
+ s.date = %q{2012-05-18}
10
10
  s.email = %q{info@refinerycms.com}
11
11
  s.homepage = %q{http://refinerycms.com}
12
12
  s.rubyforge_project = %q{refinerycms}
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.require_paths = %w(lib)
16
16
  s.executables = %w()
17
17
 
18
- s.add_dependency 'refinerycms-core', '= 1.0.10'
18
+ s.add_dependency 'refinerycms-core', '= 1.0.11'
19
19
  s.add_dependency 'activerecord', '~> 3.0.10'
20
20
  s.add_dependency 'devise', '~> 1.4.3'
21
21
  s.add_dependency 'friendly_id_globalize3', '~> 3.2.1'
metadata CHANGED
@@ -1,99 +1,90 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-authentication
3
- version: !ruby/object:Gem::Version
4
- hash: 3
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.11
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 10
10
- version: 1.0.10
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Resolve Digital
14
9
  - Philip Arndt
15
10
  - David Jones
16
11
  - Steven Heidel
17
- - "U\xC4\xA3is Ozols"
12
+ - Uģis Ozols
18
13
  autorequire:
19
14
  bindir: bin
20
15
  cert_chain: []
21
-
22
- date: 2012-03-06 00:00:00 Z
23
- dependencies:
24
- - !ruby/object:Gem::Dependency
16
+ date: 2012-05-18 00:00:00.000000000 Z
17
+ dependencies:
18
+ - !ruby/object:Gem::Dependency
25
19
  name: refinerycms-core
26
- prerelease: false
27
- requirement: &id001 !ruby/object:Gem::Requirement
20
+ requirement: !ruby/object:Gem::Requirement
28
21
  none: false
29
- requirements:
30
- - - "="
31
- - !ruby/object:Gem::Version
32
- hash: 3
33
- segments:
34
- - 1
35
- - 0
36
- - 10
37
- version: 1.0.10
22
+ requirements:
23
+ - - '='
24
+ - !ruby/object:Gem::Version
25
+ version: 1.0.11
38
26
  type: :runtime
39
- version_requirements: *id001
40
- - !ruby/object:Gem::Dependency
41
- name: activerecord
42
27
  prerelease: false
43
- requirement: &id002 !ruby/object:Gem::Requirement
28
+ version_requirements: !ruby/object:Gem::Requirement
44
29
  none: false
45
- requirements:
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.11
34
+ - !ruby/object:Gem::Dependency
35
+ name: activerecord
36
+ requirement: !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
46
39
  - - ~>
47
- - !ruby/object:Gem::Version
48
- hash: 19
49
- segments:
50
- - 3
51
- - 0
52
- - 10
40
+ - !ruby/object:Gem::Version
53
41
  version: 3.0.10
54
42
  type: :runtime
55
- version_requirements: *id002
56
- - !ruby/object:Gem::Dependency
57
- name: devise
58
43
  prerelease: false
59
- requirement: &id003 !ruby/object:Gem::Requirement
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ none: false
46
+ requirements:
47
+ - - ~>
48
+ - !ruby/object:Gem::Version
49
+ version: 3.0.10
50
+ - !ruby/object:Gem::Dependency
51
+ name: devise
52
+ requirement: !ruby/object:Gem::Requirement
60
53
  none: false
61
- requirements:
54
+ requirements:
62
55
  - - ~>
63
- - !ruby/object:Gem::Version
64
- hash: 1
65
- segments:
66
- - 1
67
- - 4
68
- - 3
56
+ - !ruby/object:Gem::Version
69
57
  version: 1.4.3
70
58
  type: :runtime
71
- version_requirements: *id003
72
- - !ruby/object:Gem::Dependency
73
- name: friendly_id_globalize3
74
59
  prerelease: false
75
- requirement: &id004 !ruby/object:Gem::Requirement
60
+ version_requirements: !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: 1.4.3
66
+ - !ruby/object:Gem::Dependency
67
+ name: friendly_id_globalize3
68
+ requirement: !ruby/object:Gem::Requirement
76
69
  none: false
77
- requirements:
70
+ requirements:
78
71
  - - ~>
79
- - !ruby/object:Gem::Version
80
- hash: 13
81
- segments:
82
- - 3
83
- - 2
84
- - 1
72
+ - !ruby/object:Gem::Version
85
73
  version: 3.2.1
86
74
  type: :runtime
87
- version_requirements: *id004
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ none: false
78
+ requirements:
79
+ - - ~>
80
+ - !ruby/object:Gem::Version
81
+ version: 3.2.1
88
82
  description: The default authentication engine for Refinery CMS
89
83
  email: info@refinerycms.com
90
84
  executables: []
91
-
92
85
  extensions: []
93
-
94
86
  extra_rdoc_files: []
95
-
96
- files:
87
+ files:
97
88
  - app/controllers/admin/users_controller.rb
98
89
  - app/controllers/passwords_controller.rb
99
90
  - app/controllers/sessions_controller.rb
@@ -166,38 +157,29 @@ files:
166
157
  - refinerycms-authentication.gemspec
167
158
  - spec/models/user_spec.rb
168
159
  homepage: http://refinerycms.com
169
- licenses:
160
+ licenses:
170
161
  - MIT
171
162
  post_install_message:
172
163
  rdoc_options: []
173
-
174
- require_paths:
164
+ require_paths:
175
165
  - lib
176
- required_ruby_version: !ruby/object:Gem::Requirement
166
+ required_ruby_version: !ruby/object:Gem::Requirement
177
167
  none: false
178
- requirements:
179
- - - ">="
180
- - !ruby/object:Gem::Version
181
- hash: 3
182
- segments:
183
- - 0
184
- version: "0"
185
- required_rubygems_version: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - ! '>='
170
+ - !ruby/object:Gem::Version
171
+ version: '0'
172
+ required_rubygems_version: !ruby/object:Gem::Requirement
186
173
  none: false
187
- requirements:
188
- - - ">="
189
- - !ruby/object:Gem::Version
190
- hash: 3
191
- segments:
192
- - 0
193
- version: "0"
174
+ requirements:
175
+ - - ! '>='
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
194
178
  requirements: []
195
-
196
179
  rubyforge_project: refinerycms
197
- rubygems_version: 1.8.17
180
+ rubygems_version: 1.8.22
198
181
  signing_key:
199
182
  specification_version: 3
200
183
  summary: Authentication engine for Refinery CMS
201
184
  test_files: []
202
-
203
185
  has_rdoc: