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.
- checksums.yaml +4 -4
- data/Rakefile +10 -6
- data/app/assets/javascripts/rocket_job_mission_control/application.js +4 -3
- data/app/assets/javascripts/rocket_job_mission_control/base.js +12 -0
- data/app/assets/javascripts/rocket_job_mission_control/datatable.js +40 -0
- data/app/assets/javascripts/rocket_job_mission_control/dirmon_entries.js +16 -0
- data/app/assets/javascripts/rocket_job_mission_control/selectize.js +6 -0
- data/app/controllers/rocket_job_mission_control/active_workers_controller.rb +16 -5
- data/app/controllers/rocket_job_mission_control/application_controller.rb +2 -0
- data/app/controllers/rocket_job_mission_control/dirmon_entries_controller.rb +47 -67
- data/app/controllers/rocket_job_mission_control/jobs_controller.rb +113 -19
- data/app/controllers/rocket_job_mission_control/servers_controller.rb +71 -28
- data/app/datatables/rocket_job_mission_control/abstract_datatable.rb +3 -3
- data/app/datatables/rocket_job_mission_control/active_workers_datatable.rb +8 -14
- data/app/datatables/rocket_job_mission_control/dirmon_entries_datatable.rb +7 -15
- data/app/datatables/rocket_job_mission_control/jobs_datatable.rb +128 -13
- data/app/datatables/rocket_job_mission_control/servers_datatable.rb +13 -15
- data/app/helpers/rocket_job_mission_control/application_helper.rb +58 -0
- data/app/helpers/rocket_job_mission_control/jobs_helper.rb +15 -7
- data/app/helpers/rocket_job_mission_control/servers_helper.rb +1 -1
- data/app/models/rocket_job_mission_control/job_sanitizer.rb +47 -0
- data/app/models/rocket_job_mission_control/query.rb +24 -18
- data/app/views/layouts/rocket_job_mission_control/application.html.erb +43 -0
- data/app/views/layouts/rocket_job_mission_control/partials/_flash.html.erb +20 -0
- data/app/views/layouts/rocket_job_mission_control/partials/_header.html.erb +45 -0
- data/app/views/layouts/rocket_job_mission_control/partials/_sidebar.html.erb +12 -0
- data/app/views/rocket_job_mission_control/active_workers/index.html.erb +40 -0
- data/app/views/rocket_job_mission_control/dirmon_entries/_form.html.erb +60 -0
- data/app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.erb +38 -0
- data/app/views/rocket_job_mission_control/dirmon_entries/_status.html.erb +17 -0
- data/app/views/rocket_job_mission_control/dirmon_entries/edit.html.erb +4 -0
- data/app/views/rocket_job_mission_control/dirmon_entries/index.html.erb +33 -0
- data/app/views/rocket_job_mission_control/dirmon_entries/new.html.erb +8 -0
- data/app/views/rocket_job_mission_control/dirmon_entries/show.html.erb +29 -0
- data/app/views/rocket_job_mission_control/jobs/_pagination.html.erb +26 -0
- data/app/views/rocket_job_mission_control/jobs/_sidebar.html.erb +32 -0
- data/app/views/rocket_job_mission_control/jobs/_status.html.erb +42 -0
- data/app/views/rocket_job_mission_control/jobs/edit.html.erb +32 -0
- data/app/views/rocket_job_mission_control/jobs/exception.html.erb +19 -0
- data/app/views/rocket_job_mission_control/jobs/exceptions.html.erb +40 -0
- data/app/views/rocket_job_mission_control/jobs/index.html.erb +33 -0
- data/app/views/rocket_job_mission_control/jobs/show.html.erb +68 -0
- data/app/views/rocket_job_mission_control/servers/_sidebar.html.erb +31 -0
- data/app/views/rocket_job_mission_control/servers/index.html.erb +56 -0
- data/config/locales/en.yml +3 -10
- data/config/routes.rb +20 -17
- data/lib/rocket_job_mission_control/engine.rb +10 -0
- data/lib/rocket_job_mission_control/version.rb +1 -1
- data/test/compare_hashes.rb +17 -0
- data/test/controllers/rocket_job_mission_control/application_controller_test.rb +49 -0
- data/test/controllers/rocket_job_mission_control/dirmon_entries_controller_test.rb +417 -0
- data/test/controllers/rocket_job_mission_control/jobs_controller_test.rb +363 -0
- data/test/controllers/rocket_job_mission_control/servers_controller_test.rb +251 -0
- data/test/helpers/rocket_job_mission_control/application_helper_test.rb +54 -0
- data/test/helpers/rocket_job_mission_control/jobs_helper_test.rb +85 -0
- data/test/helpers/rocket_job_mission_control/pagination_helper_test.rb +23 -0
- data/test/helpers/rocket_job_mission_control/servers_helper_test.rb +64 -0
- data/test/helpers/rocket_job_mission_control/slices_helper_test.rb +30 -0
- data/test/models/rocket_job_mission_control/job_sanitizer_test.rb +92 -0
- data/test/models/rocket_job_mission_control/query_test.rb +136 -0
- data/test/test_helper.rb +23 -0
- metadata +75 -175
- data/app/assets/javascripts/rocket_job_mission_control/base.js.coffee +0 -11
- data/app/assets/javascripts/rocket_job_mission_control/datatable.js.coffee +0 -33
- data/app/assets/javascripts/rocket_job_mission_control/dirmon_entries.js.coffee +0 -13
- data/app/assets/javascripts/rocket_job_mission_control/selectize.js.coffee +0 -5
- data/app/assets/stylesheets/rocket_job_mission_control/jquery.bootstrap-touchspin.scss +0 -45
- data/app/controllers/rocket_job_mission_control/dirmon_entries/index_filters_controller.rb +0 -45
- data/app/controllers/rocket_job_mission_control/jobs/failures_controller.rb +0 -30
- data/app/controllers/rocket_job_mission_control/jobs/index_filters_controller.rb +0 -90
- data/app/controllers/rocket_job_mission_control/servers/index_filters_controller.rb +0 -49
- data/app/datatables/rocket_job_mission_control/completed_jobs_datatable.rb +0 -27
- data/app/datatables/rocket_job_mission_control/interrupted_jobs_datatable.rb +0 -26
- data/app/datatables/rocket_job_mission_control/queued_jobs_datatable.rb +0 -23
- data/app/datatables/rocket_job_mission_control/running_jobs_datatable.rb +0 -47
- data/app/datatables/rocket_job_mission_control/scheduled_jobs_datatable.rb +0 -31
- data/app/models/job_failures.rb +0 -20
- data/app/models/job_sanitizer.rb +0 -17
- data/app/views/layouts/rocket_job_mission_control/application.html.haml +0 -45
- data/app/views/layouts/rocket_job_mission_control/partials/_header.html.haml +0 -32
- data/app/views/layouts/rocket_job_mission_control/partials/_sidebar.html.haml +0 -11
- data/app/views/rocket_job_mission_control/active_workers/index.html.haml +0 -24
- data/app/views/rocket_job_mission_control/dirmon_entries/_form.html.haml +0 -37
- data/app/views/rocket_job_mission_control/dirmon_entries/_properties.html.haml +0 -30
- data/app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.haml +0 -27
- data/app/views/rocket_job_mission_control/dirmon_entries/_status.html.haml +0 -23
- data/app/views/rocket_job_mission_control/dirmon_entries/edit.html.haml +0 -4
- data/app/views/rocket_job_mission_control/dirmon_entries/index.html.haml +0 -18
- data/app/views/rocket_job_mission_control/dirmon_entries/index_filters/disabled.html.haml +0 -17
- data/app/views/rocket_job_mission_control/dirmon_entries/index_filters/enabled.html.haml +0 -17
- data/app/views/rocket_job_mission_control/dirmon_entries/index_filters/failed.html.haml +0 -17
- data/app/views/rocket_job_mission_control/dirmon_entries/index_filters/pending.html.haml +0 -17
- data/app/views/rocket_job_mission_control/dirmon_entries/new.html.haml +0 -6
- data/app/views/rocket_job_mission_control/dirmon_entries/show.html.haml +0 -23
- data/app/views/rocket_job_mission_control/jobs/_sidebar.html.haml +0 -28
- data/app/views/rocket_job_mission_control/jobs/_status.html.haml +0 -45
- data/app/views/rocket_job_mission_control/jobs/edit.html.haml +0 -34
- data/app/views/rocket_job_mission_control/jobs/exceptions.html.haml +0 -29
- data/app/views/rocket_job_mission_control/jobs/failures/_pagination.html.haml +0 -16
- data/app/views/rocket_job_mission_control/jobs/failures/index.html.haml +0 -32
- data/app/views/rocket_job_mission_control/jobs/index.html.haml +0 -25
- data/app/views/rocket_job_mission_control/jobs/index_filters/aborted.html.haml +0 -23
- data/app/views/rocket_job_mission_control/jobs/index_filters/completed.html.haml +0 -24
- data/app/views/rocket_job_mission_control/jobs/index_filters/failed.html.haml +0 -23
- data/app/views/rocket_job_mission_control/jobs/index_filters/paused.html.haml +0 -23
- data/app/views/rocket_job_mission_control/jobs/index_filters/queued.html.haml +0 -24
- data/app/views/rocket_job_mission_control/jobs/index_filters/running.html.haml +0 -25
- data/app/views/rocket_job_mission_control/jobs/index_filters/scheduled.html.haml +0 -24
- data/app/views/rocket_job_mission_control/jobs/show.html.haml +0 -51
- data/app/views/rocket_job_mission_control/servers/_actions.html.haml +0 -9
- data/app/views/rocket_job_mission_control/servers/_sidebar.html.haml +0 -20
- data/app/views/rocket_job_mission_control/servers/index.html.haml +0 -37
- data/app/views/rocket_job_mission_control/servers/index_filters/paused.html.haml +0 -37
- data/app/views/rocket_job_mission_control/servers/index_filters/running.html.haml +0 -37
- data/app/views/rocket_job_mission_control/servers/index_filters/starting.html.haml +0 -37
- data/app/views/rocket_job_mission_control/servers/index_filters/stopping.html.haml +0 -37
- data/spec/controllers/application_controller_spec.rb +0 -47
- data/spec/controllers/dirmon_entries/index_filters_controller_spec.rb +0 -77
- data/spec/controllers/dirmon_entries_controller_spec.rb +0 -383
- data/spec/controllers/jobs/failures_controller_spec.rb +0 -82
- data/spec/controllers/jobs/index_filters_controller_spec.rb +0 -66
- data/spec/controllers/jobs_controller_spec.rb +0 -172
- data/spec/controllers/workers/index_filters_controller_spec.rb +0 -59
- data/spec/controllers/workers_controller_spec.rb +0 -125
- data/spec/dummy/Rakefile +0 -7
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/config/application.rb +0 -26
- data/spec/dummy/config/boot.rb +0 -5
- data/spec/dummy/config/database.yml +0 -25
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/test.rb +0 -37
- data/spec/dummy/config/initializers/secret_token.rb +0 -7
- data/spec/dummy/config/initializers/session_store.rb +0 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/mongoid.yml +0 -88
- data/spec/dummy/config/routes.rb +0 -3
- data/spec/dummy/config/secrets.yml +0 -22
- data/spec/dummy/config/symmetric-encryption.yml +0 -8
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/test.log +0 -118933
- data/spec/helpers/application_helper_spec.rb +0 -58
- data/spec/helpers/jobs_helper_spec.rb +0 -35
- data/spec/helpers/pagination_helper_spec.rb +0 -21
- data/spec/helpers/servers_helper_spec.rb +0 -16
- data/spec/helpers/slices_helper_spec.rb +0 -33
- data/spec/models/job_failures_spec.rb +0 -14
- data/spec/models/job_sanitizer_spec.rb +0 -16
- data/spec/rails_helper.rb +0 -47
- data/spec/spec_helper.rb +0 -84
- data/vendor/assets/javascripts/jquery.bootstrap-touchspin.js +0 -686
- data/vendor/assets/javascripts/prism.js +0 -6
- data/vendor/assets/stylesheets/jquery.bootstrap-touchspin.css +0 -45
- data/vendor/assets/stylesheets/prism.scss +0 -160
data/test/test_helper.rb
ADDED
@@ -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
|
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-
|
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:
|
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.
|
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.
|
43
|
+
version: '3.0'
|
57
44
|
- !ruby/object:Gem::Dependency
|
58
|
-
name:
|
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:
|
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:
|
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:
|
71
|
+
version: 3.3.0
|
85
72
|
- !ruby/object:Gem::Dependency
|
86
|
-
name:
|
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.
|
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.
|
85
|
+
version: 3.2.0.1
|
99
86
|
- !ruby/object:Gem::Dependency
|
100
|
-
name:
|
87
|
+
name: sass-rails
|
101
88
|
requirement: !ruby/object:Gem::Requirement
|
102
89
|
requirements:
|
103
90
|
- - ">="
|
104
91
|
- !ruby/object:Gem::Version
|
105
|
-
version: '
|
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: '
|
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
|
142
|
-
- app/assets/javascripts/rocket_job_mission_control/datatable.js
|
143
|
-
- app/assets/javascripts/rocket_job_mission_control/dirmon_entries.js
|
144
|
-
- app/assets/javascripts/rocket_job_mission_control/selectize.js
|
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/
|
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.
|
181
|
-
- app/views/layouts/rocket_job_mission_control/partials/
|
182
|
-
- app/views/layouts/rocket_job_mission_control/partials/
|
183
|
-
- app/views/rocket_job_mission_control/
|
184
|
-
- app/views/rocket_job_mission_control/
|
185
|
-
- app/views/rocket_job_mission_control/dirmon_entries/
|
186
|
-
- app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.
|
187
|
-
- app/views/rocket_job_mission_control/dirmon_entries/_status.html.
|
188
|
-
- app/views/rocket_job_mission_control/dirmon_entries/edit.html.
|
189
|
-
- app/views/rocket_job_mission_control/dirmon_entries/index.html.
|
190
|
-
- app/views/rocket_job_mission_control/dirmon_entries/
|
191
|
-
- app/views/rocket_job_mission_control/dirmon_entries/
|
192
|
-
- app/views/rocket_job_mission_control/
|
193
|
-
- app/views/rocket_job_mission_control/
|
194
|
-
- app/views/rocket_job_mission_control/
|
195
|
-
- app/views/rocket_job_mission_control/
|
196
|
-
- app/views/rocket_job_mission_control/jobs/
|
197
|
-
- app/views/rocket_job_mission_control/jobs/
|
198
|
-
- app/views/rocket_job_mission_control/jobs/
|
199
|
-
- app/views/rocket_job_mission_control/jobs/
|
200
|
-
- app/views/rocket_job_mission_control/
|
201
|
-
- app/views/rocket_job_mission_control/
|
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
|
-
-
|
225
|
-
-
|
226
|
-
-
|
227
|
-
-
|
228
|
-
-
|
229
|
-
-
|
230
|
-
-
|
231
|
-
-
|
232
|
-
-
|
233
|
-
-
|
234
|
-
-
|
235
|
-
-
|
236
|
-
-
|
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:
|
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
|
-
-
|
293
|
-
-
|
294
|
-
-
|
295
|
-
-
|
296
|
-
-
|
297
|
-
-
|
298
|
-
-
|
299
|
-
-
|
300
|
-
-
|
301
|
-
-
|
302
|
-
-
|
303
|
-
-
|
304
|
-
-
|
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
|