thecore_backend_commons 3.0.3 → 3.0.5
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: 6c1cfad3c1fb497d61bd61d3af9e43cc19495f3596251155190d2c6146be7286
|
4
|
+
data.tar.gz: 10c9e14880b8f21c1da6363fe96b8a8555779de19593c178f66413eddc9734a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af1e124dcf5ff5674febf7d827db80be4120a9309012894204434de211accb66d183c30386d60dcb1697fc12f56f1db37b83ffc35c2fb6ac1e8ed3715179113c
|
7
|
+
data.tar.gz: b5ad464830850b9f771e0232027e5f8b7ad4df20f464b6a3a2a4df31b2a1a3f5f0260640f430b42308bd503141bfa196993e6d2806e34cc4f690f3f4b594013a
|
@@ -1,13 +1,12 @@
|
|
1
1
|
Rails.application.configure do
|
2
|
+
# Session Store
|
3
|
+
config.session_store :cookie_store, expire_after: 1.year, domain: ".#{ENV["BASE_DOMAIN"].presence || "all"}"
|
2
4
|
# I18n
|
3
5
|
config.i18n.available_locales = %w(it en)
|
4
6
|
config.i18n.default_locale = :it
|
5
7
|
config.time_zone = 'Rome'
|
6
8
|
# Active Storage
|
7
|
-
config.active_storage.configure(
|
8
|
-
:Disk,
|
9
|
-
root: Rails.root.join("storage")
|
10
|
-
)
|
9
|
+
config.active_storage.configure :Disk, root: Rails.root.join("storage")
|
11
10
|
|
12
11
|
# ActionMailer
|
13
12
|
config.action_mailer.delivery_method = :smtp
|
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: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_auth_commons
|
@@ -122,8 +122,6 @@ 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/new_framework_defaults_6_1.rb
|
126
|
-
- config/initializers/session_store.rb
|
127
125
|
- config/initializers/thecore_backend_commons_app_archetypes.rb
|
128
126
|
- config/initializers/thecore_backend_commons_app_configs.rb
|
129
127
|
- config/locales/en.devise.custom.yml
|
@@ -1,67 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
#
|
3
|
-
# This file contains migration options to ease your Rails 6.1 upgrade.
|
4
|
-
#
|
5
|
-
# Once upgraded flip defaults one by one to migrate to the new default.
|
6
|
-
#
|
7
|
-
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
8
|
-
|
9
|
-
# Support for inversing belongs_to -> has_many Active Record associations.
|
10
|
-
# Rails.application.config.active_record.has_many_inversing = true
|
11
|
-
|
12
|
-
# Track Active Storage variants in the database.
|
13
|
-
# Rails.application.config.active_storage.track_variants = true
|
14
|
-
|
15
|
-
# Apply random variation to the delay when retrying failed jobs.
|
16
|
-
# Rails.application.config.active_job.retry_jitter = 0.15
|
17
|
-
|
18
|
-
# Stop executing `after_enqueue`/`after_perform` callbacks if
|
19
|
-
# `before_enqueue`/`before_perform` respectively halts with `throw :abort`.
|
20
|
-
# Rails.application.config.active_job.skip_after_callbacks_if_terminated = true
|
21
|
-
|
22
|
-
# Specify cookies SameSite protection level: either :none, :lax, or :strict.
|
23
|
-
#
|
24
|
-
# This change is not backwards compatible with earlier Rails versions.
|
25
|
-
# It's best enabled when your entire app is migrated and stable on 6.1.
|
26
|
-
# Rails.application.config.action_dispatch.cookies_same_site_protection = :lax
|
27
|
-
|
28
|
-
# Generate CSRF tokens that are encoded in URL-safe Base64.
|
29
|
-
#
|
30
|
-
# This change is not backwards compatible with earlier Rails versions.
|
31
|
-
# It's best enabled when your entire app is migrated and stable on 6.1.
|
32
|
-
# Rails.application.config.action_controller.urlsafe_csrf_tokens = true
|
33
|
-
|
34
|
-
# Specify whether `ActiveSupport::TimeZone.utc_to_local` returns a time with an
|
35
|
-
# UTC offset or a UTC time.
|
36
|
-
# ActiveSupport.utc_to_local_returns_utc_offset_times = true
|
37
|
-
|
38
|
-
# Change the default HTTP status code to `308` when redirecting non-GET/HEAD
|
39
|
-
# requests to HTTPS in `ActionDispatch::SSL` middleware.
|
40
|
-
# Rails.application.config.action_dispatch.ssl_default_redirect_status = 308
|
41
|
-
|
42
|
-
# Use new connection handling API. For most applications this won't have any
|
43
|
-
# effect. For applications using multiple databases, this new API provides
|
44
|
-
# support for granular connection swapping.
|
45
|
-
# Rails.application.config.active_record.legacy_connection_handling = false
|
46
|
-
|
47
|
-
# Make `form_with` generate non-remote forms by default.
|
48
|
-
# Rails.application.config.action_view.form_with_generates_remote_forms = false
|
49
|
-
|
50
|
-
# Set the default queue name for the analysis job to the queue adapter default.
|
51
|
-
# Rails.application.config.active_storage.queues.analysis = nil
|
52
|
-
|
53
|
-
# Set the default queue name for the purge job to the queue adapter default.
|
54
|
-
# Rails.application.config.active_storage.queues.purge = nil
|
55
|
-
|
56
|
-
# Set the default queue name for the incineration job to the queue adapter default.
|
57
|
-
# Rails.application.config.action_mailbox.queues.incineration = nil
|
58
|
-
|
59
|
-
# Set the default queue name for the routing job to the queue adapter default.
|
60
|
-
# Rails.application.config.action_mailbox.queues.routing = nil
|
61
|
-
|
62
|
-
# Set the default queue name for the mail deliver job to the queue adapter default.
|
63
|
-
# Rails.application.config.action_mailer.deliver_later_queue_name = nil
|
64
|
-
|
65
|
-
# Generate a `Link` header that gives a hint to modern browsers about
|
66
|
-
# preloading assets when using `javascript_include_tag` and `stylesheet_link_tag`.
|
67
|
-
# Rails.application.config.action_view.preload_links_header = true
|
@@ -1,9 +0,0 @@
|
|
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
|
-
# }
|