clearance 1.17.0 → 2.0.0.beta1

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

Potentially problematic release.


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

Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +4 -4
  3. data/Gemfile +3 -4
  4. data/Gemfile.lock +7 -8
  5. data/NEWS.md +161 -15
  6. data/app/controllers/clearance/passwords_controller.rb +15 -43
  7. data/app/controllers/clearance/sessions_controller.rb +3 -18
  8. data/app/controllers/clearance/users_controller.rb +2 -17
  9. data/clearance.gemspec +5 -5
  10. data/gemfiles/rails_4.2.gemfile +3 -4
  11. data/gemfiles/rails_5.0.gemfile +3 -4
  12. data/gemfiles/rails_5.1.gemfile +3 -4
  13. data/gemfiles/rails_5.2.gemfile +3 -4
  14. data/lib/clearance.rb +0 -8
  15. data/lib/clearance/authentication.rb +0 -8
  16. data/lib/clearance/authorization.rb +2 -11
  17. data/lib/clearance/session.rb +1 -9
  18. data/lib/clearance/testing/deny_access_matcher.rb +12 -18
  19. data/lib/clearance/user.rb +0 -21
  20. data/lib/clearance/version.rb +1 -1
  21. data/lib/generators/clearance/install/install_generator.rb +1 -5
  22. data/spec/clearance/session_spec.rb +0 -31
  23. data/spec/controllers/apis_controller_spec.rb +1 -5
  24. data/spec/controllers/forgeries_controller_spec.rb +1 -5
  25. data/spec/controllers/passwords_controller_spec.rb +5 -5
  26. data/spec/controllers/permissions_controller_spec.rb +2 -6
  27. data/spec/controllers/sessions_controller_spec.rb +1 -1
  28. data/spec/dummy/application.rb +1 -3
  29. data/spec/generators/clearance/install/install_generator_spec.rb +3 -10
  30. metadata +13 -21
  31. data/lib/clearance/password_strategies/bcrypt_migration_from_sha1.rb +0 -77
  32. data/lib/clearance/password_strategies/blowfish.rb +0 -61
  33. data/lib/clearance/password_strategies/sha1.rb +0 -59
  34. data/lib/clearance/testing.rb +0 -11
  35. data/lib/clearance/testing/helpers.rb +0 -15
  36. data/spec/password_strategies/bcrypt_migration_from_sha1_spec.rb +0 -122
  37. data/spec/password_strategies/blowfish_spec.rb +0 -61
  38. data/spec/password_strategies/sha1_spec.rb +0 -59
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d2b65ce30d78d380c94d95fc6fa32f1fa4340a145f6e33573ad746f5da4600e
4
- data.tar.gz: a8b154b5ccfed1470fcc29155f3f57c676571539f9794c5b9a32ef2b3f4b8a20
3
+ metadata.gz: 4f79f5aa24e81ddb8b9fc746a557db5bcf7770e17ee52f758c070656afda4434
4
+ data.tar.gz: c8bfc11a5c5b3e4035aaa4fb118dd24f45a72e148499ed935a15c2a5fb4764dd
5
5
  SHA512:
6
- metadata.gz: 7ec8917dc40e39108f0ceb7333d8968d31d2cfa5d902ad1fc533a85fcc98b10d0665bd84484256ff9a3e3114f4c8d27c7bdad24c70cf72c63f6dfc3d151bac2f
7
- data.tar.gz: 839701911aea43402b13d2d4ea84f13d904ccf1576a7d9bc913eeac2f48a992a08e57c0859aceb04764afc927425852f18084c0638978937db974449a5f25b4b
6
+ metadata.gz: af3771ef9f0981c1666f01b8dad6271e61cd1ed7a13d8268f9214827682c6ba1da9e6c0fac1c81cfa89f71b44dde927d3f71b829324a6c3794b0c90e66f6c8f1
7
+ data.tar.gz: 8f69cf0a50f4064a120f8e63a9c80e0ebdf5aa69be0fc68998bbe6e4e73b14ba78789c1bdd28c3f7c3c02623135036189c764d7bd6c93a8125767cebd09cf458
@@ -5,9 +5,9 @@ language:
5
5
 
6
6
  rvm:
7
7
  - 2.3.8
8
- - 2.4.5
9
- - 2.5.3
10
- - 2.6.1
8
+ - 2.4.6
9
+ - 2.5.5
10
+ - 2.6.2
11
11
 
12
12
  gemfile:
13
13
  - gemfiles/rails_4.2.gemfile
@@ -29,6 +29,6 @@ branches:
29
29
  matrix:
30
30
  allow_failures:
31
31
  - gemfile: gemfiles/rails_4.2.gemfile
32
- rvm: 2.6.1
32
+ rvm: 2.6.2
33
33
 
34
34
  sudo: false
data/Gemfile CHANGED
@@ -3,15 +3,14 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  gem 'addressable', '~> 2.6.0'
6
- gem 'appraisal'
7
6
  gem 'ammeter'
8
- gem 'bundler', '~> 1.3'
7
+ gem 'appraisal'
9
8
  gem 'capybara', '>= 2.6.2'
10
9
  gem 'database_cleaner', '~> 1.0'
11
10
  gem 'factory_bot_rails', '~> 5.0'
12
11
  gem 'nokogiri', '~> 1.10.0'
13
- gem 'rspec-rails', '~> 3.1'
12
+ gem 'pry', require: false
13
+ gem 'rspec-rails', '~> 3.5'
14
14
  gem 'shoulda-matchers', '~> 4.0'
15
15
  gem 'sqlite3', '~> 1.3.13'
16
16
  gem 'timecop', '~> 0.6'
17
- gem 'pry', require: false
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- clearance (1.17.0)
5
- actionmailer (>= 3.1)
6
- activemodel (>= 3.1)
7
- activerecord (>= 3.1)
4
+ clearance (2.0.0.beta1)
5
+ actionmailer (>= 4.2)
6
+ activemodel (>= 4.2)
7
+ activerecord (>= 4.2)
8
8
  bcrypt
9
9
  email_validator (~> 1.4)
10
- railties (>= 3.1)
10
+ railties (>= 4.2)
11
11
 
12
12
  GEM
13
13
  remote: https://rubygems.org/
@@ -58,7 +58,7 @@ GEM
58
58
  arel (9.0.0)
59
59
  bcrypt (3.1.12)
60
60
  builder (3.2.3)
61
- capybara (3.16.1)
61
+ capybara (3.16.2)
62
62
  addressable
63
63
  mini_mime (>= 0.1.3)
64
64
  nokogiri (~> 1.8)
@@ -149,14 +149,13 @@ DEPENDENCIES
149
149
  addressable (~> 2.6.0)
