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.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -1
  3. data/app/assets/stylesheets/mission_control/jobs/bulma.min.css +3 -0
  4. data/app/assets/stylesheets/mission_control/jobs/jobs.css +1 -1
  5. data/app/controllers/mission_control/jobs/application_controller.rb +8 -0
  6. data/app/controllers/mission_control/jobs/discards_controller.rb +1 -1
  7. data/app/controllers/mission_control/jobs/dispatches_controller.rb +9 -4
  8. data/app/controllers/mission_control/jobs/jobs_controller.rb +0 -1
  9. data/app/controllers/mission_control/jobs/recurring_tasks_controller.rb +16 -1
  10. data/app/helpers/mission_control/jobs/jobs_helper.rb +10 -5
  11. data/app/models/mission_control/jobs/recurring_task.rb +8 -0
  12. data/app/views/layouts/mission_control/jobs/application.html.erb +2 -1
  13. data/app/views/mission_control/jobs/jobs/_general_information.html.erb +11 -0
  14. data/app/views/mission_control/jobs/jobs/blocked/_actions.html.erb +1 -1
  15. data/app/views/mission_control/jobs/jobs/blocked/_job.html.erb +3 -2
  16. data/app/views/mission_control/jobs/jobs/scheduled/_actions.html.erb +1 -0
  17. data/app/views/mission_control/jobs/recurring_tasks/_actions.html.erb +5 -0
  18. data/app/views/mission_control/jobs/recurring_tasks/_recurring_task.html.erb +3 -0
  19. data/app/views/mission_control/jobs/recurring_tasks/_title.html.erb +3 -0
  20. data/app/views/mission_control/jobs/recurring_tasks/index.html.erb +3 -2
  21. data/config/routes.rb +1 -1
  22. data/lib/active_job/executing.rb +1 -1
  23. data/lib/active_job/jobs_relation.rb +5 -0
  24. data/lib/active_job/queue_adapters/solid_queue_ext/recurring_tasks.rb +12 -0
  25. data/lib/active_job/queue_adapters/solid_queue_ext.rb +7 -3
  26. data/lib/mission_control/jobs/engine.rb +8 -0
  27. data/lib/mission_control/jobs/version.rb +1 -1
  28. metadata +7 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f46c22e66d7fc57d1543dd2fa8863b8b7284019ea4eb47b879a06702c0d89b9
4
- data.tar.gz: b891c7389226107a06ce9c5e53b824b91bf3be55e1d3ffe49a2e6419887f5553
3
+ metadata.gz: 90d1d2bb94c81934c6d0f2c366b76ba9d9ee778c90a4ca0385515ea7b84d658f
4
+ data.tar.gz: 51f7c76c6de7a39cc18e5b813a7d84ae18c94e9cd25487c0f16cb94e650d2319
5
5
  SHA512:
6
- metadata.gz: bfc58d081a8dacd1f1c680284a342d6d078f60992dafb0bc2ba5b90cf80e17fe86a240d2fdc5d987adb15231474542f2fe4a067db77884ce2fe523e598ba6b2a
7
- data.tar.gz: c8dcc5e285e09c4a1b9607633c82565329496fe9d8adab7288a0d39895ac0dc0cb7ffe90ed31d30320c172224659c7a67441bd70c4e4d957c4d643862e955367
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.9.
83
+ - **Solid Queue**: Requires version >= 1.0.1.
70
84
 
71
85
  ## Advanced configuration
72
86