rocketjob_mission_control 3.0.0.rc1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +10 -6
  3. data/app/assets/javascripts/rocket_job_mission_control/application.js +4 -3
  4. data/app/assets/javascripts/rocket_job_mission_control/base.js +12 -0
  5. data/app/assets/javascripts/rocket_job_mission_control/datatable.js +40 -0
  6. data/app/assets/javascripts/rocket_job_mission_control/dirmon_entries.js +16 -0
  7. data/app/assets/javascripts/rocket_job_mission_control/selectize.js +6 -0
  8. data/app/controllers/rocket_job_mission_control/active_workers_controller.rb +16 -5
  9. data/app/controllers/rocket_job_mission_control/application_controller.rb +2 -0
  10. data/app/controllers/rocket_job_mission_control/dirmon_entries_controller.rb +47 -67
  11. data/app/controllers/rocket_job_mission_control/jobs_controller.rb +113 -19
  12. data/app/controllers/rocket_job_mission_control/servers_controller.rb +71 -28
  13. data/app/datatables/rocket_job_mission_control/abstract_datatable.rb +3 -3
  14. data/app/datatables/rocket_job_mission_control/active_workers_datatable.rb +8 -14
  15. data/app/datatables/rocket_job_mission_control/dirmon_entries_datatable.rb +7 -15
  16. data/app/datatables/rocket_job_mission_control/jobs_datatable.rb +128 -13
  17. data/app/datatables/rocket_job_mission_control/servers_datatable.rb +13 -15
  18. data/app/helpers/rocket_job_mission_control/application_helper.rb +58 -0
  19. data/app/helpers/rocket_job_mission_control/jobs_helper.rb +15 -7
  20. data/app/helpers/rocket_job_mission_control/servers_helper.rb +1 -1
  21. data/app/models/rocket_job_mission_control/job_sanitizer.rb +47 -0
  22. data/app/models/rocket_job_mission_control/query.rb +24 -18
  23. data/app/views/layouts/rocket_job_mission_control/application.html.erb +43 -0
  24. data/app/views/layouts/rocket_job_mission_control/partials/_flash.html.erb +20 -0
  25. data/app/views/layouts/rocket_job_mission_control/partials/_header.html.erb +45 -0
  26. data/app/views/layouts/rocket_job_mission_control/partials/_sidebar.html.erb +12 -0
  27. data/app/views/rocket_job_mission_control/active_workers/index.html.erb +40 -0
  28. data/app/views/rocket_job_mission_control/dirmon_entries/_form.html.erb +60 -0
  29. data/app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.erb +38 -0
  30. data/app/views/rocket_job_mission_control/dirmon_entries/_status.html.erb +17 -0
  31. data/app/views/rocket_job_mission_control/dirmon_entries/edit.html.erb +4 -0
  32. data/app/views/rocket_job_mission_control/dirmon_entries/index.html.erb +33 -0
  33. data/app/views/rocket_job_mission_control/dirmon_entries/new.html.erb +8 -0
  34. data/app/views/rocket_job_mission_control/dirmon_entries/show.html.erb +29 -0
  35. data/app/views/rocket_job_mission_control/jobs/_pagination.html.erb +26 -0
  36. data/app/views/rocket_job_mission_control/jobs/_sidebar.html.erb +32 -0
  37. data/app/views/rocket_job_mission_control/jobs/_status.html.erb +42 -0
  38. data/app/views/rocket_job_mission_control/jobs/edit.html.erb +32 -0
  39. data/app/views/rocket_job_mission_control/jobs/exception.html.erb +19 -0
  40. data/app/views/rocket_job_mission_control/jobs/exceptions.html.erb +40 -0
  41. data/app/views/rocket_job_mission_control/jobs/index.html.erb +33 -0
  42. data/app/views/rocket_job_mission_control/jobs/show.html.erb +68 -0
  43. data/app/views/rocket_job_mission_control/servers/_sidebar.html.erb +31 -0
  44. data/app/views/rocket_job_mission_control/servers/index.html.erb +56 -0
  45. data/config/locales/en.yml +3 -10
  46. data/config/routes.rb +20 -17
  47. data/lib/rocket_job_mission_control/engine.rb +10 -0
  48. data/lib/rocket_job_mission_control/version.rb +1 -1
  49. data/test/compare_hashes.rb +17 -0
  50. data/test/controllers/rocket_job_mission_control/application_controller_test.rb +49 -0
  51. data/test/controllers/rocket_job_mission_control/dirmon_entries_controller_test.rb +417 -0
  52. data/test/controllers/rocket_job_mission_control/jobs_controller_test.rb +363 -0
  53. data/test/controllers/rocket_job_mission_control/servers_controller_test.rb +251 -0
  54. data/test/helpers/rocket_job_mission_control/application_helper_test.rb +54 -0
  55. data/test/helpers/rocket_job_mission_control/jobs_helper_test.rb +85 -0
  56. data/test/helpers/rocket_job_mission_control/pagination_helper_test.rb +23 -0
  57. data/test/helpers/rocket_job_mission_control/servers_helper_test.rb +64 -0
  58. data/test/helpers/rocket_job_mission_control/slices_helper_test.rb +30 -0
  59. data/test/models/rocket_job_mission_control/job_sanitizer_test.rb +92 -0
  60. data/test/models/rocket_job_mission_control/query_test.rb +136 -0
  61. data/test/test_helper.rb +23 -0
  62. metadata +75 -175
  63. data/app/assets/javascripts/rocket_job_mission_control/base.js.coffee +0 -11
  64. data/app/assets/javascripts/rocket_job_mission_control/datatable.js.coffee +0 -33
  65. data/app/assets/javascripts/rocket_job_mission_control/dirmon_entries.js.coffee +0 -13
  66. data/app/assets/javascripts/rocket_job_mission_control/selectize.js.coffee +0 -5
  67. data/app/assets/stylesheets/rocket_job_mission_control/jquery.bootstrap-touchspin.scss +0 -45
  68. data/app/controllers/rocket_job_mission_control/dirmon_entries/index_filters_controller.rb +0 -45
  69. data/app/controllers/rocket_job_mission_control/jobs/failures_controller.rb +0 -30
  70. data/app/controllers/rocket_job_mission_control/jobs/index_filters_controller.rb +0 -90
  71. data/app/controllers/rocket_job_mission_control/servers/index_filters_controller.rb +0 -49
  72. data/app/datatables/rocket_job_mission_control/completed_jobs_datatable.rb +0 -27
  73. data/app/datatables/rocket_job_mission_control/interrupted_jobs_datatable.rb +0 -26
  74. data/app/datatables/rocket_job_mission_control/queued_jobs_datatable.rb +0 -23
  75. data/app/datatables/rocket_job_mission_control/running_jobs_datatable.rb +0 -47
  76. data/app/datatables/rocket_job_mission_control/scheduled_jobs_datatable.rb +0 -31
  77. data/app/models/job_failures.rb +0 -20
  78. data/app/models/job_sanitizer.rb +0 -17
  79. data/app/views/layouts/rocket_job_mission_control/application.html.haml +0 -45
  80. data/app/views/layouts/rocket_job_mission_control/partials/_header.html.haml +0 -32
  81. data/app/views/layouts/rocket_job_mission_control/partials/_sidebar.html.haml +0 -11
  82. data/app/views/rocket_job_mission_control/active_workers/index.html.haml +0 -24
  83. data/app/views/rocket_job_mission_control/dirmon_entries/_form.html.haml +0 -37
  84. data/app/views/rocket_job_mission_control/dirmon_entries/_properties.html.haml +0 -30
  85. data/app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.haml +0 -27
  86. data/app/views/rocket_job_mission_control/dirmon_entries/_status.html.haml +0 -23
  87. data/app/views/rocket_job_mission_control/dirmon_entries/edit.html.haml +0 -4
  88. data/app/views/rocket_job_mission_control/dirmon_entries/index.html.haml +0 -18
  89. data/app/views/rocket_job_mission_control/dirmon_entries/index_filters/disabled.html.haml +0 -17
  90. data/app/views/rocket_job_mission_control/dirmon_entries/index_filters/enabled.html.haml +0 -17
  91. data/app/views/rocket_job_mission_control/dirmon_entries/index_filters/failed.html.haml +0 -17
  92. data/app/views/rocket_job_mission_control/dirmon_entries/index_filters/pending.html.haml +0 -17
  93. data/app/views/rocket_job_mission_control/dirmon_entries/new.html.haml +0 -6
  94. data/app/views/rocket_job_mission_control/dirmon_entries/show.html.haml +0 -23
  95. data/app/views/rocket_job_mission_control/jobs/_sidebar.html.haml +0 -28
  96. data/app/views/rocket_job_mission_control/jobs/_status.html.haml +0 -45
  97. data/app/views/rocket_job_mission_control/jobs/edit.html.haml +0 -34
  98. data/app/views/rocket_job_mission_control/jobs/exceptions.html.haml +0 -29
  99. data/app/views/rocket_job_mission_control/jobs/failures/_pagination.html.haml +0 -16
  100. data/app/views/rocket_job_mission_control/jobs/failures/index.html.haml +0 -32
  101. data/app/views/rocket_job_mission_control/jobs/index.html.haml +0 -25
  102. data/app/views/rocket_job_mission_control/jobs/index_filters/aborted.html.haml +0 -23
  103. data/app/views/rocket_job_mission_control/jobs/index_filters/completed.html.haml +0 -24
  104. data/app/views/rocket_job_mission_control/jobs/index_filters/failed.html.haml +0 -23
  105. data/app/views/rocket_job_mission_control/jobs/index_filters/paused.html.haml +0 -23
  106. data/app/views/rocket_job_mission_control/jobs/index_filters/queued.html.haml +0 -24
  107. data/app/views/rocket_job_mission_control/jobs/index_filters/running.html.haml +0 -25
  108. data/app/views/rocket_job_mission_control/jobs/index_filters/scheduled.html.haml +0 -24
  109. data/app/views/rocket_job_mission_control/jobs/show.html.haml +0 -51
  110. data/app/views/rocket_job_mission_control/servers/_actions.html.haml +0 -9
  111. data/app/views/rocket_job_mission_control/servers/_sidebar.html.haml +0 -20
  112. data/app/views/rocket_job_mission_control/servers/index.html.haml +0 -37
  113. data/app/views/rocket_job_mission_control/servers/index_filters/paused.html.haml +0 -37
  114. data/app/views/rocket_job_mission_control/servers/index_filters/running.html.haml +0 -37
  115. data/app/views/rocket_job_mission_control/servers/index_filters/starting.html.haml +0 -37
  116. data/app/views/rocket_job_mission_control/servers/index_filters/stopping.html.haml +0 -37
  117. data/spec/controllers/application_controller_spec.rb +0 -47
  118. data/spec/controllers/dirmon_entries/index_filters_controller_spec.rb +0 -77
  119. data/spec/controllers/dirmon_entries_controller_spec.rb +0 -383
  120. data/spec/controllers/jobs/failures_controller_spec.rb +0 -82
  121. data/spec/controllers/jobs/index_filters_controller_spec.rb +0 -66
  122. data/spec/controllers/jobs_controller_spec.rb +0 -172
  123. data/spec/controllers/workers/index_filters_controller_spec.rb +0 -59
  124. data/spec/controllers/workers_controller_spec.rb +0 -125
  125. data/spec/dummy/Rakefile +0 -7
  126. data/spec/dummy/config.ru +0 -4
  127. data/spec/dummy/config/application.rb +0 -26
  128. data/spec/dummy/config/boot.rb +0 -5
  129. data/spec/dummy/config/database.yml +0 -25
  130. data/spec/dummy/config/environment.rb +0 -5
  131. data/spec/dummy/config/environments/test.rb +0 -37
  132. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  133. data/spec/dummy/config/initializers/session_store.rb +0 -3
  134. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  135. data/spec/dummy/config/mongoid.yml +0 -88
  136. data/spec/dummy/config/routes.rb +0 -3
  137. data/spec/dummy/config/secrets.yml +0 -22
  138. data/spec/dummy/config/symmetric-encryption.yml +0 -8
  139. data/spec/dummy/db/test.sqlite3 +0 -0
  140. data/spec/dummy/log/development.log +0 -0
  141. data/spec/dummy/log/test.log +0 -118933
  142. data/spec/helpers/application_helper_spec.rb +0 -58
  143. data/spec/helpers/jobs_helper_spec.rb +0 -35
  144. data/spec/helpers/pagination_helper_spec.rb +0 -21
  145. data/spec/helpers/servers_helper_spec.rb +0 -16
  146. data/spec/helpers/slices_helper_spec.rb +0 -33
  147. data/spec/models/job_failures_spec.rb +0 -14
  148. data/spec/models/job_sanitizer_spec.rb +0 -16
  149. data/spec/rails_helper.rb +0 -47
  150. data/spec/spec_helper.rb +0 -84
  151. data/vendor/assets/javascripts/jquery.bootstrap-touchspin.js +0 -686
  152. data/vendor/assets/javascripts/prism.js +0 -6
  153. data/vendor/assets/stylesheets/jquery.bootstrap-touchspin.css +0 -45
  154. data/vendor/assets/stylesheets/prism.scss +0 -160
