marty 5.2.0 → 6.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.gitlab-ci.yml +1 -1
  3. data/.rubocop_todo.yml +62 -77
  4. data/Dockerfile.dummy +1 -1
  5. data/app/assets/javascripts/marty/extjs/extensions/marty.js +11 -0
  6. data/app/components/marty/log_view.rb +1 -1
  7. data/app/components/marty/promise_view.rb +0 -3
  8. data/app/jobs/marty/remove_old_promises_job.rb +7 -0
  9. data/app/models/marty/data_grid.rb +0 -163
  10. data/app/models/marty/event.rb +2 -2
  11. data/app/models/marty/posting.rb +0 -7
  12. data/app/models/marty/promise.rb +1 -1
  13. data/app/services/marty/data_grid_view/save_grid.rb +2 -2
  14. data/app/services/marty/jobs/schedule.rb +5 -0
  15. data/db/migrate/510_schedule_job_to_remove_old_promises.rb +19 -0
  16. data/lib/marty.rb +8 -0
  17. data/{other → lib}/marty/api/base.rb +14 -17
  18. data/{other → lib}/marty/diagnostic/aws/ec2_instance.rb +2 -2
  19. data/{other → lib}/marty/diagnostic/aws/error.rb +0 -0
  20. data/{other → lib}/marty/diagnostic/base.rb +0 -0
  21. data/{other → lib}/marty/diagnostic/collection.rb +0 -0
  22. data/{other → lib}/marty/diagnostic/connections.rb +0 -0
  23. data/{other → lib}/marty/diagnostic/database.rb +0 -0
  24. data/{other → lib}/marty/diagnostic/delayed_job_version.rb +0 -0
  25. data/{other → lib}/marty/diagnostic/delayed_job_workers.rb +0 -0
  26. data/{other → lib}/marty/diagnostic/environment_variables.rb +0 -0
  27. data/{other → lib}/marty/diagnostic/fatal.rb +0 -0
  28. data/{other → lib}/marty/diagnostic/node.rb +0 -0
  29. data/{other → lib}/marty/diagnostic/nodes.rb +1 -2
  30. data/{other → lib}/marty/diagnostic/packer.rb +0 -0
  31. data/{other → lib}/marty/diagnostic/reporter.rb +2 -2
  32. data/{other → lib}/marty/diagnostic/request.rb +0 -0
  33. data/{other → lib}/marty/diagnostic/scheduled_jobs.rb +0 -0
  34. data/{other → lib}/marty/diagnostic/version.rb +0 -0
  35. data/lib/marty/engine.rb +5 -0
  36. data/lib/marty/version.rb +3 -1
  37. data/lib/marty/xl.rb +5 -5
  38. data/spec/dummy/app/assets/config/manifest.js +0 -0
  39. data/spec/dummy/app/jobs/test2_job.rb +4 -0
  40. data/spec/dummy/config/application.rb +1 -4
  41. data/spec/dummy/config/initializers/assets.rb +1 -1
  42. data/spec/features/extjs_spec.rb +58 -0
  43. data/spec/features/schedule_jobs_dashboard_spec.rb +9 -9
  44. data/spec/lib/logger_spec.rb +2 -2
  45. data/spec/models/posting_spec.rb +0 -13
  46. data/spec/services/jobs/schedule_spec.rb +40 -0
  47. data/spec/support/chromedriver.rb +2 -0
  48. metadata +27 -22
  49. data/spec/dummy/app/jobs/test_job2.rb +0 -4
@@ -1,4 +0,0 @@
1
- class TestJob2 < Marty::CronJob
2
- def perform
3
- end
4
- end