thecore_background_jobs 2.0.5 → 2.0.9
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: d15f75061e005335d22fa8ccf45f60f342b881ec8834e27e5ce208159b103749
|
4
|
+
data.tar.gz: 8212131f7a02e28606db02424306b2b119c3e250007914e7a32d70434e9d4fc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5d1f6f6e5a7082528e062f7d17eea9b147ba797402c5aa32fa0ae42974e3cace42b88270aec29deab5ea54286b0834e97b95729c6511ada3835402a20b29ee5
|
7
|
+
data.tar.gz: db34286930fcd1c8ca701cf9695d82d203e97de64a10a361f2264a7e7aab36739ee87f89bc9c49f32eb1d01603e3fe05da8084db5e1c6ab12788a334acba1aa9
|
data/config/routes.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Rails.application.routes.draw do
|
2
2
|
require 'sidekiq/web'
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
|
4
|
+
# Allow any authenticated User with admin capability
|
5
|
+
authenticate :user, lambda { |u| u.admin? } do
|
6
|
+
mount Sidekiq::Web => '/sidekiq'
|
6
7
|
end
|
7
|
-
# mount Sidekiq::Web => '/sidekiq', :constraints => AdminConstraint.new
|
8
8
|
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.
|
4
|
+
version: 2.0.9
|
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-
|
11
|
+
date: 2021-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_backend_commons
|
@@ -77,9 +77,7 @@ files:
|
|
77
77
|
- README.md
|
78
78
|
- Rakefile
|
79
79
|
- app/workers/demo_worker.rb
|
80
|
-
- config/initializers/sidekiq.rb
|
81
80
|
- config/routes.rb
|
82
|
-
- db/migrate/20210212112409_sidekiq_redis_url.rb
|
83
81
|
- lib/admin_constraint.rb
|
84
82
|
- lib/tasks/thecore_background_jobs_tasks.rake
|
85
83
|
- lib/thecore_background_jobs.rb
|
@@ -104,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
102
|
- !ruby/object:Gem::Version
|
105
103
|
version: '0'
|
106
104
|
requirements: []
|
107
|
-
rubygems_version: 3.0.3
|
105
|
+
rubygems_version: 3.0.3.1
|
108
106
|
signing_key:
|
109
107
|
specification_version: 4
|
110
108
|
summary: Thecorized thecore_background_jobs
|