@@ -0,0 +1,23 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+ require_relative '../rjmc/config/environment'
3
+
4
+ require 'yaml'
5
+ require 'minitest/autorun'
6
+ require 'minitest/stub_any_instance'
7
+ require 'awesome_print'
8
+
9
+ require 'rails/test_help'
10
+ require 'minitest/rails'
11
+ require 'minitest/reporters'
12
+
13
+ # Include the complete backtrace?
14
+ Minitest.backtrace_filter = Minitest::BacktraceFilter.new if ENV['BACKTRACE'].present?
15
+
16
+ ActionController::TestCase
17
+ class ActionController::TestCase
18
+ include RocketJobMissionControl::Engine.routes.url_helpers
19
+
20
+ setup do
21
+ @routes = RocketJobMissionControl::Engine.routes
22
+ end
23
+ end
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocketjob_mission_control
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.rc1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Cloutier
8
8
  - Chris Lamb
9
9
  - Jonathan Whittington
10
+ - Reid Morrison
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2017-01-11 00:00:00.000000000 Z
14
+ date: 2017-03-02 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: rails
@@ -27,35 +28,21 @@ dependencies:
27
28
  - !ruby/object:Gem::Version
28
29
  version: '4.0'
29
30
  - !ruby/object:Gem::Dependency
30
- name: jquery-rails
31
- requirement: !ruby/object:Gem::Requirement
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- version: '0'
36
- type: :runtime
37
- prerelease: false
38
- version_requirements: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: '0'
43
- - !ruby/object:Gem::Dependency
44
- name: bootstrap-sass
31
+ name: rocketjob
45
32
  requirement: !ruby/object:Gem::Requirement
46
33
  requirements:
47
- - - ">="
34
+ - - "~>"
48
35
  - !ruby/object:Gem::Version
49
- version: 3.2.0.1
36
+ version: '3.0'
50
37
  type: :runtime
51
38
  prerelease: false
52
39
  version_requirements: !ruby/object:Gem::Requirement
53
40
  requirements:
54
- - - ">="
41
+ - - "~>"
55
42
  - !ruby/object:Gem::Version
56
- version: 3.2.0.1
43
+ version: '3.0'
57
44
  - !ruby/object:Gem::Dependency
58
- name: coffee-rails
45
+ name: jquery-rails
59
46
  requirement: !ruby/object:Gem::Requirement
60
47
  requirements:
61
48
  - - ">="
@@ -69,61 +56,47 @@ dependencies:
69
56
  - !ruby/object:Gem::Version
70
57
  version: '0'
71
58
  - !ruby/object:Gem::Dependency
