devise 4.6.0 → 4.6.1

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

Potentially problematic release.


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

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f89e0e322bb87fda7dfb21c558c38138065368ba
4
- data.tar.gz: 88f2a5d3e8aeddaf2dd1a9dc6f6a366cf4b3a3ef
3
+ metadata.gz: f693d109d7ae197a0762ce5a617e7dfb817bce99
4
+ data.tar.gz: c0ccbced157b26334a1554cd260d8a9b1272f041
5
5
  SHA512:
6
- metadata.gz: 40734474103c3aabd38dfae149a0f38d690d30ac2aa465510869616338a2968ab9f5a128f3263ca34009fb98b7bbb3b4bcd344119532bb56f459d23b3e6d326c
7
- data.tar.gz: 80a1ef0816372c91f91ad27389b1abbe21c80d76ade44f9afce5ef1221b21b195466b1fe74a8a78bc20e70772eeacda06f7b7d06a208355fbf0f858ad3de33e7
6
+ metadata.gz: 3c3cb793832eb8707aed1ba0449404f0319dad08525b5ecdf763c2e7aa7f036d2c7a8400ad2a3ee98d41ea84c708529ee657027102e4ba13c2a5ff00c14ff86c
7
+ data.tar.gz: 4bddd25f366745d698cc9a6a1f6e29da1f5d8a7b63af3f956a817ff69d06e5f59df9e3fb48d7f194e42dde7eb4851e2d7ec91c414d11ccc6180b9a2c152c1963
@@ -1,5 +1,10 @@
1
1
  ### Unreleased
2
2
 
3
+ ### 4.6.1 - 2019-02-11
4
+
5
+ * bug fixes
6
+ * Check if `root_path` is defined with `#respond_to?` instead of `#present` (by @tegon)
7
+
3
8
  ### 4.6.0 - 2019-02-07
4
9
 
5
10
  * enhancements
@@ -275,7 +275,7 @@ module Devise
275
275
  private
276
276
 
277
277
  def root_path_defined?(context)
278
- defined?(context.routes) && context.routes.url_helpers.root_path.present?
278
+ defined?(context.routes) && context.routes.url_helpers.respond_to?(:root_path)
279
279
  end
280
280
 
281
281
  def rails_5_and_down?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Devise
4
- VERSION = "4.6.0".freeze
4
+ VERSION = "4.6.1".freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
4
+ version: 4.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Valim
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-02-07 00:00:00.000000000 Z
12
+ date: 2019-02-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: warden