thecore_background_jobs 2.0.3 → 2.0.4

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: 4a2328b93d0be36b133d6702117aa136cbf95b84e7623edf9e5535582b5115b2
4
- data.tar.gz: 8a486dda92275081f50a48ee3ff57bff3501581929acbcddf25e3fb425b6e04b
3
+ metadata.gz: e3b8aa47092c080578374e233a6313a03121876b7b1ba33c99e4698e8b874fe3
4
+ data.tar.gz: bf8daf693be345f4733a046ceb7e218eceabe1818202b04b4168d57d3a8a9379
5
5
  SHA512:
6
- metadata.gz: 453b0d9e3d245b9b53a14b31a59c014f54bdeef4e522f18a126e82ba2908bdeffda8ea71ad491a70558aaeebf27473b19419b86113dc2177ed49587736df5a5e
7
- data.tar.gz: fe29fc3aa9afee9b34ee5579abb217cd3d20e38f6f1af1dc70f17bf0fd00c86397f252eb8ea43a3ad0f2516a651152da7976269f236a20bdca0848ab52d859fd
6
+ metadata.gz: 6f0b4aa80001542db8440902ea5f5241a49d8420bf67f544862625e5bf464763e9c920380ea96566a17b2b4f6a23d1bd3508748532423dfe25c7d5d860ca3ea3
7
+ data.tar.gz: bdc378ce9030b50be2484ad051fcf5be563486019e5b5be4b059a79c6ea6ec91da36486ccc1147bc6f714b8dc2efed8d13c40d2bd2163edf6dc91435fb02f14f
@@ -0,0 +1,7 @@
1
+ Sidekiq.configure_server do |config|
2
+ config.redis = { url: Settings.ns(:sidekiq).redis_url }
3
+ end
4
+
5
+ Sidekiq.configure_client do |config|
6
+ config.redis = { url: Settings.ns(:sidekiq).redis_url }
7
+ end
@@ -0,0 +1,5 @@
1
+ class SidekiqRedisUrl < ActiveRecord::Migration[6.0]
2
+ def change
3
+ Settings.ns(:sidekiq).redis_url = 'redis://127.0.0.1:6379/0'
4
+ end
5
+ 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.0.3
4
+ version: 2.0.4
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-01-26 00:00:00.000000000 Z
11
+ date: 2021-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_backend_commons
@@ -77,7 +77,9 @@ files:
77
77
  - README.md
78
78
  - Rakefile
79
79
  - app/workers/demo_worker.rb
80
+ - config/initializers/sidekiq.rb
80
81
  - config/routes.rb
82
+ - db/migrate/20210212112409_sidekiq_redis_url.rb
81
83
  - lib/admin_constraint.rb
82
84
  - lib/tasks/thecore_background_jobs_tasks.rake
83
85
  - lib/thecore_background_jobs.rb