72
- name: sass-rails
59
+ name: jquery-datatables-rails
73
60
  requirement: !ruby/object:Gem::Requirement
74
61
  requirements:
75
- - - ">="
62
+ - - "~>"
76
63
  - !ruby/object:Gem::Version
77
- version: '3.2'
64
+ version: 3.3.0
78
65
  type: :runtime
79
66
  prerelease: false
80
67
  version_requirements: !ruby/object:Gem::Requirement
81
68
  requirements:
82
- - - ">="
69
+ - - "~>"
83
70
  - !ruby/object:Gem::Version
84
- version: '3.2'
71
+ version: 3.3.0
85
72
  - !ruby/object:Gem::Dependency
86
- name: rocketjob
73
+ name: bootstrap-sass
87
74
  requirement: !ruby/object:Gem::Requirement
88
75
  requirements:
89
76
  - - ">="
90
77
  - !ruby/object:Gem::Version
91
- version: 3.0.0.beta3
78
+ version: 3.2.0.1
92
79
  type: :runtime
93
80
  prerelease: false
94
81
  version_requirements: !ruby/object:Gem::Requirement
95
82
  requirements:
96
83
  - - ">="
97
84
  - !ruby/object:Gem::Version
98
- version: 3.0.0.beta3
85
+ version: 3.2.0.1
99
86
  - !ruby/object:Gem::Dependency
100
- name: haml
87
+ name: sass-rails
101
88
  requirement: !ruby/object:Gem::Requirement
102
89
  requirements:
103
90
  - - ">="
104
91
  - !ruby/object:Gem::Version
105
- version: '0'
92
+ version: '3.2'
106
93
  type: :runtime
107
94
  prerelease: false
108
95
  version_requirements: !ruby/object:Gem::Requirement
109
96
  requirements:
110
97
  - - ">="
111
98
  - !ruby/object:Gem::Version
112
- version: '0'
113
- - !ruby/object:Gem::Dependency
114
- name: jquery-datatables-rails
115
- requirement: !ruby/object:Gem::Requirement
116
- requirements:
117
- - - "~>"
118
- - !ruby/object:Gem::Version
119
- version: 3.3.0
120
- type: :runtime
121
- prerelease: false
122
- version_requirements: !ruby/object:Gem::Requirement
123
- requirements:
124
- - - "~>"
125
- - !ruby/object:Gem::Version
126
- version: 3.3.0
99
+ version: '3.2'
127
100
  description: Rocket Job Mission Control is the Web user interface to manage Rocket
128
101
  Job.
129
102
  email:
@@ -138,35 +111,25 @@ files:
138
111
  - app/assets/images/rocket_job_mission_control/rocket-icon-512x512.png
