strongmind-auth 1.0.13 → 1.0.14
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 +4 -4
- data/lib/generators/strongmind/install_generator.rb +3 -0
- data/lib/strongmind/auth/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc46e88e501287e0a5cc68e2955f02bdbc57846ddb57d857c9bb4a059d7b575e
|
|
4
|
+
data.tar.gz: 2c0975de9ae802db081741d997486478203fd53664a099711842fbf5ce94054b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ed12a69efd46d42d554b2f1943de7c4915889a24b4aa589acf9649fab081c429bd0e9b0e655c027f3f7921df3da25cdafbae82b7887ed765b33d967f1eec0f7
|
|
7
|
+
data.tar.gz: a0a0d134a2ec866ca987498cb10c766f9b746c60dcf852d028cec7cd70b7b326e2c5a3642fde99fcfac7c20d397c609a3ff8e686c756d7e7018ddc6a2620696b
|
|
@@ -12,6 +12,9 @@ module Strongmind
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
def protect_app_files_and_add_nav
|
|
15
|
+
inject_into_file "app/controllers/application_controller.rb", before: "class ApplicationController < ActionController::Base\n" do
|
|
16
|
+
"require \"strongmind/exceptions\"\n\n"
|
|
17
|
+
end
|
|
15
18
|
inject_into_file "app/controllers/application_controller.rb", after: "class ApplicationController < ActionController::Base\n" do
|
|
16
19
|
" include StrongMindNav
|
|
17
20
|
before_action :authenticate_user!
|