thecore_backend_commons 3.6.0 → 3.7.0

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: f6ec05c4d8a628a806dea48ae8df9448d8292c0cabfc24e527b6134f947ad70b
4
- data.tar.gz: ade58f1987fc9036d1177ec8aa13f66556b398fb382c5a361598160354319f03
3
+ metadata.gz: 82db8e6c6b82cca8191867896dff88204e7fee3d3c9630a2479ba01d217da73f
4
+ data.tar.gz: 1f86cbae0d9a88ea2d9c11547a241523b428d561ce0284779511b6cb7259fa1a
5
5
  SHA512:
6
- metadata.gz: cc964bdd0ddaed6a82194249ae4ae43021488ffde211f64148e1345915301d9751cb5a52f10a4bd6193dfafb80cddbb43e2e9686bed0dbd99c89cabeb589d2d9
7
- data.tar.gz: 4477a604d9a15b2e2c82cd52d66335cabff4792f5571fd06ab78833eb2a3318a59fdfebd195369c2a0d61ee18a08547fdc2f3fe0ac713329ccda965e600e0285
6
+ metadata.gz: d2e8cfc24547a64c22ece5deb69850716462ff57354563a2ad5356dbd3ef7cfc062eeb5221363560dda8bbb7f7c6d620715dc464474ba92a7d52536ee01384c0
7
+ data.tar.gz: aaf01c35547236f4fce81905966d44d70a6eea017bace4336e1a47fcdd4be5063a83a929354996434eee945c8c25224aee28b8a779ed89b86643e5c9afb42182
@@ -7,3 +7,11 @@ Rails.application.config.active_storage.routes_prefix = ENV.fetch("RAILS_RELATIV
7
7
  Rails.application.config.action_mailer.delivery_method = :smtp
8
8
 
9
9
  Rails.application.config.action_cable.allowed_request_origins = [/http:\/\/*/, /https:\/\/*/, /file:\/\/*/, 'file://', nil]
10
+
11
+ # Every Thecore app ships a dedicated Sidekiq worker service alongside the web backend (see
12
+ # thecore_devcontainer's docker-compose.yml) — this gem already hard-requires the sidekiq gems
13
+ # and mounts Sidekiq::Web unconditionally (thecore_background_jobs), so ActiveJob should actually
14
+ # route through it rather than defaulting to Rails' in-process :async, which silently drops any
15
+ # job in flight when its process restarts. Production only: :async remains the default in
16
+ # development/test so neither requires a reachable Redis. See docs/adr/0001, CONTEXT.md.
17
+ Rails.application.config.active_job.queue_adapter = :sidekiq if Rails.env.production?
@@ -1,3 +1,3 @@
1
1
  module ThecoreBackendCommons
2
- VERSION = "3.6.0".freeze
2
+ VERSION = "3.7.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_backend_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.0
4
+ version: 3.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni