mission_control-jobs 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -1
- data/app/assets/stylesheets/mission_control/jobs/bulma.min.css +3 -0
- data/app/assets/stylesheets/mission_control/jobs/jobs.css +1 -1
- data/app/controllers/mission_control/jobs/application_controller.rb +8 -0
- data/app/controllers/mission_control/jobs/discards_controller.rb +1 -1
- data/app/controllers/mission_control/jobs/dispatches_controller.rb +9 -4
- data/app/controllers/mission_control/jobs/jobs_controller.rb +0 -1
- data/app/controllers/mission_control/jobs/recurring_tasks_controller.rb +16 -1
- data/app/helpers/mission_control/jobs/jobs_helper.rb +10 -5
- data/app/models/mission_control/jobs/recurring_task.rb +8 -0
- data/app/views/layouts/mission_control/jobs/application.html.erb +2 -1
- data/app/views/mission_control/jobs/jobs/_general_information.html.erb +11 -0
- data/app/views/mission_control/jobs/jobs/blocked/_actions.html.erb +1 -1
- data/app/views/mission_control/jobs/jobs/blocked/_job.html.erb +3 -2
- data/app/views/mission_control/jobs/jobs/scheduled/_actions.html.erb +1 -0
- data/app/views/mission_control/jobs/recurring_tasks/_actions.html.erb +5 -0
- data/app/views/mission_control/jobs/recurring_tasks/_recurring_task.html.erb +3 -0
- data/app/views/mission_control/jobs/recurring_tasks/_title.html.erb +3 -0
- data/app/views/mission_control/jobs/recurring_tasks/index.html.erb +3 -2
- data/config/routes.rb +1 -1
- data/lib/active_job/executing.rb +1 -1
- data/lib/active_job/jobs_relation.rb +5 -0
- data/lib/active_job/queue_adapters/solid_queue_ext/recurring_tasks.rb +12 -0
- data/lib/active_job/queue_adapters/solid_queue_ext.rb +7 -3
- data/lib/mission_control/jobs/engine.rb +8 -0
- data/lib/mission_control/jobs/version.rb +1 -1
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90d1d2bb94c81934c6d0f2c366b76ba9d9ee778c90a4ca0385515ea7b84d658f
|
4
|
+
data.tar.gz: 51f7c76c6de7a39cc18e5b813a7d84ae18c94e9cd25487c0f16cb94e650d2319
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69e67bae39f22105acac0e10b9c52452fb453acc6e52e868746875f9daa75cd5556eadfca06db76eecb70e6c634dfdc1ecc217cc001d726da9b93bd9606b7ebe
|
7
|
+
data.tar.gz: ab9c390dfd70c8b196ee3e6c1e5c07821299c2b23fd733a62c39d7b01cab3350f53c17ae9c9bdf5aaad9becf8b50b55dfd34b555b30500585373f901296e7717
|
data/README.md
CHANGED
@@ -30,6 +30,20 @@ And that's it. With this alone, you should be able to access Mission Control Job
|
|
30
30
|
|
31
31
|
![Failed jobs tab in a simple app](docs/images/failed-jobs-simple.png)
|
32
32
|
|
33
|
+
### API-only apps or apps using `vite_rails` and other asset pipelines outside Rails
|
34
|
+
|
35
|
+
If you want to use this gem with an [API-only Rails app](https://guides.rubyonrails.org/api_app.html) or an app that's using `vite_ruby`/`vite_rails`, or some other custom asset pipeline different from Sprockets and Propshaft, you need just one more thing: configure an asset pipeline so you can serve the JavaScript and CSS included in this gem. We recommend to use [`Propshaft`](https://github.com/rails/propshaft). You simply need to add this line to your application's Gemfile:
|
36
|
+
|
37
|
+
```ruby
|
38
|
+
gem "propshaft"
|
39
|
+
```
|
40
|
+
|
41
|
+
Then execute
|
42
|
+
```bash
|
43
|
+
$ bundle install
|
44
|
+
```
|
45
|
+
|
46
|
+
And you should be ready to go.
|
33
47
|
|
34
48
|
### Authentication and base controller class
|
35
49
|
|
@@ -66,7 +80,7 @@ This library extends Active Job with a querying interface and the following sett
|
|
66
80
|
## Adapter Specifics
|
67
81
|
|
68
82
|
- **Resque**: Queue pausing is supported only if you have `resque-pause` installed in your project
|
69
|
-
- **Solid Queue**: Requires version >= 0.
|
83
|
+
- **Solid Queue**: Requires version >= 1.0.1.
|
70
84
|
|
71
85
|
## Advanced configuration
|
72
86
|
|