thecore_background_jobs 2.0.0 → 2.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: 243fe5c5042749e39548844934206fa1982065bd002f2ad34b128e5ad227d7ed
4
- data.tar.gz: 551275998602f5b4bfe0830313004c3bf8cef2d66121a88754cd947d2e45ed70
3
+ metadata.gz: 6566e9fc1d78619c5890ac0f378e7bbc6a2c588eee9cb8585eff44a95ad38ab6
4
+ data.tar.gz: 8987436af33c21aae94cf9e915fc9815d062ada6ca8c995412f74726f0b4f4c3
5
5
  SHA512:
6
- metadata.gz: c47326dad3b79b3f19dfb607b3debe75bb517dce948b9b114102843858c479f2a97dcc044e78bbe32df24d2eae2c6816bfb670ea1a3ba5cd5085f5abed393abe
7
- data.tar.gz: 362cb8eeb6c378be7e1790082a32bb8b3f746f06edb370a01c930d691ef7906fb67227fad96269261d94c58b1244f1afa76a4e0fcb2fcd8ea19a22865b05d4a2
6
+ metadata.gz: e71e3b4c1ebeca07160c95983e16ad223e5dc18d402250a853d79946244a52839137ba2ffcf002d1a23597ac8783cef0708f6355431fce30448d0d7cf160f944
7
+ data.tar.gz: b98faa873d97f6998ab14e5406fae75f715683ab60ea550369f07939880e5d4f1307bc00126cca151d19110dfebd3297611f2b27ae95f17bdff19a9e96072565
@@ -0,0 +1,9 @@
1
+ require 'rails_admin_settings'
2
+
3
+ Sidekiq.configure_server do |config|
4
+ config.redis = { url: Settings.ns(:sidekiq).redis_url }
5
+ end
6
+
7
+ Sidekiq.configure_client do |config|
8
+ config.redis = { url: Settings.ns(:sidekiq).redis_url }
9
+ 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
@@ -1,3 +1,3 @@
1
1
  module ThecoreBackgroundJobs
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = "#{`git describe --tags $(git rev-list --tags --max-count=1)`}"
3
3
  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.0
4
+ version: 2.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: 2020-05-29 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
@@ -102,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
104
  - !ruby/object:Gem::Version
103
105
  version: '0'
104
106
  requirements: []
105
- rubygems_version: 3.1.2
107
+ rubygems_version: 3.0.3
106
108
  signing_key:
107
109
  specification_version: 4
108
110
  summary: Thecorized thecore_background_jobs