good_job 2.5.0 → 2.6.0

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.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/engine/app/assets/vendor/rails_ujs.js +747 -0
  5. data/engine/app/controllers/good_job/assets_controller.rb +4 -0
  6. data/engine/app/controllers/good_job/cron_entries_controller.rb +19 -0
  7. data/engine/app/filters/good_job/base_filter.rb +6 -5
  8. data/engine/app/filters/good_job/executions_filter.rb +1 -1
  9. data/engine/app/filters/good_job/jobs_filter.rb +1 -1
  10. data/engine/app/views/good_job/cron_entries/index.html.erb +51 -0
  11. data/engine/app/views/good_job/cron_entries/show.html.erb +4 -0
  12. data/engine/app/views/good_job/{shared/_executions_table.erb → executions/_table.erb} +1 -1
  13. data/engine/app/views/good_job/executions/index.html.erb +1 -1
  14. data/engine/app/views/good_job/{shared/_jobs_table.erb → jobs/_table.erb} +3 -3
  15. data/engine/app/views/good_job/jobs/index.html.erb +1 -1
  16. data/engine/app/views/good_job/jobs/show.html.erb +2 -2
  17. data/engine/app/views/good_job/shared/_filter.erb +9 -10
  18. data/engine/app/views/good_job/shared/icons/_play.html.erb +4 -0
  19. data/engine/app/views/layouts/good_job/base.html.erb +2 -1
  20. data/engine/config/routes.rb +8 -1
  21. data/{engine/app/models → lib}/good_job/active_job_job.rb +0 -0
  22. data/lib/good_job/configuration.rb +1 -1
  23. data/lib/good_job/cron_entry.rb +75 -4
  24. data/lib/good_job/cron_manager.rb +1 -5
  25. data/lib/good_job/current_thread.rb +26 -8
  26. data/lib/good_job/execution.rb +15 -13
  27. data/lib/good_job/version.rb +1 -1
  28. metadata +14 -11
  29. data/engine/app/controllers/good_job/cron_schedules_controller.rb +0 -9
  30. data/engine/app/views/good_job/cron_schedules/index.html.erb +0 -72
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a173683ec5e5879728536005c7dfd11827ffe87c268c59315f540911277f2df
4
- data.tar.gz: a5990d902838da25344ff96fc859bad39803f70f888dd95de8e3e6c201da4b0f
3
+ metadata.gz: 9a5722e06395e2296ea815b0b5780b9c6e24f368168e9951de4bd774c50e154c
4
+ data.tar.gz: 5a0c5fdff3baf14dcd6153ecb3103c8b0aea1d73f3ff65018c7f32960704b75f
5
5
  SHA512:
6
- metadata.gz: 92378343ecf6f3750a98ac1e146c748e7440b267fad30ac04eaf984649e5640fad8cfdd58b9c627bb7f7792202a849222ee7ed7583b7ac847f2d15839c25519f
7
- data.tar.gz: f093bda085b00d82210e9bcf02ed6e39fec556aeeaa17c6f73a9465119867833f3145905482a20ec57840ae6bb6fa350f79e64209425cef8db9f45c0b59c4ea0
6
+ metadata.gz: 198cb74f7235861982090467767970685dc2a326b6086030e03697d55c865edb12f28f0e915ef1c1f0d6438495572023d0d59af23071f16ea9262d5c91e53f9c
7
+ data.tar.gz: ea2546a48fdfbed66d016cf52beaed68d5f487a329d37b7c7152eec0b318eb4597887945180a4232a3462588f8ec6ede5558587f29cfefb33406bb5c6465263e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [v2.6.0](https://github.com/bensheldon/good_job/tree/v2.6.0) (2021-10-30)
4
+
5
+ [Full Changelog](https://github.com/bensheldon/good_job/compare/v2.5.0...v2.6.0)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Allow for cron schedules to be expressed using fugit natural language parsing [\#441](https://github.com/bensheldon/good_job/pull/441) ([jgrau](https://github.com/jgrau))
10
+ - Add Rails UJS javascript to Dashboard along with confirmations [\#437](https://github.com/bensheldon/good_job/pull/437) ([bensheldon](https://github.com/bensheldon))
11
+ - Reorganize Cron dashboard screen; add jobs drill-drown and enqueue-now action [\#436](https://github.com/bensheldon/good_job/pull/436) ([bensheldon](https://github.com/bensheldon))
12
+
13
+ **Closed issues:**
14
+
15
+ - Ability to express cron schedule using fugit natural language parser [\#439](https://github.com/bensheldon/good_job/issues/439)
16
+ - Best way to ensure ordering of a queue. [\#402](https://github.com/bensheldon/good_job/issues/402)
17
+ - ActiveJob concurrency raises FrozenError [\#386](https://github.com/bensheldon/good_job/issues/386)
18
+
3
19
  ## [v2.5.0](https://github.com/bensheldon/good_job/tree/v2.5.0) (2021-10-25)
4
20
 
5
21
  [Full Changelog](https://github.com/bensheldon/good_job/compare/v2.4.2...v2.5.0)
data/README.md CHANGED
@@ -401,7 +401,7 @@ GoodJob can enqueue jobs on a recurring basis that can be used as a replacement
401
401
 
402
402
  Cron-style jobs are run on every GoodJob process (e.g. CLI or `async` execution mode) when `config.good_job.enable_cron = true`, but GoodJob's cron uses unique indexes to ensure that only a single job is enqeued at the given time interval.
403
403
 
404
- Cron-format is parsed by the [`fugit`](https://github.com/floraison/fugit) gem, which has support for seconds-level resolution (e.g. `* * * * * *`).
404
+ Cron-format is parsed by the [`fugit`](https://github.com/floraison/fugit) gem, which has support for seconds-level resolution (e.g. `* * * * * *`) and natural language parsing (e.g. `every second`).
405
405
 
406
406
  ```ruby
407
407
  # config/environments/application.rb or a specific environment e.g. production.rb