devise_masquerade 1.3.9 → 1.3.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd8da5271e7816c4823e6208ddb3d164065463a69d0be4d12bc6b6cdd6314102
4
- data.tar.gz: 55e126ffbe80364b490ed85dd7235ad9de168614d0979d00e84ed0a9f7f31390
3
+ metadata.gz: 765e1b2a1c4a2ae6f4708ad80b7f69745093be77070aaffb0415a71e870d3d3e
4
+ data.tar.gz: ccfd44dc5346385d69a5b0bd6ef69f7504cb36e4d092568744b3e3bbbda34a07
5
5
  SHA512:
6
- metadata.gz: f575ef0026f95fc117daaee22797f2a8495e20a33c2e100c70f40df91eb7c05ad4eb84fe39fd01b0a9b1403c23c0a00a657f0b9475c02ff17e1c89b1c5ffc642
7
- data.tar.gz: f42b17cc00ff950387b8a44f079a575a4875788e97743e8cb923cf09e73e41da3aa9bff7cc819250d96ed1347fed1258745f8ddeaaa8a0274af651ffcda0ae09
6
+ metadata.gz: 02f79998f7f9364a32628b3fa246e1e82b0b7a6007bfa344861ee5cf6fb168166cb73350733e554017922bd889709dcf29d374a08cf39cb191d68ca4e2fea811
7
+ data.tar.gz: 0b814c4cef685103f3a846dbdc2ee62f4b070b9be2c20e913eb63605e518e125d8aae6933c1006437a3b7fdfc5e5677820b4640c50d204e66174c6c4b1687800
data/Gemfile.lock CHANGED
@@ -52,7 +52,7 @@ GIT
52
52
  PATH
53
53
  remote: .
54
54
  specs:
55
- devise_masquerade (1.3.9)
55
+ devise_masquerade (1.3.10)
56
56
  devise (>= 4.7.0)
57
57
  globalid (>= 0.3.6)
58
58
  railties (>= 5.2.0)
@@ -98,7 +98,7 @@ GEM
98
98
  archive-zip (0.12.0)
99
99
  io-like (~> 0.3.0)
100
100
  backports (3.15.0)
101
- bcrypt (3.1.16)
101
+ bcrypt (3.1.17)
102
102
  bson (1.12.5)
103
103
  bson_ext (1.12.5)
104
104
  bson (~> 1.12.5)
@@ -142,7 +142,7 @@ GEM
142
142
  cucumber-tag_expressions (1.1.1)
143
143
  cucumber-wire (0.0.1)
144
144
  database_cleaner (1.0.1)
145
- devise (4.7.3)
145
+ devise (4.8.1)
146
146
  bcrypt (~> 3.0)
147
147
  orm_adapter (~> 0.1)
148
148
  railties (>= 4.1.0)
@@ -201,13 +201,13 @@ GEM
201
201
  mime-types-data (~> 3.2015)
202
202
  mime-types-data (3.2019.1009)
203
203
  mini_mime (1.0.2)
204
- mini_portile2 (2.5.1)
204
+ mini_portile2 (2.8.0)
205
205
  minitest (5.12.2)
206
206
  multi_json (1.14.1)
207
207
  multi_test (0.1.2)
208
208
  nenv (0.3.0)
209
- nokogiri (1.11.5)
210
- mini_portile2 (~> 2.5.0)
209
+ nokogiri (1.13.3)
210
+ mini_portile2 (~> 2.8.0)
211
211
  racc (~> 1.4)
212
212
  notiffany (0.1.3)
213
213
  nenv (~> 0.1)
@@ -221,7 +221,7 @@ GEM
221
221
  byebug (~> 11.0)
222
222
  pry (~> 0.10)
223
223
  public_suffix (4.0.6)
224
- racc (1.5.2)
224
+ racc (1.6.0)
225
225
  rack (2.2.3)
226
226
  rack-test (1.1.0)
227
227
  rack (>= 1.0, < 3)
data/README.md CHANGED
@@ -8,8 +8,6 @@
8
8
 
9
9
  [![Maintainability](https://api.codeclimate.com/v1/badges/cf63d775dc014a7ebc03/maintainability)](https://codeclimate.com/github/oivoodoo/devise_masquerade/maintainability)
10
10
 
11
- [![Analytics](https://ga-beacon.appspot.com/UA-46818771-1/devise_masquerade/README.md)](https://github.com/oivoodoo/devise_masquerade)
12
-
13
11
  [Consulting](https://bitscorp.co)
14
12
 
15
13
  It's a utility library for enabling functionallity like login as button for
@@ -26,7 +26,7 @@ class Devise::MasqueradesController < DeviseController
26
26
 
27
27
  unless resource
28
28
  flash[:error] = "#{masqueraded_resource_class} not found."
29
- redirect_to(new_user_session_path) and return
29
+ redirect_to(send("new_#{masqueraded_resource_name}_session_path")) and return
30
30
  end
31
31
 
32
32
  request.env['devise.skip_trackable'] = '1'
@@ -1,3 +1,3 @@
1
1
  module DeviseMasquerade
2
- VERSION = '1.3.9'.freeze
2
+ VERSION = '1.3.10'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_masquerade
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.9
4
+ version: 1.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandr Korsak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-11 00:00:00.000000000 Z
11
+ date: 2022-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler