strongmind-auth 1.1.72 → 1.1.73
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/devise.rb +0 -10
- data/lib/generators/strongmind/install_generator.rb +0 -10
- 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: 2671d322d9318a0b88fde814ce8ecfc2061601aedbf589cbb8331909c35f451f
|
4
|
+
data.tar.gz: 6e275ca90f98dfcfb17bcfe444d5d4446fb01b6a2e0516f3bf8d85044322796a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41ac60523b02df968aaa978ac258b2de9566f1f59e4d589899943ebcb4f5b3095a00a4a337eff5d6f16a39d4a632ab6e11bd0150417e021ab3e09339eadf2f0e
|
7
|
+
data.tar.gz: b7c122065a47a7f5e0a63be0fa3330631a0de5bfbcb54c81d10db27cc7e4ebaf4a3ecc737ab57f3db1ea8a26b3810fddbf547d670b610f5b32787de533fba46c
|
@@ -1,15 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# return if defined? Rails::Generators # This line needs to be commented out to allow tailwindcss watch to run linked ticket: https://strongmind.atlassian.net/browse/BEL-2645
|
4
|
-
|
5
|
-
# if Devise is not present in Gemfile
|
6
|
-
unless File.read('Gemfile').include?('devise')
|
7
|
-
`rails g strongmind:install`
|
8
|
-
`rails db:migrate`
|
9
|
-
|
10
|
-
raise "StrongMind Auth and Navigation installed. Please restart your server."
|
11
|
-
end
|
12
|
-
|
13
3
|
# Assuming you have not yet modified this file, each configuration option below
|
14
4
|
# is set to its default value. Note that some are commented out while others
|
15
5
|
# are not: uncommented lines are intended to protect your configuration from
|
@@ -54,16 +54,6 @@ devise_scope :user do
|
|
54
54
|
(Time.now.utc.strftime("%Y%m%d%H%M%S").to_i + 1).to_s
|
55
55
|
end
|
56
56
|
|
57
|
-
def add_devise_gems
|
58
|
-
gem 'devise'
|
59
|
-
gem 'omniauth'
|
60
|
-
gem 'omniauth_openid_connect'
|
61
|
-
gem 'omniauth-rails_csrf_protection'
|
62
|
-
gem 'dotenv-rails'
|
63
|
-
gem 'sentry-rails'
|
64
|
-
|
65
|
-
end
|
66
|
-
|
67
57
|
def add_dotenv_file
|
68
58
|
copy_file "env", ".env"
|
69
59
|
end
|