minicron 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +674 -0
- data/README.md +187 -0
- data/Rakefile +17 -0
- data/bin/minicron +26 -0
- data/lib/minicron.rb +179 -0
- data/lib/minicron/alert.rb +115 -0
- data/lib/minicron/alert/email.rb +50 -0
- data/lib/minicron/alert/pagerduty.rb +39 -0
- data/lib/minicron/alert/sms.rb +47 -0
- data/lib/minicron/cli.rb +367 -0
- data/lib/minicron/constants.rb +7 -0
- data/lib/minicron/cron.rb +192 -0
- data/lib/minicron/hub/app.rb +132 -0
- data/lib/minicron/hub/assets/app/application.js +151 -0
- data/lib/minicron/hub/assets/app/components/schedules.js +280 -0
- data/lib/minicron/hub/assets/app/controllers/executions.js +35 -0
- data/lib/minicron/hub/assets/app/controllers/hosts.js +129 -0
- data/lib/minicron/hub/assets/app/controllers/jobs.js +109 -0
- data/lib/minicron/hub/assets/app/controllers/schedules.js +80 -0
- data/lib/minicron/hub/assets/app/helpers.js +22 -0
- data/lib/minicron/hub/assets/app/models/execution.js +13 -0
- data/lib/minicron/hub/assets/app/models/host.js +15 -0
- data/lib/minicron/hub/assets/app/models/job.js +15 -0
- data/lib/minicron/hub/assets/app/models/job_execution_output.js +11 -0
- data/lib/minicron/hub/assets/app/models/schedule.js +32 -0
- data/lib/minicron/hub/assets/app/router.js +31 -0
- data/lib/minicron/hub/assets/app/routes/executions.js +36 -0
- data/lib/minicron/hub/assets/app/routes/hosts.js +42 -0
- data/lib/minicron/hub/assets/app/routes/index.js +9 -0
- data/lib/minicron/hub/assets/app/routes/jobs.js +52 -0
- data/lib/minicron/hub/assets/app/routes/schedules.js +37 -0
- data/lib/minicron/hub/assets/css/bootswatch.min.css +9 -0
- data/lib/minicron/hub/assets/css/main.scss +323 -0
- data/lib/minicron/hub/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/lib/minicron/hub/assets/fonts/glyphicons-halflings-regular.svg +229 -0
- data/lib/minicron/hub/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/lib/minicron/hub/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/lib/minicron/hub/assets/fonts/lato-bold-700.woff +0 -0
- data/lib/minicron/hub/assets/fonts/lato-italic-400.woff +0 -0
- data/lib/minicron/hub/assets/fonts/lato-regular-400.woff +0 -0
- data/lib/minicron/hub/assets/js/ansi_up-1.1.1.min.js +6 -0
- data/lib/minicron/hub/assets/js/auth/ember-auth-9.0.7.min.js +2 -0
- data/lib/minicron/hub/assets/js/auth/ember-auth-request-jquery-1.0.3.min.js +1 -0
- data/lib/minicron/hub/assets/js/bootstrap-3.1.1.min.js +6 -0
- data/lib/minicron/hub/assets/js/ember-1.4.1.min.js +18 -0
- data/lib/minicron/hub/assets/js/ember-data-1.0.0-beta.7.f87cba88.min.js +10 -0
- data/lib/minicron/hub/assets/js/faye-browser-1.0.1.min.js +2 -0
- data/lib/minicron/hub/assets/js/handlebars-1.3.0.min.js +29 -0
- data/lib/minicron/hub/assets/js/jquery-2.1.0.min.js +4 -0
- data/lib/minicron/hub/assets/js/moment-2.5.1.min.js +7 -0
- data/lib/minicron/hub/controllers/api/executions.rb +34 -0
- data/lib/minicron/hub/controllers/api/hosts.rb +150 -0
- data/lib/minicron/hub/controllers/api/job_execution_outputs.rb +30 -0
- data/lib/minicron/hub/controllers/api/jobs.rb +118 -0
- data/lib/minicron/hub/controllers/api/schedule.rb +184 -0
- data/lib/minicron/hub/controllers/index.rb +5 -0
- data/lib/minicron/hub/db/schema.rb +98 -0
- data/lib/minicron/hub/db/schema.sql +158 -0
- data/lib/minicron/hub/models/alert.rb +7 -0
- data/lib/minicron/hub/models/execution.rb +8 -0
- data/lib/minicron/hub/models/host.rb +7 -0
- data/lib/minicron/hub/models/job.rb +18 -0
- data/lib/minicron/hub/models/job_execution_output.rb +7 -0
- data/lib/minicron/hub/models/schedule.rb +25 -0
- data/lib/minicron/hub/serializers/execution.rb +75 -0
- data/lib/minicron/hub/serializers/host.rb +57 -0
- data/lib/minicron/hub/serializers/job.rb +104 -0
- data/lib/minicron/hub/serializers/job_execution_output.rb +48 -0
- data/lib/minicron/hub/serializers/schedule.rb +68 -0
- data/lib/minicron/hub/views/handlebars/application.erb +51 -0
- data/lib/minicron/hub/views/handlebars/errors.erb +29 -0
- data/lib/minicron/hub/views/handlebars/executions.erb +79 -0
- data/lib/minicron/hub/views/handlebars/hosts.erb +205 -0
- data/lib/minicron/hub/views/handlebars/jobs.erb +203 -0
- data/lib/minicron/hub/views/handlebars/loading.erb +3 -0
- data/lib/minicron/hub/views/handlebars/schedules.erb +354 -0
- data/lib/minicron/hub/views/index.erb +7 -0
- data/lib/minicron/hub/views/layouts/app.erb +15 -0
- data/lib/minicron/monitor.rb +116 -0
- data/lib/minicron/transport.rb +15 -0
- data/lib/minicron/transport/client.rb +80 -0
- data/lib/minicron/transport/faye/client.rb +103 -0
- data/lib/minicron/transport/faye/extensions/job_handler.rb +184 -0
- data/lib/minicron/transport/faye/server.rb +58 -0
- data/lib/minicron/transport/server.rb +62 -0
- data/lib/minicron/transport/ssh.rb +51 -0
- data/spec/invalid_config.toml +2 -0
- data/spec/minicron/cli_spec.rb +154 -0
- data/spec/minicron/transport/client_spec.rb +8 -0
- data/spec/minicron/transport/faye/client_spec.rb +53 -0
- data/spec/minicron/transport/server_spec.rb +70 -0
- data/spec/minicron/transport_spec.rb +13 -0
- data/spec/minicron_spec.rb +133 -0
- data/spec/spec_helper.rb +33 -0
- data/spec/valid_config.toml +48 -0
- metadata +577 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
if ENV['CI'] && (!defined?(RUBY_ENGINE) || RUBY_ENGINE == 'ruby')
|
2
|
+
require 'coveralls'
|
3
|
+
Coveralls.wear!
|
4
|
+
end
|
5
|
+
|
6
|
+
require 'simplecov'
|
7
|
+
SimpleCov.start do
|
8
|
+
add_filter '/spec/'
|
9
|
+
end
|
10
|
+
|
11
|
+
require 'rspec'
|
12
|
+
require 'minicron'
|
13
|
+
|
14
|
+
RSpec.configure do |config|
|
15
|
+
config.color_enabled = true
|
16
|
+
config.formatter = 'documentation'
|
17
|
+
end
|
18
|
+
|
19
|
+
# Normalise varied new line usage
|
20
|
+
class String
|
21
|
+
def clean
|
22
|
+
strip.encode(encoding, :universal_newline => true)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
# Taken from commander gem
|
27
|
+
# prevent paging from actually occurring in test environment
|
28
|
+
module Commander
|
29
|
+
module UI
|
30
|
+
def enable_paging
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# Test valid config file
|
2
|
+
|
3
|
+
# Global options
|
4
|
+
[global]
|
5
|
+
verbose = true
|
6
|
+
trace = false
|
7
|
+
|
8
|
+
# Client options
|
9
|
+
[client]
|
10
|
+
scheme = "http" # [http, https]
|
11
|
+
host = "127.0.0.1"
|
12
|
+
port = 9292
|
13
|
+
path = "/"
|
14
|
+
connect_timeout = 5
|
15
|
+
inactivity_timeout = 5
|
16
|
+
|
17
|
+
# Server options
|
18
|
+
[server]
|
19
|
+
host = "127.0.0.1"
|
20
|
+
port = 9292
|
21
|
+
path = "/"
|
22
|
+
|
23
|
+
# Database options
|
24
|
+
[database]
|
25
|
+
type = "mysql" # [mysql]
|
26
|
+
host = "127.0.0.1"
|
27
|
+
database = "minicron"
|
28
|
+
username = "minicron"
|
29
|
+
password = "password"
|
30
|
+
|
31
|
+
# CLI options
|
32
|
+
[cli]
|
33
|
+
mode = "line" # [line, char]
|
34
|
+
dry_run = false
|
35
|
+
|
36
|
+
# Alerting options
|
37
|
+
[alerts]
|
38
|
+
[alerts.email]
|
39
|
+
enabled = false
|
40
|
+
[alerts.email.smtp]
|
41
|
+
address = "localhost"
|
42
|
+
port = 25
|
43
|
+
|
44
|
+
[alerts.sms]
|
45
|
+
enabled = false
|
46
|
+
|
47
|
+
[alerts.pagerduty]
|
48
|
+
enabled = false
|
metadata
ADDED
@@ -0,0 +1,577 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: minicron
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- James White
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-03-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rainbow
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: commander
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '4.1'
|
34
|
+
- - '>='
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 4.1.6
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '4.1'
|
44
|
+
- - '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 4.1.6
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: thin
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '1.6'
|
54
|
+
- - '>='
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 1.6.1
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ~>
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '1.6'
|
64
|
+
- - '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 1.6.1
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: faye
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ~>
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '1.0'
|
74
|
+
- - '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 1.0.1
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ~>
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '1.0'
|
84
|
+
- - '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 1.0.1
|
87
|
+
- !ruby/object:Gem::Dependency
|
88
|
+
name: eventmachine
|
89
|
+
requirement: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '1.0'
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.0.3
|
97
|
+
type: :runtime
|
98
|
+
prerelease: false
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ~>
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.0'
|
104
|
+
- - '>='
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: 1.0.3
|
107
|
+
- !ruby/object:Gem::Dependency
|
108
|
+
name: toml-rb
|
109
|
+
requirement: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - ~>
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '0.1'
|
114
|
+
- - '>='
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 0.1.4
|
117
|
+
type: :runtime
|
118
|
+
prerelease: false
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ~>
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0.1'
|
124
|
+
- - '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 0.1.4
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: sinatra
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ~>
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '1.4'
|
134
|
+
- - '>='
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: 1.4.4
|
137
|
+
type: :runtime
|
138
|
+
prerelease: false
|
139
|
+
version_requirements: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ~>
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '1.4'
|
144
|
+
- - '>='
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 1.4.4
|
147
|
+
- !ruby/object:Gem::Dependency
|
148
|
+
name: erubis
|
149
|
+
requirement: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ~>
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '2.7'
|
154
|
+
type: :runtime
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ~>
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '2.7'
|
161
|
+
- !ruby/object:Gem::Dependency
|
162
|
+
name: activerecord
|
163
|
+
requirement: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ~>
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '4.0'
|
168
|
+
- - '>='
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: 4.0.3
|
171
|
+
type: :runtime
|
172
|
+
prerelease: false
|
173
|
+
version_requirements: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ~>
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '4.0'
|
178
|
+
- - '>='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 4.0.3
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: sinatra-activerecord
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ~>
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '1.6'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ~>
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '1.6'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: sinatra-assetpack
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ~>
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0.3'
|
202
|
+
- - '>='
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: 0.3.2
|
205
|
+
type: :runtime
|
206
|
+
prerelease: false
|
207
|
+
version_requirements: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - ~>
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '0.3'
|
212
|
+
- - '>='
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: 0.3.2
|
215
|
+
- !ruby/object:Gem::Dependency
|
216
|
+
name: sass
|
217
|
+
requirement: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - ~>
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '3.2'
|
222
|
+
- - '>='
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: 3.2.14
|
225
|
+
type: :runtime
|
226
|
+
prerelease: false
|
227
|
+
version_requirements: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - ~>
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '3.2'
|
232
|
+
- - '>='
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: 3.2.14
|
235
|
+
- !ruby/object:Gem::Dependency
|
236
|
+
name: oj
|
237
|
+
requirement: !ruby/object:Gem::Requirement
|
238
|
+
requirements:
|
239
|
+
- - ~>
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '2.6'
|
242
|
+
type: :runtime
|
243
|
+
prerelease: false
|
244
|
+
version_requirements: !ruby/object:Gem::Requirement
|
245
|
+
requirements:
|
246
|
+
- - ~>
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: '2.6'
|
249
|
+
- !ruby/object:Gem::Dependency
|
250
|
+
name: sshkey
|
251
|
+
requirement: !ruby/object:Gem::Requirement
|
252
|
+
requirements:
|
253
|
+
- - ~>
|
254
|
+
- !ruby/object:Gem::Version
|
255
|
+
version: '1.6'
|
256
|
+
- - '>='
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
version: 1.6.1
|
259
|
+
type: :runtime
|
260
|
+
prerelease: false
|
261
|
+
version_requirements: !ruby/object:Gem::Requirement
|
262
|
+
requirements:
|
263
|
+
- - ~>
|
264
|
+
- !ruby/object:Gem::Version
|
265
|
+
version: '1.6'
|
266
|
+
- - '>='
|
267
|
+
- !ruby/object:Gem::Version
|
268
|
+
version: 1.6.1
|
269
|
+
- !ruby/object:Gem::Dependency
|
270
|
+
name: net-ssh
|
271
|
+
requirement: !ruby/object:Gem::Requirement
|
272
|
+
requirements:
|
273
|
+
- - ~>
|
274
|
+
- !ruby/object:Gem::Version
|
275
|
+
version: '2.8'
|
276
|
+
type: :runtime
|
277
|
+
prerelease: false
|
278
|
+
version_requirements: !ruby/object:Gem::Requirement
|
279
|
+
requirements:
|
280
|
+
- - ~>
|
281
|
+
- !ruby/object:Gem::Version
|
282
|
+
version: '2.8'
|
283
|
+
- !ruby/object:Gem::Dependency
|
284
|
+
name: parse-cron
|
285
|
+
requirement: !ruby/object:Gem::Requirement
|
286
|
+
requirements:
|
287
|
+
- - ~>
|
288
|
+
- !ruby/object:Gem::Version
|
289
|
+
version: '0.1'
|
290
|
+
- - '>='
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: 0.1.4
|
293
|
+
type: :runtime
|
294
|
+
prerelease: false
|
295
|
+
version_requirements: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - ~>
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '0.1'
|
300
|
+
- - '>='
|
301
|
+
- !ruby/object:Gem::Version
|
302
|
+
version: 0.1.4
|
303
|
+
- !ruby/object:Gem::Dependency
|
304
|
+
name: mail
|
305
|
+
requirement: !ruby/object:Gem::Requirement
|
306
|
+
requirements:
|
307
|
+
- - ~>
|
308
|
+
- !ruby/object:Gem::Version
|
309
|
+
version: '2.5'
|
310
|
+
- - '>='
|
311
|
+
- !ruby/object:Gem::Version
|
312
|
+
version: 2.5.4
|
313
|
+
type: :runtime
|
314
|
+
prerelease: false
|
315
|
+
version_requirements: !ruby/object:Gem::Requirement
|
316
|
+
requirements:
|
317
|
+
- - ~>
|
318
|
+
- !ruby/object:Gem::Version
|
319
|
+
version: '2.5'
|
320
|
+
- - '>='
|
321
|
+
- !ruby/object:Gem::Version
|
322
|
+
version: 2.5.4
|
323
|
+
- !ruby/object:Gem::Dependency
|
324
|
+
name: twilio-ruby
|
325
|
+
requirement: !ruby/object:Gem::Requirement
|
326
|
+
requirements:
|
327
|
+
- - ~>
|
328
|
+
- !ruby/object:Gem::Version
|
329
|
+
version: '3.1'
|
330
|
+
- - '>='
|
331
|
+
- !ruby/object:Gem::Version
|
332
|
+
version: 3.11.5
|
333
|
+
type: :runtime
|
334
|
+
prerelease: false
|
335
|
+
version_requirements: !ruby/object:Gem::Requirement
|
336
|
+
requirements:
|
337
|
+
- - ~>
|
338
|
+
- !ruby/object:Gem::Version
|
339
|
+
version: '3.1'
|
340
|
+
- - '>='
|
341
|
+
- !ruby/object:Gem::Version
|
342
|
+
version: 3.11.5
|
343
|
+
- !ruby/object:Gem::Dependency
|
344
|
+
name: pagerduty
|
345
|
+
requirement: !ruby/object:Gem::Requirement
|
346
|
+
requirements:
|
347
|
+
- - ~>
|
348
|
+
- !ruby/object:Gem::Version
|
349
|
+
version: '1.3'
|
350
|
+
- - '>='
|
351
|
+
- !ruby/object:Gem::Version
|
352
|
+
version: 1.3.4
|
353
|
+
type: :runtime
|
354
|
+
prerelease: false
|
355
|
+
version_requirements: !ruby/object:Gem::Requirement
|
356
|
+
requirements:
|
357
|
+
- - ~>
|
358
|
+
- !ruby/object:Gem::Version
|
359
|
+
version: '1.3'
|
360
|
+
- - '>='
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
version: 1.3.4
|
363
|
+
- !ruby/object:Gem::Dependency
|
364
|
+
name: mysql2
|
365
|
+
requirement: !ruby/object:Gem::Requirement
|
366
|
+
requirements:
|
367
|
+
- - ~>
|
368
|
+
- !ruby/object:Gem::Version
|
369
|
+
version: '0.3'
|
370
|
+
- - '>='
|
371
|
+
- !ruby/object:Gem::Version
|
372
|
+
version: 0.3.15
|
373
|
+
type: :runtime
|
374
|
+
prerelease: false
|
375
|
+
version_requirements: !ruby/object:Gem::Requirement
|
376
|
+
requirements:
|
377
|
+
- - ~>
|
378
|
+
- !ruby/object:Gem::Version
|
379
|
+
version: '0.3'
|
380
|
+
- - '>='
|
381
|
+
- !ruby/object:Gem::Version
|
382
|
+
version: 0.3.15
|
383
|
+
- !ruby/object:Gem::Dependency
|
384
|
+
name: bundler
|
385
|
+
requirement: !ruby/object:Gem::Requirement
|
386
|
+
requirements:
|
387
|
+
- - ~>
|
388
|
+
- !ruby/object:Gem::Version
|
389
|
+
version: '1.5'
|
390
|
+
type: :development
|
391
|
+
prerelease: false
|
392
|
+
version_requirements: !ruby/object:Gem::Requirement
|
393
|
+
requirements:
|
394
|
+
- - ~>
|
395
|
+
- !ruby/object:Gem::Version
|
396
|
+
version: '1.5'
|
397
|
+
- !ruby/object:Gem::Dependency
|
398
|
+
name: rake
|
399
|
+
requirement: !ruby/object:Gem::Requirement
|
400
|
+
requirements:
|
401
|
+
- - ~>
|
402
|
+
- !ruby/object:Gem::Version
|
403
|
+
version: '10.1'
|
404
|
+
type: :development
|
405
|
+
prerelease: false
|
406
|
+
version_requirements: !ruby/object:Gem::Requirement
|
407
|
+
requirements:
|
408
|
+
- - ~>
|
409
|
+
- !ruby/object:Gem::Version
|
410
|
+
version: '10.1'
|
411
|
+
- !ruby/object:Gem::Dependency
|
412
|
+
name: rspec
|
413
|
+
requirement: !ruby/object:Gem::Requirement
|
414
|
+
requirements:
|
415
|
+
- - ~>
|
416
|
+
- !ruby/object:Gem::Version
|
417
|
+
version: '2'
|
418
|
+
type: :development
|
419
|
+
prerelease: false
|
420
|
+
version_requirements: !ruby/object:Gem::Requirement
|
421
|
+
requirements:
|
422
|
+
- - ~>
|
423
|
+
- !ruby/object:Gem::Version
|
424
|
+
version: '2'
|
425
|
+
- !ruby/object:Gem::Dependency
|
426
|
+
name: simplecov
|
427
|
+
requirement: !ruby/object:Gem::Requirement
|
428
|
+
requirements:
|
429
|
+
- - ~>
|
430
|
+
- !ruby/object:Gem::Version
|
431
|
+
version: '0.8'
|
432
|
+
type: :development
|
433
|
+
prerelease: false
|
434
|
+
version_requirements: !ruby/object:Gem::Requirement
|
435
|
+
requirements:
|
436
|
+
- - ~>
|
437
|
+
- !ruby/object:Gem::Version
|
438
|
+
version: '0.8'
|
439
|
+
description: "\n The minicron cli is part of the minicron system that aims to make
|
440
|
+
it easier\n to manage and monitor cron jobs.\n\n For more info see the project
|
441
|
+
README on GitHub.\n "
|
442
|
+
email:
|
443
|
+
- dev.jameswhite+minicron@gmail.com
|
444
|
+
executables:
|
445
|
+
- minicron
|
446
|
+
extensions: []
|
447
|
+
extra_rdoc_files: []
|
448
|
+
files:
|
449
|
+
- LICENSE
|
450
|
+
- README.md
|
451
|
+
- Rakefile
|
452
|
+
- bin/minicron
|
453
|
+
- lib/minicron.rb
|
454
|
+
- lib/minicron/alert.rb
|
455
|
+
- lib/minicron/alert/email.rb
|
456
|
+
- lib/minicron/alert/pagerduty.rb
|
457
|
+
- lib/minicron/alert/sms.rb
|
458
|
+
- lib/minicron/cli.rb
|
459
|
+
- lib/minicron/constants.rb
|
460
|
+
- lib/minicron/cron.rb
|
461
|
+
- lib/minicron/hub/app.rb
|
462
|
+
- lib/minicron/hub/assets/app/application.js
|
463
|
+
- lib/minicron/hub/assets/app/components/schedules.js
|
464
|
+
- lib/minicron/hub/assets/app/controllers/executions.js
|
465
|
+
- lib/minicron/hub/assets/app/controllers/hosts.js
|
466
|
+
- lib/minicron/hub/assets/app/controllers/jobs.js
|
467
|
+
- lib/minicron/hub/assets/app/controllers/schedules.js
|
468
|
+
- lib/minicron/hub/assets/app/helpers.js
|
469
|
+
- lib/minicron/hub/assets/app/models/execution.js
|
470
|
+
- lib/minicron/hub/assets/app/models/host.js
|
471
|
+
- lib/minicron/hub/assets/app/models/job.js
|
472
|
+
- lib/minicron/hub/assets/app/models/job_execution_output.js
|
473
|
+
- lib/minicron/hub/assets/app/models/schedule.js
|
474
|
+
- lib/minicron/hub/assets/app/router.js
|
475
|
+
- lib/minicron/hub/assets/app/routes/executions.js
|
476
|
+
- lib/minicron/hub/assets/app/routes/hosts.js
|
477
|
+
- lib/minicron/hub/assets/app/routes/index.js
|
478
|
+
- lib/minicron/hub/assets/app/routes/jobs.js
|
479
|
+
- lib/minicron/hub/assets/app/routes/schedules.js
|
480
|
+
- lib/minicron/hub/assets/css/bootswatch.min.css
|
481
|
+
- lib/minicron/hub/assets/css/main.scss
|
482
|
+
- lib/minicron/hub/assets/fonts/glyphicons-halflings-regular.eot
|
483
|
+
- lib/minicron/hub/assets/fonts/glyphicons-halflings-regular.svg
|
484
|
+
- lib/minicron/hub/assets/fonts/glyphicons-halflings-regular.ttf
|
485
|
+
- lib/minicron/hub/assets/fonts/glyphicons-halflings-regular.woff
|
486
|
+
- lib/minicron/hub/assets/fonts/lato-bold-700.woff
|
487
|
+
- lib/minicron/hub/assets/fonts/lato-italic-400.woff
|
488
|
+
- lib/minicron/hub/assets/fonts/lato-regular-400.woff
|
489
|
+
- lib/minicron/hub/assets/js/ansi_up-1.1.1.min.js
|
490
|
+
- lib/minicron/hub/assets/js/auth/ember-auth-9.0.7.min.js
|
491
|
+
- lib/minicron/hub/assets/js/auth/ember-auth-request-jquery-1.0.3.min.js
|
492
|
+
- lib/minicron/hub/assets/js/bootstrap-3.1.1.min.js
|
493
|
+
- lib/minicron/hub/assets/js/ember-1.4.1.min.js
|
494
|
+
- lib/minicron/hub/assets/js/ember-data-1.0.0-beta.7.f87cba88.min.js
|
495
|
+
- lib/minicron/hub/assets/js/faye-browser-1.0.1.min.js
|
496
|
+
- lib/minicron/hub/assets/js/handlebars-1.3.0.min.js
|
497
|
+
- lib/minicron/hub/assets/js/jquery-2.1.0.min.js
|
498
|
+
- lib/minicron/hub/assets/js/moment-2.5.1.min.js
|
499
|
+
- lib/minicron/hub/controllers/api/executions.rb
|
500
|
+
- lib/minicron/hub/controllers/api/hosts.rb
|
501
|
+
- lib/minicron/hub/controllers/api/job_execution_outputs.rb
|
502
|
+
- lib/minicron/hub/controllers/api/jobs.rb
|
503
|
+
- lib/minicron/hub/controllers/api/schedule.rb
|
504
|
+
- lib/minicron/hub/controllers/index.rb
|
505
|
+
- lib/minicron/hub/db/schema.rb
|
506
|
+
- lib/minicron/hub/db/schema.sql
|
507
|
+
- lib/minicron/hub/models/alert.rb
|
508
|
+
- lib/minicron/hub/models/execution.rb
|
509
|
+
- lib/minicron/hub/models/host.rb
|
510
|
+
- lib/minicron/hub/models/job.rb
|
511
|
+
- lib/minicron/hub/models/job_execution_output.rb
|
512
|
+
- lib/minicron/hub/models/schedule.rb
|
513
|
+
- lib/minicron/hub/serializers/execution.rb
|
514
|
+
- lib/minicron/hub/serializers/host.rb
|
515
|
+
- lib/minicron/hub/serializers/job.rb
|
516
|
+
- lib/minicron/hub/serializers/job_execution_output.rb
|
517
|
+
- lib/minicron/hub/serializers/schedule.rb
|
518
|
+
- lib/minicron/hub/views/handlebars/application.erb
|
519
|
+
- lib/minicron/hub/views/handlebars/errors.erb
|
520
|
+
- lib/minicron/hub/views/handlebars/executions.erb
|
521
|
+
- lib/minicron/hub/views/handlebars/hosts.erb
|
522
|
+
- lib/minicron/hub/views/handlebars/jobs.erb
|
523
|
+
- lib/minicron/hub/views/handlebars/loading.erb
|
524
|
+
- lib/minicron/hub/views/handlebars/schedules.erb
|
525
|
+
- lib/minicron/hub/views/index.erb
|
526
|
+
- lib/minicron/hub/views/layouts/app.erb
|
527
|
+
- lib/minicron/monitor.rb
|
528
|
+
- lib/minicron/transport.rb
|
529
|
+
- lib/minicron/transport/client.rb
|
530
|
+
- lib/minicron/transport/faye/client.rb
|
531
|
+
- lib/minicron/transport/faye/extensions/job_handler.rb
|
532
|
+
- lib/minicron/transport/faye/server.rb
|
533
|
+
- lib/minicron/transport/server.rb
|
534
|
+
- lib/minicron/transport/ssh.rb
|
535
|
+
- spec/invalid_config.toml
|
536
|
+
- spec/minicron/cli_spec.rb
|
537
|
+
- spec/minicron/transport/client_spec.rb
|
538
|
+
- spec/minicron/transport/faye/client_spec.rb
|
539
|
+
- spec/minicron/transport/server_spec.rb
|
540
|
+
- spec/minicron/transport_spec.rb
|
541
|
+
- spec/minicron_spec.rb
|
542
|
+
- spec/spec_helper.rb
|
543
|
+
- spec/valid_config.toml
|
544
|
+
homepage: https://github.com/jamesrwhite/minicron
|
545
|
+
licenses:
|
546
|
+
- GPL-3.0
|
547
|
+
metadata: {}
|
548
|
+
post_install_message: Thanks for installing minicron!
|
549
|
+
rdoc_options: []
|
550
|
+
require_paths:
|
551
|
+
- lib
|
552
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
553
|
+
requirements:
|
554
|
+
- - '>='
|
555
|
+
- !ruby/object:Gem::Version
|
556
|
+
version: 1.9.3
|
557
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
558
|
+
requirements:
|
559
|
+
- - '>='
|
560
|
+
- !ruby/object:Gem::Version
|
561
|
+
version: '0'
|
562
|
+
requirements: []
|
563
|
+
rubyforge_project:
|
564
|
+
rubygems_version: 2.2.2
|
565
|
+
signing_key:
|
566
|
+
specification_version: 4
|
567
|
+
summary: cli for minicron; a system a to manage and monitor cron jobs
|
568
|
+
test_files:
|
569
|
+
- spec/invalid_config.toml
|
570
|
+
- spec/minicron/cli_spec.rb
|
571
|
+
- spec/minicron/transport/client_spec.rb
|
572
|
+
- spec/minicron/transport/faye/client_spec.rb
|
573
|
+
- spec/minicron/transport/server_spec.rb
|
574
|
+
- spec/minicron/transport_spec.rb
|
575
|
+
- spec/minicron_spec.rb
|
576
|
+
- spec/spec_helper.rb
|
577
|
+
- spec/valid_config.toml
|