thecore_backend_commons 2.3.7 → 2.4.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a5898c5ad05a5670c1019f14d29998378b71d653266ff04ad8d524b381d7c6e
|
4
|
+
data.tar.gz: 1d9a36cf0d5ddb19d7c4b3746b608fde574b828a4de2f230d7717a6447a2780e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ee8e9252e1f257b01607401025da9ad4dd3928f5e7a70299284873af7a8e8f1767d8aca5da6c2e9792a329d4b7d04dc3cb4c79401fcc7da0200afd14cf773e9
|
7
|
+
data.tar.gz: afef0a21cbf27e3c8f01802ce2935018ce7823fe23c91f02d4b00c46136bf7381a724e0d2df92a6e0423f2c00bb827c91d66b569359eb02d65537e5fde30543a
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Rails.application.config.session_store :cookie_store, {
|
2
|
+
# :key => "_#{ENV["COMPOSE_PROJECT_NAME"].presence || "localhost"}_session",
|
3
|
+
# :domain => :all,
|
4
|
+
# :same_site => :none,
|
5
|
+
# :secure => :true,
|
6
|
+
# :compress => true,
|
7
|
+
# :pool_size => 10,
|
8
|
+
# :expire_after => 1.year
|
9
|
+
# }
|
data/db/seeds.rb
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
puts "Loading ThecoreBackendCommons seeds"
|
2
|
-
|
2
|
+
Thecore::Seed.save_setting :main, :app_name, "The Core by Gabriele Tassoni"
|
3
3
|
|
4
|
-
|
5
|
-
Thecore::Seed.save_setting :smtp, :
|
6
|
-
Thecore::Seed.save_setting :smtp, :
|
7
|
-
Thecore::Seed.save_setting :smtp, :
|
8
|
-
Thecore::Seed.save_setting :smtp, :
|
9
|
-
Thecore::Seed.save_setting :smtp, :
|
10
|
-
Thecore::Seed.save_setting :smtp, :
|
11
|
-
Thecore::Seed.save_setting :smtp, :
|
12
|
-
Thecore::Seed.save_setting :smtp, :
|
4
|
+
puts "Loading ThecoreBackendCommons SMTP config"
|
5
|
+
Thecore::Seed.save_setting :smtp, :delivery_method, ""
|
6
|
+
Thecore::Seed.save_setting :smtp, :from, ""
|
7
|
+
Thecore::Seed.save_setting :smtp, :address, ""
|
8
|
+
Thecore::Seed.save_setting :smtp, :port, ""
|
9
|
+
Thecore::Seed.save_setting :smtp, :domain, ""
|
10
|
+
Thecore::Seed.save_setting :smtp, :user_name, ""
|
11
|
+
Thecore::Seed.save_setting :smtp, :password, ""
|
12
|
+
Thecore::Seed.save_setting :smtp, :authentication, ""
|
13
|
+
Thecore::Seed.save_setting :smtp, :enable_starttls_auto, ""
|
@@ -5,7 +5,6 @@ require 'rails-i18n'
|
|
5
5
|
require 'thecore_settings'
|
6
6
|
|
7
7
|
require 'patches/thecore'
|
8
|
-
require 'concerns/thecore_backend_commons_user'
|
9
8
|
|
10
9
|
require 'roo'
|
11
10
|
require 'roo-xls'
|
@@ -19,7 +18,11 @@ end
|
|
19
18
|
module Thecore
|
20
19
|
class Seed
|
21
20
|
def self.save_setting ns, setting, value
|
22
|
-
|
21
|
+
puts "Saving setting if nil #{ns}: #{setting} = #{value}"
|
22
|
+
if Settings.ns(ns)[setting].blank?
|
23
|
+
Settings.ns(ns)[setting] if value.blank?
|
24
|
+
Settings.ns(ns)[setting] = value unless value.blank?
|
25
|
+
end
|
23
26
|
end
|
24
27
|
end
|
25
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_backend_commons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_auth_commons
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.4'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2.
|
26
|
+
version: '2.4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails-i18n
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,13 +122,13 @@ files:
|
|
122
122
|
- app/assets/config/thecore_backend_commons_manifest.js
|
123
123
|
- app/jobs/application_job.rb
|
124
124
|
- app/mailers/application_mailer.rb
|
125
|
+
- config/initializers/session_store.rb
|
125
126
|
- config/initializers/thecore_backend_commons_app_archetypes.rb
|
126
127
|
- config/initializers/thecore_backend_commons_app_configs.rb
|
127
128
|
- config/locales/en.devise.custom.yml
|
128
129
|
- config/locales/it.devise.custom.yml
|
129
130
|
- config/routes.rb
|
130
131
|
- db/seeds.rb
|
131
|
-
- lib/concerns/thecore_backend_commons_user.rb
|
132
132
|
- lib/patches/active_record_extensions.rb
|
133
133
|
- lib/patches/application_record_loader.rb
|
134
134
|
- lib/patches/date_format.rb
|