sidekiq-enqueuer 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 533cdbdf3cf924f52cfe598d5440b8744a1204b8
|
|
4
|
+
data.tar.gz: 4ad9941903fab2212f6e4dbb8c6ae4e57b641c53
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d245690feb19e6696a441dfc868504fe0d64b39d9080042e6866c7d763e979193516fe9fa048ee66048aa0919265bd5ec8815e928a5241c1108d529aa1239988
|
|
7
|
+
data.tar.gz: ee0502387fd95433762152fe4e16bbcfdbfa6d07b2b3151000082dcedd4c27e22f3f71915e1f00b90eb24487b29ecaf7352d0b474b1f2a4f6bd9b03dbf47521f
|
|
@@ -29,7 +29,7 @@ module Sidekiq
|
|
|
29
29
|
rails_eager_load
|
|
30
30
|
all_jobs = []
|
|
31
31
|
all_jobs << sidekiq_jobs
|
|
32
|
-
all_jobs << active_jobs
|
|
32
|
+
all_jobs << active_jobs if defined?(::ActiveJob)
|
|
33
33
|
all_jobs = all_jobs.flatten
|
|
34
34
|
all_jobs.delete_if { |klass| IGNORED_CLASSES.include?(klass.to_s) }
|
|
35
35
|
end
|
|
@@ -44,7 +44,7 @@ module Sidekiq
|
|
|
44
44
|
|
|
45
45
|
# Load all classes from the included application before selecting Jobs from it
|
|
46
46
|
def rails_eager_load
|
|
47
|
-
::Rails.application.eager_load! if defined?(::Rails) && !::Rails.env.production?
|
|
47
|
+
::Rails.application.eager_load! if defined?(::Rails) && ::Rails.respond_to?(:env) && !::Rails.env.production?
|
|
48
48
|
end
|
|
49
49
|
end
|
|
50
50
|
end
|
|
@@ -14,11 +14,9 @@
|
|
|
14
14
|
<td width="40%"><%= job.name %></td>
|
|
15
15
|
<td width="40%"><%= job.params.map(&:name).join(', ') %></td>
|
|
16
16
|
<td width="20%">
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
</a>
|
|
21
|
-
</button>
|
|
17
|
+
<a class="btn btn-danger btn-xs" href="<%= root_path %>enqueuer/<%= job.name %>" style="color: white;">
|
|
18
|
+
Enqueue Form
|
|
19
|
+
</a>
|
|
22
20
|
</td>
|
|
23
21
|
</tr>
|
|
24
22
|
<% end %>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sidekiq-enqueuer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- richfisher
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-11-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
145
145
|
version: '0'
|
|
146
146
|
requirements: []
|
|
147
147
|
rubyforge_project:
|
|
148
|
-
rubygems_version: 2.
|
|
148
|
+
rubygems_version: 2.6.14
|
|
149
149
|
signing_key:
|
|
150
150
|
specification_version: 4
|
|
151
151
|
summary: A Sidekiq Web extension to enqueue/schedule jobs with custom perform params
|