radius-rails 4.0.1 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23ac240941bb307115315312a1fdfd9c1798e6ff454e2bb09a1feb0245c5a250
4
- data.tar.gz: 459e433dae817925e2227f771e54302f4f835ca5af29a0eb540715b44c0bffac
3
+ metadata.gz: 3784586c4fed8411ccce806d0eb96e9503f03cb5518758dc039fd9bf178763d2
4
+ data.tar.gz: bc33e2cc7fcd7f2195a8f1f10a8e2181f77e48bb3cfb8c7f072ac0407873528e
5
5
  SHA512:
6
- metadata.gz: 0eb10be969941ad2efbf0faa0ed290e749a63a6934c9597288e23107ebfd309c8ab66112d0ef7baca356f3c28c52dcfb3e0940873bc5d0c4a3a5cd9be8786ff8
7
- data.tar.gz: 3a5f485e1968c8eb6bbebfc0b40fcdce9c4c5e9374b20fbe53aaf47ac8328e96c5dd0e4e2db46c7c747126e5ab6637e07aef0305c52d71429f41dff47035f95d
6
+ metadata.gz: b1a5d0174bbca7e9d26e8e6a6442c28bc0c743058fa9c8df446de2dbf8adb3f0a3c41359b0b2dd21cf041091ce72c0c520b9132f293ab98026a3043d18f850b5
7
+ data.tar.gz: 8db1664825af8a806fb8b478bbde2c704221aeb128fad6aaaddf235eb5f5bb1b5a29395cbebc2c7fd06f1beed9856029b90b505a5cd0023ab5e70b3db54c06ba
@@ -1,4 +1,3 @@
1
1
  @import "radius-theme/app";
2
- @import "radius-theme/masquerade";
3
2
  @import "overrides/theme_extensions";
4
3
 
@@ -13,19 +13,6 @@ module RadiusHelper
13
13
  end
14
14
  end
15
15
 
16
- def masquerading?
17
- #session[:admin_user_id]
18
- cookies[:_radius_user_masquerade] && current_user
19
- end
20
-
21
- def end_masquerade_path
22
- if respond_to?(:masquerade_destroy_path)
23
- masquerade_destroy_path
24
- else
25
- "#{kracken_url}/admin/masquerade/destroy"
26
- end
27
- end
28
-
29
16
  def signout_user_path
30
17
  if respond_to?(:destroy_user_session_path)
31
18
  destroy_user_session_path
@@ -1,5 +1,5 @@
1
1
  module Radius
2
2
  module Rails
3
- VERSION = "4.0.1"
3
+ VERSION = "5.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radius-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Sexton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-29 00:00:00.000000000 Z
11
+ date: 2025-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -3328,7 +3328,6 @@ files:
3328
3328
  - app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_text-emphasis.scss
3329
3329
  - app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_text-overflow.scss
3330
3330
  - app/assets/stylesheets/radius-theme/bootstrap/bootstrap/mixins/_vendor-prefixes.scss
3331
- - app/assets/stylesheets/radius-theme/masquerade.scss
3332
3331
  - app/assets/stylesheets/radius-theme/themes/theme-a.scss
3333
3332
  - app/assets/stylesheets/radius-theme/themes/theme-b.scss
3334
3333
  - app/assets/stylesheets/radius-theme/themes/theme-c.scss
@@ -3342,7 +3341,6 @@ files:
3342
3341
  - app/helpers/icon_helper.rb
3343
3342
  - app/helpers/radius_helper.rb
3344
3343
  - app/views/radius/_environment_ribbon.html.erb
3345
- - app/views/radius/_masquerade_bar.html.erb
3346
3344
  - app/views/radius/_topnavbar.html.erb
3347
3345
  - app/views/radius/forms/_form_errors.html.slim
3348
3346
  - lib/radius-rails.rb
@@ -1,12 +0,0 @@
1
- #masquerade {
2
- text-align: center;
3
- background: #7A7A7A;
4
- background-image: repeating-linear-gradient(45deg, #c52f24 0px, #c52f24 25px, #d8362a 25px, #d8362a 50px, #c52f24 50px);
5
- color: white;
6
- font-size: 12px;
7
- padding: 4px;
8
- a {
9
- color: white;
10
- text-decoration: underline;
11
- }
12
- }
@@ -1,9 +0,0 @@
1
- <% if masquerading? %>
2
- <div id="masquerade">
3
- <div>
4
- Masquerading as <%=current_user.name %> &lt;<%=current_user.email %>&gt;
5
- <%= link_to "Sign Out", end_masquerade_path %>
6
- </div>
7
- </div>
8
- <% end %>
9
-