thecore_backend_commons 2.3.6 → 2.3.7
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: 5ee4ecdbd341f7445539331e8678e7ec1f26926e67a9f4e22aedc024f751b46b
|
4
|
+
data.tar.gz: 939b0f3bc29138f049df4ba054a447028a27d3c3ef44d29743264d45d6816035
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a5772b09a6a0d84bd15311761655212176199c69eaef0ee86ece981338dc7f25404806f113d057c7217077e8fad2a29837637ac5d14e29b40ea227825600a81
|
7
|
+
data.tar.gz: ded97fa05e0ada92cda27203fc6b7fa8ed6cc26d38cb8250a18abcf2cb60396e477fdc470b00e8a8f93ea43e6c6c03330cc5e4ca4d9c605a18a2098e728e6151
|
@@ -8,6 +8,9 @@ Rails.application.configure do
|
|
8
8
|
:Disk,
|
9
9
|
root: Rails.root.join("storage")
|
10
10
|
)
|
11
|
+
|
12
|
+
# ActionMailer
|
13
|
+
config.action_mailer.delivery_method = :smtp
|
11
14
|
# AFTER INITIALIZE Good place to load things that must have a bit of initialization
|
12
15
|
# setup on order to work (and not be overrided).
|
13
16
|
config.after_initialize do
|
data/db/seeds.rb
CHANGED
@@ -1,2 +1,12 @@
|
|
1
1
|
puts "Loading ThecoreBackendCommons seeds"
|
2
2
|
Settings.app_name = "The Core by Gabriele Tassoni"
|
3
|
+
|
4
|
+
Thecore::Seed.save_setting :smtp, :delivery_method, nil
|
5
|
+
Thecore::Seed.save_setting :smtp, :from, nil
|
6
|
+
Thecore::Seed.save_setting :smtp, :address, nil
|
7
|
+
Thecore::Seed.save_setting :smtp, :port, nil
|
8
|
+
Thecore::Seed.save_setting :smtp, :domain, nil
|
9
|
+
Thecore::Seed.save_setting :smtp, :user_name, nil
|
10
|
+
Thecore::Seed.save_setting :smtp, :password, nil
|
11
|
+
Thecore::Seed.save_setting :smtp, :authentication, nil
|
12
|
+
Thecore::Seed.save_setting :smtp, :enable_starttls_auto, nil
|
@@ -15,3 +15,11 @@ require "thecore_backend_commons/engine"
|
|
15
15
|
module ThecoreBackendCommons
|
16
16
|
# Your code goes here...
|
17
17
|
end
|
18
|
+
|
19
|
+
module Thecore
|
20
|
+
class Seed
|
21
|
+
def self.save_setting ns, setting, value
|
22
|
+
Settings.ns(ns)[setting] = value if Settings.ns(ns)[setting].blank?
|
23
|
+
end
|
24
|
+
end
|
25
|
+
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.3.
|
4
|
+
version: 2.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_auth_commons
|
@@ -121,6 +121,8 @@ files:
|
|
121
121
|
- Rakefile
|
122
122
|
- app/assets/config/thecore_backend_commons_manifest.js
|
123
123
|
- app/jobs/application_job.rb
|
124
|
+
- app/mailers/application_mailer.rb
|
125
|
+
- config/initializers/thecore_backend_commons_app_archetypes.rb
|
124
126
|
- config/initializers/thecore_backend_commons_app_configs.rb
|
125
127
|
- config/locales/en.devise.custom.yml
|
126
128
|
- config/locales/it.devise.custom.yml
|