150
150
  ammeter
151
151
  appraisal
152
- bundler (~> 1.3)
153
152
  capybara (>= 2.6.2)
154
153
  clearance!
155
154
  database_cleaner (~> 1.0)
156
155
  factory_bot_rails (~> 5.0)
157
156
  nokogiri (~> 1.10.0)
158
157
  pry
159
- rspec-rails (~> 3.1)
158
+ rspec-rails (~> 3.5)
160
159
  shoulda-matchers (~> 4.0)
161
160
  sqlite3 (~> 1.3.13)
162
161
  timecop (~> 0.6)
data/NEWS.md CHANGED
@@ -3,6 +3,21 @@
3
3
  The noteworthy changes for each Clearance version are included here. For a
4
4
  complete changelog, see the git history for each version via the version links.
5
5
 
6
+ ## [2.0.0.beta1] - April 12, 2019
7
+
8
+ ### Removed
9
+
10
+ - Removed support for Ruby versions older than 2.3
11
+ - Removed support for Rails versions older than 4.2
12
+ - Removed all deprecated code from Clearance 1.x
13
+
14
+ ### Changed
15
+
16
+ - Flash messages now use `flash[:alert]` rather than `flash[:notice]` as they
17
+ were used as errors more often than notices.
18
+
19
+ [2.0.0.beta1]: https://github.com/thoughtbot/clearance/compare/v1.17.0...v2.0.0.beta1
20
+
6
21
  ## [1.17.0] - April 11, 2019
7
22
 
8
23
  ### Changed
@@ -17,11 +32,13 @@ complete changelog, see the git history for each version via the version links.
17
32
  ## [1.16.2] - February 25, 2019
18
33
 
19
34
  ### Fixed
35
+
20
36
  - Added missing translation keys
21
37
  - Fix issue where a cookie value could be set more than once when interacting
22
38
  with the `httponly` option
23
39
 
24
40
  ### Changed
41
+
25
42
  - Remove Rails as a dependency so that clearance does not trigger a cascade of
26
43
  requirements as rails pulls in every framework. Instead, depend on just the
27
44
  frameworks relevant to Clearance.
@@ -32,6 +49,7 @@ complete changelog, see the git history for each version via the version links.
32
49
  ## [1.16.1] - November 2, 2017
33
50
 
34
51
  ### Fixed
52
+
35
53
  - Fixed issue where tokens from abandoned password reset attempts were stored in
36
54
  the session, preventing newly generated password reset tokens from working.
37
55
  - Improve compatibility with Rails API projects by calling `helper_method` only
@@ -46,6 +64,7 @@ complete changelog, see the git history for each version via the version links.
46
64
  ## [1.16.0] - January 16, 2017
47
65
 
48
66
  ### Security
67
+
49
68
  - Clearance users can now help prevent [session fixation attacks] by setting
50
69
  `Clearance.configuration.rotate_csrf_on_sign_in` to `true`. This will cause
51
70
  the user's CSRF token to be rotated on sign in and is recommended for all
@@ -59,6 +78,7 @@ complete changelog, see the git history for each version via the version links.
59
78
  ## [1.15.1] - October 6, 2016
60
79
 
61
80
  ### Fixed
81
+
62
82
  - Password reset form redirect no longer uses a named route helper, which means
63
83
  it will work for developers that have customized their routes.
64
84
 
@@ -67,15 +87,17 @@ complete changelog, see the git history for each version via the version links.
67
87
  ## [1.15.0] - September 26, 2016
68
88
 
69
89
  ### Security
90
+
70
91
  - Prevent possible password reset token leak to external sites linked to on the
