clearance 1.15.0 → 1.15.1

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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7bb2bb2c93d7a915a585bf008496f66e69f272fe
4
- data.tar.gz: 9e9a73d70582de69577f96be2b8115bedd60ce75
3
+ metadata.gz: ed1114d2ef322be26b340c854c009cf3a43d11a6
4
+ data.tar.gz: 06e17413cf20d6969c32ba696de6a8aa7dfb6162
5
5
  SHA512:
6
- metadata.gz: 4c21a76171c25a1b76e621349d8a63cee76dd81d0c16963488879f02580f3b94899ca5208a48eeb61eb61170e8eb56f5a273f061fbcaf36ee6e06886a30bbd7a
7
- data.tar.gz: 883d40555e789e06157a31527d1275b5f6b2100f85542a65d345a587364d5fdf6c1962bba1f0befe91f5ccdf0a6cd5cc50175839e1c0dc0cf34b0e7c9d5cb782
6
+ metadata.gz: 049710acdb4130cb12100d922f9c4191aadb3b43e13bec6b46edcf328a04622a458d771656d5cabb429dbc836812f9361ff7493c3f743f1925aff3e4d558d99b
7
+ data.tar.gz: 73ecf1acaf7c2c5b365f9e43ab0c530b8bc3366b21c578ba08b071146224cf08960f161237dd030b79b9e50fe3d627934969f5082193ca91c4220cc72a475af1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- clearance (1.15.0)
4
+ clearance (1.15.1)
5
5
  bcrypt
6
6
  email_validator (~> 1.4)
7
7
  rails (>= 3.1)
@@ -89,10 +89,8 @@ GEM
89
89
  mime-types-data (3.2016.0521)
90
90
  mini_portile2 (2.1.0)
91
91
  minitest (5.9.1)
92
- nokogiri (1.6.8)
92
+ nokogiri (1.6.8.1)
93
93
  mini_portile2 (~> 2.1.0)
94
- pkg-config (~> 1.1.7)
95
- pkg-config (1.1.7)
96
94
  pry (0.10.3)
97
95
  coderay (~> 1.1.0)
98
96
  method_source (~> 0.8.1)
data/NEWS.md CHANGED
@@ -3,6 +3,14 @@
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
+ ## [1.15.1] - October 6, 2016
7
+
8
+ ### Fixed
9
+ - Password reset form redirect no longer uses a named route helper, which means
10
+ it will work for developers that have customized their routes.
11
+
12
+ [1.15.1]: https://github.com/thoughtbot/clearance/compare/v1.15.0...v1.15.1
13
+
6
14
  ## [1.15.0] - September 26, 2016
7
15
 
8
16
  ### Security
@@ -32,7 +32,7 @@ class Clearance::PasswordsController < Clearance::BaseController
32
32
 
33
33
  if params[:token]
34
34
  session[:password_reset_token] = params[:token]
35
- redirect_to edit_user_password_url(@user)
35
+ redirect_to url_for
36
36
  else
37
37
  render template: 'passwords/edit'
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module Clearance
2
- VERSION = "1.15.0".freeze
2
+ VERSION = "1.15.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clearance
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Croak
@@ -25,7 +25,7 @@ authors:
25
25
  autorequire:
26
26
  bindir: bin
27
27
  cert_chain: []
28
- date: 2016-09-27 00:00:00.000000000 Z
28
+ date: 2016-10-06 00:00:00.000000000 Z
29
29
  dependencies:
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: bcrypt