thecore_background_jobs 2.1.0 → 2.1.1

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: 79100472262d757000844d14246c1d1ea161443abbc4079c3e7b109235ddfdeb
4
- data.tar.gz: fd4bcbe11df64eacec37ba6d6a980ee8f07eee2c17f686f4213ddab085e11625
3
+ metadata.gz: feb6c6d0e4602072c64355f3869c7f77c8eba1920f7267a88cdecf015fe9bb6b
4
+ data.tar.gz: f1781ef19c59b1c8d74e84fb7e6e99149aa9bf3a3271ba02e99941ff5c608103
5
5
  SHA512:
6
- metadata.gz: 668d2e1427fc4dfef65a7bfee5c62c81678d953db32d009cbf4390d2e80f379f437c4cc420053580e697b8e37d2257d83e7d28e689863ae40c23add96311a07a
7
- data.tar.gz: '02482fb14a3676605043b178a0f2b66918997145abcb328d3b420160af136a2fe9c0001b4daaacb7ee00c8f1792b8e7e385e47c3330b8ff122e7aa94f552ce5b'
6
+ metadata.gz: 60cfc2fb29d58664dd70fde1511903dbff5daed0fadaea29e6a0ceb3ff7c015cf6ffff49f38ae854e34aeddf6703143fa92c2b73d3513a7f40922131e47499db
7
+ data.tar.gz: 461caa46a1182c64697a0c2b118dfd1da6d8b8d0a5124efa8f5233b19cf2afe8083479c805fae7a9c5aefbd48cfcd16eb46a7b1c76b27943f947aff1b7599533
@@ -0,0 +1,10 @@
1
+ require 'sidekiq'
2
+
3
+ current_db = rand(1..15)
4
+
5
+ Sidekiq.configure_server do |config|
6
+ config.redis = { :namespace => "#{ENV['COMPOSE_PROJECT_NAME'] || 'notset'}", :url => "#{ENV['REDIS_URL']}/#{current_db}" }
7
+ end
8
+ Sidekiq.configure_client do |config|
9
+ config.redis = { :namespace => "#{ENV['COMPOSE_PROJECT_NAME'] || 'notset'}", :url => "#{ENV['REDIS_URL']}/#{current_db}" }
10
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_background_jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
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-09-21 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_backend_commons
@@ -77,6 +77,7 @@ files:
77
77
  - README.md
78
78
  - Rakefile
79
79
  - app/workers/demo_worker.rb
80
+ - config/initializers/sidekiq-thecore.rb
80
81
  - config/routes.rb
81
82
  - lib/admin_constraint.rb
82
83
  - lib/tasks/thecore_background_jobs_tasks.rake