openstax_utilities 4.5.0 → 4.5.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23e87d67c828892be99027a2ab746eb1399cbf8a806705fa985e462d9d42d7fd
|
4
|
+
data.tar.gz: 25567a40d96ad15ebb84d0d9a2f8902bc3d702a2248ea1ce0e72274f56489355
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cb88e2b59504aa7eadea2a6fad09fc6b1e33250c790781ca99a953218c0a4e2192207279c4a0d9a3153d0d1532eac31ce4c4e7fe96363c3ea2be797dcb9b6c5
|
7
|
+
data.tar.gz: d7da39d27d6f853a6d92c19d79011b742b4e5e3429b7ebbbcb5fa6e321484265df3339c12299f8c92f0a327470b7cbc76b62903286d581a4d65543386548b3b1
|
@@ -12,7 +12,8 @@ class OpenStax::Utilities::StatusController < ActionController::Base
|
|
12
12
|
@statuses = if @environment_name == 'development'
|
13
13
|
[ [ 'local', 1, 1, :ok ] ]
|
14
14
|
else
|
15
|
-
queues =
|
15
|
+
queues = Module.const_defined?(:Delayed) && Delayed.const_defined?(:Worker) ?
|
16
|
+
Delayed::Worker.queue_attributes.keys.map(&:to_s) - [ 'migration' ] : []
|
16
17
|
asgs = [ 'migration', 'web', 'cron', 'background' ] + queues.map do |queue|
|
17
18
|
"background-#{queue}"
|
18
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstax_utilities
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.5.
|
4
|
+
version: 4.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Slavinsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|