71
92
  password reset page. See [PR #707] for more information.
72
93
 
73
- [PR #707]: https://github.com/thoughtbot/clearance/pull/707
94
+ [pr #707]: https://github.com/thoughtbot/clearance/pull/707
74
95
  [1.15.0]: https://github.com/thoughtbot/clearance/compare/v1.14.2...v1.15.0
75
96
 
76
97
  ## [1.14.2] - August 10, 2016
77
98
 
78
99
  ### Fixed
100
+
79
101
  - Fixed incompatibility with `attr_encrypted` gem by inlining the body of the
80
102
  `encrypt` helper method used in the BCrypt password strategy.
81
103
 
@@ -84,6 +106,7 @@ complete changelog, see the git history for each version via the version links.
84
106
  ## [1.14.1] - May 12, 2016
85
107
 
86
108
  ### Fixed
109
+
87
110
  - Fixed insertion of `include Clearance::User` when running the install
88
111
  generator in an app that already has a `User` model.
89
112
  - Updated `deny_access` matcher to assert against configured redirect location
@@ -94,11 +117,13 @@ complete changelog, see the git history for each version via the version links.
94
117
  ## [1.14.0] - April 29, 2016
95
118
 
96
119
  ### Added
120
+
97
121
  - `Clearance::BackDoor` now accepts a block, allowing the user for a test to be
98
122
  looked up by a parameter other than `id` if you have overridden `to_param` for
99
123
  the `User` model.
100
124
 
101
125
  ### Fixed
126
+
102
127
  - We now correctly track the dirty state of `User#encrypted_password`, which
103
128
  fixes custom validations on `User#password` (e.g. validating password length)
104
129
  that were conditional on the password actually changing.
@@ -107,6 +132,7 @@ complete changelog, see the git history for each version via the version links.
107
132
  have a `User` model.
108
133
 
109
134
  ### Deprecated
135
+
110
136
  - `User#password_changing` is deprecated in favor of automatic dirty tracking on
111
137
  `encrypted_password` and `password`. If you are calling this in your
112
138
  application you should be able to remove it.
@@ -116,9 +142,11 @@ complete changelog, see the git history for each version via the version links.
116
142
  ## [1.13.0] - March 4, 2016
117
143
 
118
144
  ### Added
145
+
119
146
  - Clearance now supports Rails 5.0.0.beta3 and newer.
120
147
 
121
148
  ### Fixed
149
+
122
150
  - Clearance will now infer the parameter name to use when accessing user
123
151
  parameters in a request. This previously used `:user`, which was incorrect for
124
152
  customized user models.
@@ -129,14 +157,16 @@ complete changelog, see the git history for each version via the version links.
129
157
  ## [1.12.1] - January 7, 2016
130
158
 
131
159
  ### Fixed
132
- - Fixed the `create_users` migration generated by `rails generate
133
- clearance:install` under Rails 3.x.
160
+
161
+ - Fixed the `create_users` migration generated
162
+ by `rails generate clearance:install` under Rails 3.x.
134
163
 
135
164
  [1.12.1]: https://github.com/thoughtbot/clearance/compare/v1.12.0...v1.12.1
136
165
 
137
166
  ## [1.12.0] - November 17, 2015
138
167
 
139
168
  ### Added
169
+
140
170
  - Users will now see a flash message when redirected to sign in by
141
171
  `require_login`. This I18n key for this message is
142
172
  `flashes.failure_when_not_signed_in` and defaults to "Please sign in to
@@ -144,6 +174,7 @@ complete changelog, see the git history for each version via the version links.
144
174
  - Added significant API documentation. API documentation effort is ongoing.
145
175
 
146
176
  ### Fixed
177
+
147
178
  - Fixed expectation in the generated `visitor_resets_password_spec.rb` file.
148
179
  - Corrected indentation of routes inserted by the routes generator.
149
180
  - Corrected indentation of `include Clearance::User` when the install generator
@@ -154,17 +185,20 @@ complete changelog, see the git history for each version via the version links.
154
185
  ## [1.11.0] - August 21, 2015
155
186
 
156
187
  ### Added
188
+
157
189
  - Add `sign_in` and `sign_in_as` helper methods to view specs. These helpers
158
190
  avoid errors from verified partial doubles that come from. See
159
191
  [462c009].
160
192
 
161
193
  ### Fixed
194
+
162
195
  - `clearance:routes` generator now properly disables internal routes in your
163
196
  Clearance initializer.
164
197
  - Clearance now accesses the cookie jar via ActionDispatch::Request rather than
165
198
  `Rack::Request`. This is more consistent with what Rails does internally.
166
199
 
167
200
  ### Deprecated
201
+
168
202
  - `Clearance::Testing::Helpers` has been deprecated in favor of
169
203
  `Clearance::Testing::ControllerHelpers`. Most users are accessing these
170
204
  helpers by requiring `clearance/rspec` or `clearance/test_unit` and should be
@@ -176,6 +210,7 @@ complete changelog, see the git history for each version via the version links.
176
210
  ## [1.10.1] - May 15, 2015
177
211
 
178
212
  ### Deprecated
213
+
179
214
  - All clearance-provided password strategies other than BCrypt have been
180
215
  deprecated. You can continue to use those strategies without a deprecation
181
216
  warning by adding `clearance-deprecated_password_strategies` to your Gemfile.
@@ -185,12 +220,14 @@ complete changelog, see the git history for each version via the version links.
185
220
  ## [1.9.0] - April 3, 2015
186
221
 
187
222
  ### Added
223
+
188
224
  - The change password mailer now produces a multipart message which includes a
189
225
  text part along with the previously existing HTML part. To override the text
190
226
  part, add `change_password.text.erb` alongside your `change_password.html.erb`
191
227
  file.
192
228
 
193
229
  ### Fixed
230
+
194
231
  - Custom `user_model` configured in a Rails initializer will now be reloaded in
195
232
  development mode.
196
233
  - Change password template now contains "Change my password" link text to
@@ -201,10 +238,12 @@ complete changelog, see the git history for each version via the version links.
201
238
  ## [1.8.1] - March 3, 2015
202
239
 
203
240
  ### Security
241
+
204
242
  - Enable cross-site request forgery protection on `sessions#create`. See
205
243
  [7f5d56e](https://github.com/thoughtbot/clearance/commit/7f5d56ed3a51aca14fa60247a90ca0cd11db0e0d).
206
244
 
207
245
  ### Fixed
246
+
208
247
  - All methods included by `Clearance::Controller` are now excluded from
209
248
  `action_methods`.
210
249
 
@@ -213,10 +252,12 @@ complete changelog, see the git history for each version via the version links.
213
252
  ## [1.8.0] - January 23, 2015
214
253
 
215
254
  ### Added
255
+
216
256
  - The remember token cookie name is now customizable via
217
257
  `Clearance.configuration.cookie_name`.
218
258
 
219
259
  ### Fixed
260
+
220
261
  - Fixed a redirect loop on the sign in page for applications that are still
221
262
  using the deprecated `authorize` filter.
222
263
  - Signed in users that attempt to visit the sign in path are now redirected. The
@@ -224,6 +265,7 @@ complete changelog, see the git history for each version via the version links.
224
265
  can be customized by overriding `passwords_controller#url_for_signed_in_users`
225
266
 
226
267
  ### Deprecated
268
+
227
269
  - `users_controller#avoid_sign_in` is now deprecated in favor of
228
270
  `redirect_signed_in_users` which is more accurately named.
229
271
 
@@ -232,9 +274,11 @@ complete changelog, see the git history for each version via the version links.
232
274
  ## [1.7.0] - January, 8, 2015
233
275
 
234
276
  ### Fixed
277
+
235
278
  - Fix the negation of the `deny_access` matcher in Rails 4.0.x on Ruby 2.2
236
279
 
237
280
  ### Deprecated
281
+
238
282
  - The `authorize` filter has been deprecated in favor of `require_login`. Update
239
283
  all reference to the filter including any calls to `skip_before_filter` or
240
284
  `skip_before_action`.
@@ -246,6 +290,7 @@ complete changelog, see the git history for each version via the version links.
246
290
  ## [1.6.1] - January 6, 2015
247
291
 
248
292
  ### Fixed
293
+
249
294
  - Secure cookies are no longer overwritten when the user visits a non-HTTPS URL.
250
295
 
251
296
  [1.6.1]: https://github.com/thoughtbot/clearance/compare/v1.6.0...v1.6.1
@@ -253,6 +298,7 @@ complete changelog, see the git history for each version via the version links.
253
298
  ## [1.6.0] - December 20, 2014
254
299
 
255
300
  ### Added
301
+
256
302
  - When using Rails 4.2, password reset emails are sent with the
257
303
  ActiveJob-compatible `#deliver_later` method.
258
304
 
@@ -261,6 +307,7 @@ complete changelog, see the git history for each version via the version links.
261
307
  ## [1.5.1] - December 19, 2014
262
308
 
263
309
  ### Fixed
310
+
264
311
  - Blowfish password strategy fixed
265
312
  - Specs generated with `rails generate clearance:specs` now work properly in
266
313
  RSpec 3 projects.
@@ -270,6 +317,7 @@ complete changelog, see the git history for each version via the version links.
270
317
  ## [1.5.0] - October 17, 2014
271
318
 
272
319
  ### Added
320
+
273
321
  - Disable clearance routes by setting `config.routes = false`.
274
322
  - Running `rails generate clearance:routes` will dump the default set of
275
323
  routes to your application's routes file for modification.
@@ -279,6 +327,7 @@ complete changelog, see the git history for each version via the version links.
279
327
  ## [1.4.3] - October 3, 2014
280
328
 
281
329
  ### Fixed
330
+
282
331
  - Routing constraints act appropriately when session data is missing.
283
332
 
284
333
  [1.4.3]: https://github.com/thoughtbot/clearance/compare/v1.4.2...v1.4.3
@@ -286,6 +335,7 @@ complete changelog, see the git history for each version via the version links.
286
335
  ## [1.4.2] - September 13, 2014
287
336
 
288
337
  ### Fixed
338
+
289
339
  - Eliminate deprecation message when using DenyAccess matcher with RSpec 3.
290
340
 
291
341
  [1.4.2]: https://github.com/thoughtbot/clearance/compare/v1.4.1...v1.4.2
@@ -293,6 +343,7 @@ complete changelog, see the git history for each version via the version links.
293
343
  ## [1.4.1] - September 5, 2014
294
344
 
295
345
  ### Fixed
346
+
296
347
  - Prevent BCrypt strategy from raising an exception when `encypted_password`
297
348
  is nil.
298
349
 
@@ -301,17 +352,20 @@ complete changelog, see the git history for each version via the version links.
301
352
  ## [1.4.0] - July 18, 2014
302
353
 
303
354
  ### Added
355
+
304
356
  - `user_params` method was added to `Clearance::UsersController` which provides
305
357
  a convenient place to override the parameters used when creating users.
306
358
  - Controllers now inherit from `Clearance::BaseController` to allow for easily
307
359
  adding behavior to all of them.
308
360
 
309
361
  ### Changed
362
+
310
363
  - The sign out link in the default application layout has been replaced with a
311
364
  semantically correct sign out button. This also removes an unnecessary
312
365
  JavaScript dependency.
313
366
 
314
367
  ### Fixed
368
+
315
369
  - Clearance now uses `original_fullpath` when redirecting to a saved URL after
316
370
  login. This should improve the behavior in mounted engines.
317
371
 
@@ -320,6 +374,7 @@ complete changelog, see the git history for each version via the version links.
320
374
  ## [1.3.0] - March 14, 2014
321
375
 
322
376
  ### Added
377
+
323
378
  - Installing Clearance with an existing User model will now create a migration
324
379
  that includes adding remember tokens to all existing user records.
325
380
 
@@ -328,6 +383,7 @@ complete changelog, see the git history for each version via the version links.
328
383
  ## [1.2.1] - March 6, 2014
329
384
 
330
385
  ### Fixed
386
+
331
387
  - Query string is now included in the redirect URL when Clearance redirects to a
332
388
  previously stored URL.
333
389
 
@@ -336,10 +392,12 @@ complete changelog, see the git history for each version via the version links.
336
392
  ## [1.2.0] - February 28, 2014
337
393
 
338
394
  ### Added
395
+
339
396
  - Support for Rails 4.1.0.rc1
340
397
  - Sign in can now be disabled with `config.allow_sign_in = false`
341
398
 
342
399
  ### Changed
400
+
343
401
  - Sign in failure message is now customized exclusively via I18n.
344
402
  `SessionsController#flash_failure_after_create` is no longer called. To
345
403
  customize the message, change the
@@ -347,6 +405,7 @@ complete changelog, see the git history for each version via the version links.
347
405
  `flashes.failure_after_create` key.
348
406
 
349
407
  ### Deprecated
408
+
350
409
  - `clearance/testing` is now deprecated. Require `clearance/rspec` or
351
410
  `clearance/test_unit` as appropriate.
352
411
 
@@ -355,8 +414,9 @@ complete changelog, see the git history for each version via the version links.
355
414
  ## [1.1.0] - November 21, 2013
356
415
 
357
416
  ### Added
417
+
358
418
  - Validate email with `EmailValidator` [strict mode][strict].
359
- - The `cookie_expiration` configuration lambda can now be called with a
419
+ - The `cookie_expiration` configuration lambda can now be called with a
360
420
  `cookies` parameter. Allows the Clearance cookie expiration to be set
361
421
  according to the value of another cookie (such as `remember_me`).
362
422
  - Allow cookie domain and path configuration.
@@ -365,9 +425,11 @@ complete changelog, see the git history for each version via the version links.
365
425
  [strict]: https://github.com/balexand/email_validator#strict-mode
366
426
 
367
427
  ### Fixed
428
+
368
429
  - Don't allow logins with blank `remember_token`.
369
430
 
370
431
  ### Deprecated
432
+
371
433
  - A `cookie_expiration` lambda that does not accept this `cookies`
372
434
  parameter has been deprecated.
373
435
 
@@ -376,6 +438,7 @@ complete changelog, see the git history for each version via the version links.
376
438
  ## [1.0.1] - August 9, 2013
377
439
 
378
440
  ### Fixed
441
+
379
442
  - Fix an issue when trying to sign in with `nil`
380
443
 
381
444
  [1.0.1]: https://github.com/thoughtbot/clearance/compare/v1.0.0...v1.1.1
@@ -383,6 +446,7 @@ complete changelog, see the git history for each version via the version links.
383
446
  ## [1.0.0] - August 1, 2013
384
447
 
385
448
  ### Added
449
+
386
450
  - Support Rails 4.
387
451
  - Speed up test suites using `::BCrypt::Engine::MIN_COST`.
388
452
  - Speed up integration suites with `Clearance::BackDoor`.
@@ -396,6 +460,7 @@ complete changelog, see the git history for each version via the version links.
396
460
  - Add `secure_cookie` configuration option.
397
461
 
398
462
  ### Changed
463
+
399
464
  - Change default password strategy to BCrypt.
400
465
  - Replace email regular expression with `EmailValidator` gem.
401
466
  - Require > Ruby 1.9.
@@ -407,12 +472,14 @@ complete changelog, see the git history for each version via the version links.
407
472
  to avoid locale conflicts.
408
473
 
409
474
  ### Fixed
475
+
410
476
  - Improve security when changing password.
411
477
  - Reduce extra user lookups when adding cookie to headers.
412
478
  - Unauthorized API requests return HTTP status 401 rather than a redirect
413
479
  to the sign in page.
414
480
 
415
481
  ### Removed
482
+
416
483
  - Remove deprecated methods on User: `remember_me!`, `generate_random_code`,
417
484
  `password_required?`.
418
485
  - Remove `unloadable` from controllers (Rails 4 bug fix in development
@@ -424,6 +491,7 @@ complete changelog, see the git history for each version via the version links.
424
491
  ## [0.16.2] - May 11, 2012
425
492
 
426
493
  ### Changed
494
+
427
495
  - Change default email sender to `deploy@example.com`.
428
496
 
429
497
  [0.16.2]: https://github.com/thoughtbot/clearance/compare/v0.16.1...v0.16.2
@@ -431,6 +499,7 @@ complete changelog, see the git history for each version via the version links.
431
499
  ## [0.16.1] - April 16, 2012
432
500
 
433
501
  ### Fixed
502
+
434
503
  - Behave correctly when Rails whitelist attributes mass assignment
435
504
  protection is turned on.
436
505
  - Fix for Rails 3.2.x modifying the HTTP cookie headers in rack requests.
@@ -440,6 +509,7 @@ complete changelog, see the git history for each version via the version links.
440
509
  ## [0.16.0] - March 16, 2012
441
510
 
442
511
  ### Added
512
+
443
513
  - Blowfish password encryption strategy.
444
514
 
445
515
  [0.16.0]: https://github.com/thoughtbot/clearance/compare/v0.15.0...v0.16.0
@@ -447,9 +517,11 @@ complete changelog, see the git history for each version via the version links.
447
517
  ## [0.15.0] - February 3, 2012
448
518
 
449
519
  ### Added
520
+
450
521
  - The `User` model can be swapped out using the `Clearance.configure` method.
451
522
 
452
523
  ### Removed
524
+
453
525
  - Remove `User::InstanceMethods` to silence a Rails 3.2 deprecation warning.
454
526
 
455
527
  [0.15.0]: https://github.com/thoughtbot/clearance/compare/v0.14.0...v0.15.0
@@ -457,6 +529,7 @@ complete changelog, see the git history for each version via the version links.
457
529
  ## [0.14.0] - January 13, 2012
458
530
 
459
531
  ### Added
532
+
460
533
  - Support clearance session management from the Rack environment.
461
534
 
462
535
  [0.14.0]: https://github.com/thoughtbot/clearance/compare/v0.13.2...v0.14.0
@@ -464,6 +537,7 @@ complete changelog, see the git history for each version via the version links.
464
537
  ## [0.13.2] - January 13, 2012
465
538
 
466
539
  ### Fixed
540
+
467
541
  - Fixed the `deny_access` matcher.
468
542
 
469
543
  [0.13.2]: https://github.com/thoughtbot/clearance/compare/v0.13.0...v0.13.2
@@ -471,6 +545,7 @@ complete changelog, see the git history for each version via the version links.
471
545
  ## [0.13.0] - October 11, 2011
472
546
 
473
547
  ### Changed
548
+
474
549
  - In Clearance's optional generated features, use pure Capybara instead of
475
550
  depending on Cucumber's removed `web_steps`, paths, and selectors.
476
551
  - Extract SHA-1-specific code out of `User` into `PasswordStrategies` module.
@@ -482,6 +557,7 @@ complete changelog, see the git history for each version via the version links.
482
557
  ## [0.12.0] - June 30, 2011
483
558
 
484
559
  ### Changed
560
+
485
561
  - Denying access redirects to `root_url` when signed in, `sign_in_url` when
486
562
  signed out.
487
563
  - Using flash `:notice` key everywhere now instead of `:success` and `:failure`.
@@ -497,10 +573,12 @@ complete changelog, see the git history for each version via the version links.
497
573
  ## [0.11.2] - June 29, 2011
498
574
 
499
575
  ### Added
576
+
500
577
  - Rails 3.1.rc compatible.
501
578
  - RSpec and Test::Unit compliant test matcher (`should deny_access`, etc)
502
579
 
503
580
  ### Removed
581
+
504
582
  - No more Clearance `shoulda_macros`. Instead providing RSpec and
505
583
  Test::Unit-compliant test matchers (`should deny_access`, etc).
506
584
 
@@ -509,13 +587,16 @@ complete changelog, see the git history for each version via the version links.
509
587
  ## [0.11.1] - April 30, 2011
510
588
 
511
589
  ### Added
590
+
512
591
  - Redirect to home page after sign up.
513
592
 
514
593
  ### Fixed
594
+
515
595
  - Removing `:case_sensitive` option from `validates_uniqueness_of`. It was
516
596
  unnecessary and causes a small performance problem on some apps.
517
597
 
518
598
  ### Removed
599
+
519
600
  - Remove dependency on `dynamic_form`. Replaced with flashes due to limited number
520
601
  of failure cases.
521
602
 
@@ -524,14 +605,17 @@ complete changelog, see the git history for each version via the version links.
524
605
  ## [0.11.0] - April 24, 2011
525
606
 
526
607
  ### Added
608
+
527
609
  - New `controller#authenticate(params)` method. Redefine username & password or
528
610
  other styles of authentication.
529
611
 
530
612
  ### Changed
531
- - `before_filter :authenticate` API replaced with more aptly-named `before_filter
532
- :authorize`.
613
+
614
+ - `before_filter :authenticate` API replaced with more
615
+ aptly-named `before_filter :authorize`.
533
616
 
534
617
  ### Removed
618
+
535
619
  - Removing password confirmation.
536
620
 
537
621
  [0.11.0]: https://github.com/thoughtbot/clearance/compare/v0.10.5...v0.11.0
@@ -539,6 +623,7 @@ complete changelog, see the git history for each version via the version links.
539
623
  ## [0.10.5] - April 19, 2011
540
624
 
541
625
  ### Security
626
+
542
627
  - Closing CSRF hole for Rails >= 3.0.4 apps.
543
628
 
544
629
  [0.10.5]: https://github.com/thoughtbot/clearance/compare/v0.10.4...v0.10.5
@@ -546,15 +631,19 @@ complete changelog, see the git history for each version via the version links.
546
631
  ## [0.10.4] - April 16, 2011
547
632
 
548
633
  ### Added
634
+
549
635
  - Use HTML5 email fields.
550
636
 
551
637
  ### Changed
638
+
552
639
  - Emails forced to be downcased (particularly for iPhone user case).
553
640
 
554
641
  ### Fixed
642
+
555
643
  - Password reset requires a password.
556
644
 
557
645
  ### Removed
646
+
558
647
  - Formtastic views generator removed.
559
648
 
560
649
  [0.10.4]: https://github.com/thoughtbot/clearance/compare/v0.10.3.2...v0.10.4
@@ -562,6 +651,7 @@ complete changelog, see the git history for each version via the version links.
562
651
  ## [0.10.3.2] - March 6, 2011
563
652
 
564
653
  ### Fixed
654
+
565
655
  - Fix gemspec to include all necessary files.
566
656
 
567
657
  [0.10.3.2]: https://github.com/thoughtbot/clearance/compare/v0.10.3.1...v0.10.3.2
@@ -569,6 +659,7 @@ complete changelog, see the git history for each version via the version links.
569
659
  ## [0.10.3.1] - February 20, 2011
570
660
 
571
661
  ### Fixed
662
+
572
663
  - Ensure everything within features inside any engine directory is included in
573
664
  the `gemspec`.
574
665
 
@@ -577,6 +668,7 @@ complete changelog, see the git history for each version via the version links.
577
668
  ## [0.10.3] - February 19, 2011
578
669
 
579
670
  ### Fixed
671
+
580
672
  - Include features/engines in `gemspec` file list so generator works as
581
673
  expected.
582
674
 
@@ -585,11 +677,13 @@ complete changelog, see the git history for each version via the version links.
585
677
  ## [0.10.2] - February 18, 2011
586
678
 
587
679
  ### Added
680
+
588
681
  - New generator command: `rails generate clearance:install`.
589
682
  - When Clearance installed in an app that already has users, allow old users to
590
683
  sign in by resetting their password.
591
684
 
592
685
  ### Changed
686
+
593
687
  - Step definitions are now prefixed with `visitor_` to use thoughtbot
594
688
  convention.
595
689
 
@@ -598,6 +692,7 @@ complete changelog, see the git history for each version via the version links.
598
692
  ## [0.10.1] - February 9, 2011
599
693
 
600
694
  ### Fixed
695
+
601
696
  - Replaced `ActionController::Forbidden` with a user-friendly flash message.
602
697
 
603
698
  [0.10.1]: https://github.com/thoughtbot/clearance/compare/v0.10.0...v0.10.1
@@ -605,9 +700,11 @@ complete changelog, see the git history for each version via the version links.
605
700
  ## [0.10.0] - June 29, 2010
606
701
 
607
702
  ### Added
703
+
608
704
  - Better email validation regular expression.
609
705
 
610
706
  ### Removed
707
+
611
708
  - Removed email confirmation step, was mostly a hassle and can always be added
612
709
  back in at the application level (instead of engine level) if necessary.
613
710
  - Removed `disable_with` on forms since it does not allow IE users to submit
@@ -618,6 +715,7 @@ complete changelog, see the git history for each version via the version links.
618
715
  ## [0.9.1] - June 29, 2010
619
716
 
620
717
  ### Added
718
+
621
719
  - This release supports Rails 3, capybara, and shoulda 2.10+.
622
720
 
623
721
  [0.9.1]: https://github.com/thoughtbot/clearance/compare/v0.9.0...v0.9.1
@@ -625,9 +723,11 @@ complete changelog, see the git history for each version via the version links.
625
723
  ## [0.9.0] - June 11, 2010
626
724
 
627
725
  ### Added
726
+
628
727
  - Allow customization of cookie duration.
629
728
 
630
729
  ### Changed
730
+
631
731
  - Removed unnecessary db index.
632
732
 
633
733
  [0.9.0]: https://github.com/thoughtbot/clearance/compare/v0.8.8...v0.9.0
@@ -635,6 +735,7 @@ complete changelog, see the git history for each version via the version links.
635
735
  ## [0.8.8] - February 25, 2010
636
736
 
637
737
  ### Fixed
738
+
638
739
  - Fixed `sign_in` and `sign_out` not setting `current_user`.
639
740
 
640
741
  [0.8.8]: https://github.com/thoughtbot/clearance/compare/v0.8.7...v0.8.8
@@ -642,6 +743,7 @@ complete changelog, see the git history for each version via the version links.
642
743
  ## [0.8.7] - February 21, 2010
643
744
 
644
745
  ### Fixed
746
+
645
747
  - Fixed global sign out bug.
646
748
  - Allow Rails apps to `before_filter :authenticate` the entire app
647
749
  in `ApplicationController` and still have password recovery work without
@@ -653,10 +755,12 @@ complete changelog, see the git history for each version via the version links.
653
755
  ## [0.8.6] - February 17, 2010
654
756
 
655
757
  ### Added
758
+
656
759
  - Allow overridden user models to skip email/password validations
657
760
  conditionally. This makes username/facebook integration easier.
658
761
 
659
762
  ### Fixed
763
+
660
764
  - Clearance features capitalization should match view text.
661
765
  - Skip `:authenticate before_filter` in controllers so apps can easily
662
766
  authenticate a whole site without subclassing.
@@ -670,12 +774,14 @@ complete changelog, see the git history for each version via the version links.
670
774
  ## [0.8.5] - January 20, 2010
671
775
 
672
776
  ### Changed
777
+
673
778
  - Removed `attr_accessible` from `Clearance::User`.
674
779
  - Remove dependency on `root_path`, use `'/'` instead.
675
780
  - Use `Clearance.configure` block to set mailer sender instead of `DO_NOT_REPLY`
676
781
  constant.
677
782
 
678
783
  ### Fixed
784
+
679
785
  - Replaced routing hack with `Clearance::Routes.draw(map)` to give more control
680
786
  to the application developer.
681
787
  - Fixed bug in password reset feature.
@@ -685,6 +791,7 @@ complete changelog, see the git history for each version via the version links.
685
791
  ## [0.8.4] - December 08, 2009
686
792
 
687
793
  ### Fixed
794
+
688
795
  - Remove unnecessary `require 'factory_girl'` in generator.
689
796
 
690
797
  [0.8.4]: https://github.com/thoughtbot/clearance/compare/v0.8.3...v0.8.4
@@ -692,6 +799,7 @@ complete changelog, see the git history for each version via the version links.
692
799
  ## [0.8.3] - September 21, 2009
693
800
 
694
801
  ### Fixed
802
+
695
803
  - Avoid possible collisions in the remember me token.
696
804
 
697
805
  [0.8.3]: https://github.com/thoughtbot/clearance/compare/v0.8.2...v0.8.3
@@ -699,6 +807,7 @@ complete changelog, see the git history for each version via the version links.
699
807
  ## [0.8.2] - September 01, 2009
700
808
 
701
809
  ### Added
810
+
702
811
  - `current_user= accessor` method.
703
812
  - Set `current_user` in `sign_in`.
704
813
 
@@ -707,9 +816,11 @@ complete changelog, see the git history for each version via the version links.
707
816
  ## [0.8.1] - August 31, 2009
708
817
 
709
818
  ### Changed
819
+
710
820
  - Removed unnecessary `remember_token_expires_at` column.
711
821
 
712
822
  ### Removed
823
+
713
824
  - Removed `remember?` and `forget_me!` user instance methods.
714
825
 
715
826
  [0.8.1]: https://github.com/thoughtbot/clearance/compare/v0.8.0...v0.8.1
@@ -717,10 +828,12 @@ complete changelog, see the git history for each version via the version links.
717
828
  ## [0.8.0] - August 31, 2009
718
829
 
719
830
  ### Added
831
+
720
832
  - Documented `Clearance::Authentication` with YARD.
721
833
  - Documented `Clearance::User` with YARD.
722
834
 
723
835
  ### Changed
836
+
724
837
  - Always remember me. Replaced session-and-remember-me authentication with
725
838
  always using a cookie with a long timeout.
726
839
 
@@ -729,11 +842,13 @@ complete changelog, see the git history for each version via the version links.
729
842
  ## [0.7.0] - August 4, 2009
730
843
 
731
844
  ### Added
845
+
732
846
  - Added `signed_out?` convenience method for controllers, helpers, views.
733
847
  - Added `clearance_views` generator. By default, creates formtastic views which
734
848
  pass all tests and features.
735
849
 
736
850
  ### Fixed
851
+
737
852
  - Redirect signed in user who clicks confirmation link again.
738
853
  - Redirect signed out user who clicks confirmation link again.
739
854
 
@@ -742,6 +857,7 @@ complete changelog, see the git history for each version via the version links.
742
857
  ## [0.6.9] - July 4, 2009
743
858
 
744
859
  ### Added
860
+
745
861
  - Added timestamps to create users migration.
746
862
  - Ready for Ruby 1.9.
747
863
 
@@ -750,6 +866,7 @@ complete changelog, see the git history for each version via the version links.
750
866
  ## [0.6.8] - June 24, 2009
751
867
 
752
868
  ### Fixed
869
+
753
870
  - Added `defined?` checks for various Rails constants such as `ActionController`
754
871
  for easier unit testing of Clearance extensions... particularly `ActiveRecord`
755
872
  extensions... `particularly strong_password`.
@@ -759,6 +876,7 @@ complete changelog, see the git history for each version via the version links.
759
876
  ## [0.6.7] - June 13, 2009
760
877
 
761
878
  ### Added
879
+
762
880
  - Added `sign_up`, `sign_in`, `sign_out` named routes.
763
881
  - `flash_success_after_create`, `flash_notice_after_create`,
764
882
  `flash_failure_after_create`, `flash_sucess_after_update`,
@@ -766,9 +884,11 @@ complete changelog, see the git history for each version via the version links.
766
884
  - Added `#create` to forbidden `before_filters` on confirmations controller.
767
885
 
768
886
  ### Fixed
887
+
769
888
  - `should_be_signed_in_as` shouldn't look in the session.
770
889
 
771
890
  ### Deprecated
891
+
772
892
  - Deprecated `sign_user_in`. Told developers to use `sign_in` instead.
773
893
 
774
894
  [0.6.7]: https://github.com/thoughtbot/clearance/compare/v0.6.6...v0.6.7
@@ -776,6 +896,7 @@ complete changelog, see the git history for each version via the version links.
776
896
  ## [0.6.6] - May 18, 2009
777
897
 
778
898
  ### Fixed
899
+
779
900
  - replaced `class_eval` in `Clearance::User` with modules. This was needed
780
901
  so we could write our own validations.
781
902
 
@@ -784,6 +905,7 @@ complete changelog, see the git history for each version via the version links.
784
905
  ## [0.6.5] - May 17, 2009
785
906
 
786
907
  ### Added
908
+
787
909
  - Make Clearance i18n aware.
788
910
 
789
911
  [0.6.5]: https://github.com/thoughtbot/clearance/compare/v0.6.4...v0.6.5
@@ -791,10 +913,11 @@ complete changelog, see the git history for each version via the version links.
791
913
  ## [0.6.4] - May 12, 2009
792
914
 
793
915
  ### Changed
794
- - Replacing `sign_in_as` & `sign_out` shoulda macros with a stubbing (requires no
795
- dependency) approach. This will avoid dealing with the internals of
796
- `current_user`, such as session & cookies. Added `sign_in` macro which signs in an
797
- email confirmed user from clearance's factories.
916
+
917
+ - Replacing `sign_in_as` & `sign_out` shoulda macros with a stubbing (requires
918
+ no dependency) approach. This will avoid dealing with the internals of
919
+ `current_user`, such as session & cookies. Added `sign_in` macro which signs
920
+ in an email confirmed user from clearance's factories.
798
921
  - Move private methods on sessions controller into `Clearance::Authentication`
799
922
  module.
800
923
  - Audited flash keys.
@@ -804,6 +927,7 @@ complete changelog, see the git history for each version via the version links.
804
927
  ## [0.6.3] - April 23, 2009
805
928
 
806
929
  ### Fixed
930
+
807
931
  - Scoping `ClearanceMailer` properly within controllers so it works in
808
932
  production environments.
809
933
 
@@ -812,6 +936,7 @@ complete changelog, see the git history for each version via the version links.
812
936
  ## [0.6.2] - April 22, 2009
813
937
 
814
938
  ### Added
939
+
815
940
  - Insert `Clearance::User` into User model if it exists.
816
941
 
817
942
  [0.6.2]: https://github.com/thoughtbot/clearance/compare/v0.6.1...v0.6.2
@@ -819,6 +944,7 @@ complete changelog, see the git history for each version via the version links.
819
944
  ## [0.6.1] - April 21, 2009
820
945
 
821
946
  ### Changed
947
+
822
948
  - Scope operators are necessary to keep Rails happy. Reverting the original
823
949
  revert so they're back in the library now for constants referenced inside of
824
950
  the gem.
@@ -828,22 +954,23 @@ complete changelog, see the git history for each version via the version links.
828
954
  ## [0.6.0] - April 21, 2009
829
955
 
830
956
  ### Changed
957
+
831
958
  - Converted Clearance to a Rails engine.
832
959
  - Include `Clearance::User` in User model in app.
833
960
  - Include `Clearance::Authentication` in `ApplicationController`.
834
961
  - Namespace controllers under `Clearance` module.
835
962
  - Routes move to engine, use namespaced controllers but publicly the same.
836
- - If you want to override a controller, subclass it like `SessionsController <
837
- Clearance::SessionsController`. This gives you access to usual hooks such as
838
- `url_after_create`.
963
+ - If you want to override a controller, subclass it like
964
+ `SessionsController < Clearance::SessionsController`. This gives you access to
965
+ usual hooks such as `url_after_create`.
839
966
  - Controllers, mailer, model, routes all unit tested inside engine. Use
840
967
  `script/generate clearance_features` to test integration of Clearance with your
841
968
  Rails app. No longer including modules in your app's test files.
842
969
  - Moved views to engine.
843
- - Converted generated `test/factories/clearance.rb` to use inheritence for
970
+ - Converted generated `test/factories/clearance.rb` to use inheritance for
844
971
  `email_confirmed_user`.
845
972
  - Corrected some spelling errors with methods.
846
- - Loading clearance routes after rails routes via some monkeypatching.
973
+ - Loading clearance routes after rails routes via some monkey patching.
847
974
  - Made the clearance controllers `unloadable` to stop constant loading errors in
848
975
  development mode.
849
976
 
@@ -852,6 +979,7 @@ complete changelog, see the git history for each version via the version links.
852
979
  ## [0.5.6] - April 11, 2009
853
980
 
854
981
  ### Fixed
982
+
855
983
  - Step definition changed for "User should see error messages" so features won't
856
984
  fail for certain validations.
857
985
 
@@ -860,6 +988,7 @@ complete changelog, see the git history for each version via the version links.
860
988
  ## [0.5.5] - March 23, 2009
861
989
 
862
990
  ### Fixed
991
+
863
992
  - Removing duplicate test to get rid of warning.
864
993
 
865
994
  [0.5.5]: https://github.com/thoughtbot/clearance/compare/v0.5.4...v0.5.5
@@ -867,6 +996,7 @@ complete changelog, see the git history for each version via the version links.
867
996
  ## [0.5.4] - March 21, 2009
868
997
 
869
998
  ### Changed
999
+
870
1000
  - When users fail logging in, redirect them instead of rendering.
871
1001
 
872
1002
  [0.5.4]: https://github.com/thoughtbot/clearance/compare/v0.5.3...v0.5.4
@@ -874,6 +1004,7 @@ complete changelog, see the git history for each version via the version links.
874
1004
  ## [0.5.3] - March 5, 2009
875
1005
 
876
1006
  ### Changed
1007
+
877
1008
  - Clearance now works with (and requires) Shoulda 2.10.0.
878
1009
 
879
1010
  [0.5.3]: https://github.com/thoughtbot/clearance/compare/v0.5.2...v0.5.3
@@ -881,6 +1012,7 @@ complete changelog, see the git history for each version via the version links.
881
1012
  ## [0.5.2] - March 2, 2009
882
1013
 
883
1014
  ### Added
1015
+
884
1016
  - Full compatible with Rails 2.3 (all tests pass)
885
1017
 
886
1018
  [0.5.2]: https://github.com/thoughtbot/clearance/compare/v0.5.1...v0.5.2
@@ -888,6 +1020,7 @@ complete changelog, see the git history for each version via the version links.
888
1020
  ## [0.5.1] - February 27, 2009
889
1021
 
890
1022
  ### Changed
1023
+
891
1024
  - A user with unconfirmed email who resets password now confirms email.
892
1025
  - Switch order of cookies and sessions to take advantage of Rails 2.3's
893
1026
  "Rack-based lazy-loaded sessions",
@@ -895,6 +1028,7 @@ complete changelog, see the git history for each version via the version links.
895
1028
  `application.rb` in Rails 2.3 apps.
896
1029
 
897
1030
  ### Fixed
1031
+
898
1032
  - Rack-based session change altered how to test remember me cookie.
899
1033
 
900
1034
  [0.5.1]: https://github.com/thoughtbot/clearance/compare/v0.5.0...v0.5.1
@@ -902,6 +1036,7 @@ complete changelog, see the git history for each version via the version links.
902
1036
  ## [0.5.0] - February 27, 2009
903
1037
 
904
1038
  ### Fixed
1039
+
905
1040
  - Fixed problem with Cucumber features.
906
1041
  - Fixed missing HTTP fluency use case.
907
1042
 
@@ -910,10 +1045,12 @@ complete changelog, see the git history for each version via the version links.
910
1045
  ## [0.4.9] - February 20, 2009
911
1046
 
912
1047
  ### Changed
1048
+
913
1049
  - Protect passwords & confirmations actions with forbidden filters.
914
1050
  - Return 403 Forbidden status code in those cases.
915
1051
 
916
1052
  ### Security
1053
+
917
1054
  - Fixed bug that allowed anyone to edit another user's password.
918
1055
 
919
1056
  [0.4.9]: https://github.com/thoughtbot/clearance/compare/v0.4.8...v0.4.9
@@ -921,11 +1058,13 @@ complete changelog, see the git history for each version via the version links.
921
1058
  ## [0.4.8] - February 16, 2009
922
1059
 
923
1060
  ### Added
1061
+
924
1062
  - Added documentation for the flash.
925
1063
  - Generators `require 'test_helper'` instead of `File.join` for RR
926
1064
  compatibility.
927
1065
 
928
1066
  ### Changed
1067
+
929
1068
  - Removed interpolated email address from flash message to make i18n easier.
930
1069
  - Standardized flash messages that refer to email delivery.
931
1070
 
@@ -934,6 +1073,7 @@ complete changelog, see the git history for each version via the version links.
934
1073
  ## [0.4.7] - February 12, 2009
935
1074
 
936
1075
  ### Changed
1076
+
937
1077
  - Removed `Clearance::Test::TestHelper` so there is one less setup step.
938
1078
  - All test helpers now in `shoulda_macros`.
939
1079
 
@@ -942,6 +1082,7 @@ complete changelog, see the git history for each version via the version links.
942
1082
  ## [0.4.6] - February 11, 2009
943
1083
 
944
1084
  ### Added
1085
+
945
1086
  - Created `Actions` and `PrivateMethods` modules on controllers for future RDoc
946
1087
  reasons.
947
1088
 
@@ -950,9 +1091,11 @@ complete changelog, see the git history for each version via the version links.
950
1091
  ## [0.4.5] - February 9, 2009
951
1092
 
952
1093
  ### Added
1094
+
953
1095
  - Added password reset feature to `clearance_features` generator.
954
1096
 
955
1097
  ### Changed
1098
+
956
1099
  - Only store location for `session[:return_to]` for GET requests.
957
1100
  - Audited "sign up" naming convention. "Register" had slipped in a few places.
958
1101
  - Switched to `SHA1` encryption. Cypher doesn't matter much for email
@@ -960,6 +1103,7 @@ complete changelog, see the git history for each version via the version links.
960
1103
  clients who line break on 72 chars.
961
1104
 
962
1105
  ### Removed
1106
+
963
1107
  - Removed email downcasing because local-part is case sensitive per
964
1108
  RFC5321.
965
1109
  - Removed unnecessary `session[:salt]`.
@@ -969,9 +1113,11 @@ complete changelog, see the git history for each version via the version links.
969
1113
  ## [0.4.4] - February 2, 2009
970
1114
 
971
1115
  ### Added
1116
+
972
1117
  - Added a generator for Cucumber features.
973
1118
 
974
1119
  ### Changed
1120
+
975
1121
  - Standardized naming for "Sign up," "Sign in," and "Sign out".
976
1122
 
977
1123
  [0.4.4]: https://github.com/thoughtbot/clearance/compare/v0.3.7...v0.4.4