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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f8024e8a6ede6f16c3ab5a900c19e0aa736a703ac36d6668287b2a27ec61928
4
- data.tar.gz: 7d63c841f85f811124902d077989ea5bc683923258048164f10d85f79ca41b06
3
+ metadata.gz: bc46e88e501287e0a5cc68e2955f02bdbc57846ddb57d857c9bb4a059d7b575e
4
+ data.tar.gz: 2c0975de9ae802db081741d997486478203fd53664a099711842fbf5ce94054b
5
5
  SHA512:
6
- metadata.gz: 836af65fff974d2ec9b16166a72e0203f41eb7a3b59cee6054bd32b53fb7e1980b6e9f4295586731a54ab20c20d5205ba4a91687cdfe68c01d269d979d74bbd3
7
- data.tar.gz: d4195a3e2c67eeb856e6374d0d9386af87001fa730708ba578b3f3a92ee7a15b26fd3965df6597f91680ce660744d1642f2cb1b931937e3bdc609229fe905e93
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!
@@ -1,5 +1,5 @@
1
1
  module Strongmind
2
2
  module Auth
3
- VERSION = "1.0.13"
3
+ VERSION = "1.0.14"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Belding