139
112
  - app/assets/images/rocket_job_mission_control/rocket-icon-64x64.png
140
113
  - app/assets/javascripts/rocket_job_mission_control/application.js
141
- - app/assets/javascripts/rocket_job_mission_control/base.js.coffee
142
- - app/assets/javascripts/rocket_job_mission_control/datatable.js.coffee
143
- - app/assets/javascripts/rocket_job_mission_control/dirmon_entries.js.coffee
144
- - app/assets/javascripts/rocket_job_mission_control/selectize.js.coffee
114
+ - app/assets/javascripts/rocket_job_mission_control/base.js
115
+ - app/assets/javascripts/rocket_job_mission_control/datatable.js
116
+ - app/assets/javascripts/rocket_job_mission_control/dirmon_entries.js
117
+ - app/assets/javascripts/rocket_job_mission_control/selectize.js
145
118
  - app/assets/stylesheets/rocket_job_mission_control/application.scss
146
119
  - app/assets/stylesheets/rocket_job_mission_control/base.scss
147
120
  - app/assets/stylesheets/rocket_job_mission_control/bootstrap_and_overrides.scss
148
121
  - app/assets/stylesheets/rocket_job_mission_control/callout.scss
149
122
  - app/assets/stylesheets/rocket_job_mission_control/jobs.scss
150
- - app/assets/stylesheets/rocket_job_mission_control/jquery.bootstrap-touchspin.scss
151
123
  - app/assets/stylesheets/rocket_job_mission_control/worker_processes.scss
152
124
  - app/controllers/rocket_job_mission_control/active_workers_controller.rb
153
125
  - app/controllers/rocket_job_mission_control/application_controller.rb
154
- - app/controllers/rocket_job_mission_control/dirmon_entries/index_filters_controller.rb
155
126
  - app/controllers/rocket_job_mission_control/dirmon_entries_controller.rb
156
- - app/controllers/rocket_job_mission_control/jobs/failures_controller.rb
157
- - app/controllers/rocket_job_mission_control/jobs/index_filters_controller.rb
158
127
  - app/controllers/rocket_job_mission_control/jobs_controller.rb
159
- - app/controllers/rocket_job_mission_control/servers/index_filters_controller.rb
160
128
  - app/controllers/rocket_job_mission_control/servers_controller.rb
161
129
  - app/datatables/rocket_job_mission_control/abstract_datatable.rb
162
130
  - app/datatables/rocket_job_mission_control/active_workers_datatable.rb
163
- - app/datatables/rocket_job_mission_control/completed_jobs_datatable.rb
164
131
  - app/datatables/rocket_job_mission_control/dirmon_entries_datatable.rb
165
- - app/datatables/rocket_job_mission_control/interrupted_jobs_datatable.rb
166
132
  - app/datatables/rocket_job_mission_control/jobs_datatable.rb
167
- - app/datatables/rocket_job_mission_control/queued_jobs_datatable.rb
168
- - app/datatables/rocket_job_mission_control/running_jobs_datatable.rb
169
- - app/datatables/rocket_job_mission_control/scheduled_jobs_datatable.rb
170
133
  - app/datatables/rocket_job_mission_control/servers_datatable.rb
171
134
  - app/helpers/rocket_job_mission_control/application_helper.rb
172
135
  - app/helpers/rocket_job_mission_control/dirmon_entries_helper.rb
@@ -174,94 +137,52 @@ files:
174
137
  - app/helpers/rocket_job_mission_control/pagination_helper.rb
175
138
  - app/helpers/rocket_job_mission_control/servers_helper.rb
176
139
  - app/helpers/rocket_job_mission_control/slices_helper.rb
177
- - app/models/job_failures.rb
178
- - app/models/job_sanitizer.rb
140
+ - app/models/rocket_job_mission_control/job_sanitizer.rb
179
141
  - app/models/rocket_job_mission_control/query.rb
180
- - app/views/layouts/rocket_job_mission_control/application.html.haml
181
- - app/views/layouts/rocket_job_mission_control/partials/_header.html.haml
182
- - app/views/layouts/rocket_job_mission_control/partials/_sidebar.html.haml
183
- - app/views/rocket_job_mission_control/active_workers/index.html.haml
184
- - app/views/rocket_job_mission_control/dirmon_entries/_form.html.haml
185
- - app/views/rocket_job_mission_control/dirmon_entries/_properties.html.haml
186
- - app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.haml
187
- - app/views/rocket_job_mission_control/dirmon_entries/_status.html.haml
188
- - app/views/rocket_job_mission_control/dirmon_entries/edit.html.haml
189
- - app/views/rocket_job_mission_control/dirmon_entries/index.html.haml
190
- - app/views/rocket_job_mission_control/dirmon_entries/index_filters/disabled.html.haml
191
- - app/views/rocket_job_mission_control/dirmon_entries/index_filters/enabled.html.haml
192
- - app/views/rocket_job_mission_control/dirmon_entries/index_filters/failed.html.haml
193
- - app/views/rocket_job_mission_control/dirmon_entries/index_filters/pending.html.haml
194
- - app/views/rocket_job_mission_control/dirmon_entries/new.html.haml
195
- - app/views/rocket_job_mission_control/dirmon_entries/show.html.haml
196
- - app/views/rocket_job_mission_control/jobs/_sidebar.html.haml
197
- - app/views/rocket_job_mission_control/jobs/_status.html.haml
198
- - app/views/rocket_job_mission_control/jobs/edit.html.haml
199
- - app/views/rocket_job_mission_control/jobs/exceptions.html.haml
200
- - app/views/rocket_job_mission_control/jobs/failures/_pagination.html.haml
201
- - app/views/rocket_job_mission_control/jobs/failures/index.html.haml
202
- - app/views/rocket_job_mission_control/jobs/index.html.haml
203
- - app/views/rocket_job_mission_control/jobs/index_filters/aborted.html.haml
204
- - app/views/rocket_job_mission_control/jobs/index_filters/completed.html.haml
205
- - app/views/rocket_job_mission_control/jobs/index_filters/failed.html.haml
206
- - app/views/rocket_job_mission_control/jobs/index_filters/paused.html.haml
207
- - app/views/rocket_job_mission_control/jobs/index_filters/queued.html.haml
208
- - app/views/rocket_job_mission_control/jobs/index_filters/running.html.haml
209
- - app/views/rocket_job_mission_control/jobs/index_filters/scheduled.html.haml
210
- - app/views/rocket_job_mission_control/jobs/show.html.haml
211
- - app/views/rocket_job_mission_control/servers/_actions.html.haml
212
- - app/views/rocket_job_mission_control/servers/_sidebar.html.haml
213
- - app/views/rocket_job_mission_control/servers/index.html.haml
214
- - app/views/rocket_job_mission_control/servers/index_filters/paused.html.haml
215
- - app/views/rocket_job_mission_control/servers/index_filters/running.html.haml
216
- - app/views/rocket_job_mission_control/servers/index_filters/starting.html.haml
217
- - app/views/rocket_job_mission_control/servers/index_filters/stopping.html.haml
142
+ - app/views/layouts/rocket_job_mission_control/application.html.erb
143
+ - app/views/layouts/rocket_job_mission_control/partials/_flash.html.erb
144
+ - app/views/layouts/rocket_job_mission_control/partials/_header.html.erb
145
+ - app/views/layouts/rocket_job_mission_control/partials/_sidebar.html.erb
146
+ - app/views/rocket_job_mission_control/active_workers/index.html.erb
147
+ - app/views/rocket_job_mission_control/dirmon_entries/_form.html.erb
148
+ - app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.erb
149
+ - app/views/rocket_job_mission_control/dirmon_entries/_status.html.erb
150
+ - app/views/rocket_job_mission_control/dirmon_entries/edit.html.erb
151
+ - app/views/rocket_job_mission_control/dirmon_entries/index.html.erb
152
+ - app/views/rocket_job_mission_control/dirmon_entries/new.html.erb
153
+ - app/views/rocket_job_mission_control/dirmon_entries/show.html.erb
154
+ - app/views/rocket_job_mission_control/jobs/_pagination.html.erb
155
+ - app/views/rocket_job_mission_control/jobs/_sidebar.html.erb
156
+ - app/views/rocket_job_mission_control/jobs/_status.html.erb
157
+ - app/views/rocket_job_mission_control/jobs/edit.html.erb
158
+ - app/views/rocket_job_mission_control/jobs/exception.html.erb
159
+ - app/views/rocket_job_mission_control/jobs/exceptions.html.erb
160
+ - app/views/rocket_job_mission_control/jobs/index.html.erb
161
+ - app/views/rocket_job_mission_control/jobs/show.html.erb
162
+ - app/views/rocket_job_mission_control/servers/_sidebar.html.erb
163
+ - app/views/rocket_job_mission_control/servers/index.html.erb
218
164
  - config/locales/en.yml
219
165
  - config/routes.rb
220
166
  - lib/rocket_job_mission_control/engine.rb
221
167
  - lib/rocket_job_mission_control/version.rb
222
168
  - lib/rocketjob_mission_control.rb
223
169
  - lib/tasks/rocket_job_mission_control_tasks.rake
224
- - spec/controllers/application_controller_spec.rb
225
- - spec/controllers/dirmon_entries/index_filters_controller_spec.rb
226
- - spec/controllers/dirmon_entries_controller_spec.rb
227
- - spec/controllers/jobs/failures_controller_spec.rb
228
- - spec/controllers/jobs/index_filters_controller_spec.rb
229
- - spec/controllers/jobs_controller_spec.rb
230
- - spec/controllers/workers/index_filters_controller_spec.rb
231
- - spec/controllers/workers_controller_spec.rb
232
- - spec/dummy/Rakefile
233
- - spec/dummy/config.ru
234
- - spec/dummy/config/application.rb
235
- - spec/dummy/config/boot.rb
236
- - spec/dummy/config/database.yml
237
- - spec/dummy/config/environment.rb
238
- - spec/dummy/config/environments/test.rb
239
- - spec/dummy/config/initializers/secret_token.rb
240
- - spec/dummy/config/initializers/session_store.rb
241
- - spec/dummy/config/initializers/wrap_parameters.rb
242
- - spec/dummy/config/mongoid.yml
243
- - spec/dummy/config/routes.rb
244
- - spec/dummy/config/secrets.yml
245
- - spec/dummy/config/symmetric-encryption.yml
246
- - spec/dummy/db/test.sqlite3
247
- - spec/dummy/log/development.log
248
- - spec/dummy/log/test.log
249
- - spec/helpers/application_helper_spec.rb
250
- - spec/helpers/jobs_helper_spec.rb
251
- - spec/helpers/pagination_helper_spec.rb
252
- - spec/helpers/servers_helper_spec.rb
253
- - spec/helpers/slices_helper_spec.rb
254
- - spec/models/job_failures_spec.rb
255
- - spec/models/job_sanitizer_spec.rb
256
- - spec/rails_helper.rb
257
- - spec/spec_helper.rb
258
- - vendor/assets/javascripts/jquery.bootstrap-touchspin.js
170
+ - test/compare_hashes.rb
171
+ - test/controllers/rocket_job_mission_control/application_controller_test.rb
172
+ - test/controllers/rocket_job_mission_control/dirmon_entries_controller_test.rb
173
+ - test/controllers/rocket_job_mission_control/jobs_controller_test.rb
174
+ - test/controllers/rocket_job_mission_control/servers_controller_test.rb
175
+ - test/helpers/rocket_job_mission_control/application_helper_test.rb
176
+ - test/helpers/rocket_job_mission_control/jobs_helper_test.rb
177
+ - test/helpers/rocket_job_mission_control/pagination_helper_test.rb
178
+ - test/helpers/rocket_job_mission_control/servers_helper_test.rb
179
+ - test/helpers/rocket_job_mission_control/slices_helper_test.rb
180
+ - test/models/rocket_job_mission_control/job_sanitizer_test.rb
181
+ - test/models/rocket_job_mission_control/query_test.rb
182
+ - test/test_helper.rb
259
183
  - vendor/assets/javascripts/microplugin.js
260
- - vendor/assets/javascripts/prism.js
261
184
  - vendor/assets/javascripts/selectize.js
262
185
  - vendor/assets/javascripts/sifter.js
263
- - vendor/assets/stylesheets/jquery.bootstrap-touchspin.css
264
- - vendor/assets/stylesheets/prism.scss
265
186
  - vendor/assets/stylesheets/selectize.css
266
187
  - vendor/assets/stylesheets/selectize.default.css
267
188
  homepage: http://rocketjob.io
@@ -279,9 +200,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
279
200
  version: '0'
280
201
  required_rubygems_version: !ruby/object:Gem::Requirement
281
202
  requirements:
282
- - - ">"
203
+ - - ">="
283
204
  - !ruby/object:Gem::Version
284
- version: 1.3.1
205
+ version: '0'
285
206
  requirements: []
286
207
  rubyforge_project:
287
208
  rubygems_version: 2.6.8
@@ -289,37 +210,16 @@ signing_key:
289
210
  specification_version: 4
290
211
  summary: Enterprise Batch Processing System for Ruby.
291
212
  test_files:
292
- - spec/controllers/application_controller_spec.rb
293
- - spec/controllers/dirmon_entries/index_filters_controller_spec.rb
294
- - spec/controllers/dirmon_entries_controller_spec.rb
295
- - spec/controllers/jobs/failures_controller_spec.rb
296
- - spec/controllers/jobs/index_filters_controller_spec.rb
297
- - spec/controllers/jobs_controller_spec.rb
298
- - spec/controllers/workers/index_filters_controller_spec.rb
299
- - spec/controllers/workers_controller_spec.rb
300
- - spec/dummy/config/application.rb
301
- - spec/dummy/config/boot.rb
302
- - spec/dummy/config/database.yml
303
- - spec/dummy/config/environment.rb
304
- - spec/dummy/config/environments/test.rb
305
- - spec/dummy/config/initializers/secret_token.rb
306
- - spec/dummy/config/initializers/session_store.rb
307
- - spec/dummy/config/initializers/wrap_parameters.rb
308
- - spec/dummy/config/mongoid.yml
309
- - spec/dummy/config/routes.rb
310
- - spec/dummy/config/secrets.yml
311
- - spec/dummy/config/symmetric-encryption.yml
312
- - spec/dummy/config.ru
313
- - spec/dummy/db/test.sqlite3
314
- - spec/dummy/log/development.log
315
- - spec/dummy/log/test.log
316
- - spec/dummy/Rakefile
317
- - spec/helpers/application_helper_spec.rb
318
- - spec/helpers/jobs_helper_spec.rb
319
- - spec/helpers/pagination_helper_spec.rb
320
- - spec/helpers/servers_helper_spec.rb
321
- - spec/helpers/slices_helper_spec.rb
322
- - spec/models/job_failures_spec.rb
323
- - spec/models/job_sanitizer_spec.rb
324
- - spec/rails_helper.rb
325
- - spec/spec_helper.rb
213
+ - test/compare_hashes.rb
214
+ - test/controllers/rocket_job_mission_control/application_controller_test.rb
215
+ - test/controllers/rocket_job_mission_control/dirmon_entries_controller_test.rb
216
+ - test/controllers/rocket_job_mission_control/jobs_controller_test.rb
217
+ - test/controllers/rocket_job_mission_control/servers_controller_test.rb
218
+ - test/helpers/rocket_job_mission_control/application_helper_test.rb
219
+ - test/helpers/rocket_job_mission_control/jobs_helper_test.rb
220
+ - test/helpers/rocket_job_mission_control/pagination_helper_test.rb
221
+ - test/helpers/rocket_job_mission_control/servers_helper_test.rb
222
+ - test/helpers/rocket_job_mission_control/slices_helper_test.rb
223
+ - test/models/rocket_job_mission_control/job_sanitizer_test.rb
224
+ - test/models/rocket_job_mission_control/query_test.rb
225
+ - test/test_helper.rb
@@ -1,11 +0,0 @@
1
- $(document).ready ->
2
- toggleCanvas()
3
-
4
- toggleCanvas = ->
5
- $('[data-toggle=offcanvas]').click ->
6
- $(this).toggleClass 'visible-xs text-center'
7
- $(this).find('i').toggleClass 'fa-chevron-right fa-chevron-left'
8
- $('.row-offcanvas').toggleClass 'active'
9
- $('#lg-menu').toggleClass('hidden-xs').toggleClass 'visible-xs'
10
- $('#xs-menu').toggleClass('visible-xs').toggleClass 'hidden-xs'
11
- $('#btnShow').toggle()
@@ -1,33 +0,0 @@
1
- class @RjmcDatatable
2
- constructor: (table, columns, opts={}) ->
3
- @table = $(table)
4
- @columns = columns
5
- @ordering = opts.ordering ? true
6
- @searching = opts.searching ? true
7
- @pageLength = opts.pageLength ? 100
8
- @order = opts.order ? []
9
- @reload = $("[data-behavior='reload']")
10
- @initializeTable()
11
- @setEvents()
12
-
13
- initializeTable: ->
14
- @data = @table.DataTable
15
- pagingType: 'full_numbers'
16
- pageLength: @pageLength
17
- responsive: true
18
- ajax: @table.data('source')
19
- processing: true
20
- serverSide: true
21
- columns: @columns
22
- ordering: @ordering
23
- searching: @searching
24
- order: @order
25
-
26
- setEvents: ->
27
- @reload.on 'click', @reloadTable
28
-
29
- reloadTable: =>
30
- icon = @reload.find('i')
31
- icon.addClass('fa-spin')
32
- @data.ajax.reload ->
33
- icon.removeClass('fa-spin')
@@ -1,13 +0,0 @@
1
- $(document).on 'ready', ->
2
- $('.filter .state-toggle').on 'change', ->
3
- active_states = $('.filter :checked')
4
- param_string = "?"
5
- active_states.each (_, state) ->
6
- param_string += "states[]=" + $(state).attr('id') + "&"
7
- window.location.href = window.location.href.replace( /[\?#].*|$/, param_string );
8
-
9
- if $('#properties').length
10
- $('#properties').on 'click', ->
11
- params = $('#new_rocket_job_dirmon_entry').serialize()
12
- new_dirmon_path = $('#properties').data('url') + "?#{params}"
13
- window.location = new_dirmon_path