service_skeleton 1.0.2 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git-blame-ignore-revs +2 -0
- data/.github/workflows/ci.yml +32 -17
- data/.gitignore +0 -7
- data/.rubocop.yml +6 -0
- data/README.md +1 -53
- data/lib/service_skeleton/config.rb +20 -13
- data/lib/service_skeleton/generator.rb +4 -4
- data/lib/service_skeleton/runner.rb +3 -3
- data/lib/service_skeleton/signal_manager.rb +1 -1
- data/lib/service_skeleton/ultravisor_loggerstash.rb +9 -1
- data/service_skeleton.gemspec +4 -14
- data/ultravisor/.yardopts +1 -0
- data/ultravisor/Guardfile +9 -0
- data/ultravisor/README.md +404 -0
- data/ultravisor/lib/ultravisor.rb +216 -0
- data/ultravisor/lib/ultravisor/child.rb +485 -0
- data/ultravisor/lib/ultravisor/child/call.rb +21 -0
- data/ultravisor/lib/ultravisor/child/call_receiver.rb +14 -0
- data/ultravisor/lib/ultravisor/child/cast.rb +16 -0
- data/ultravisor/lib/ultravisor/child/cast_receiver.rb +11 -0
- data/ultravisor/lib/ultravisor/child/process_cast_call.rb +39 -0
- data/ultravisor/lib/ultravisor/error.rb +25 -0
- data/ultravisor/lib/ultravisor/logging_helpers.rb +32 -0
- data/ultravisor/spec/example_group_methods.rb +19 -0
- data/ultravisor/spec/example_methods.rb +8 -0
- data/ultravisor/spec/spec_helper.rb +56 -0
- data/ultravisor/spec/ultravisor/add_child_spec.rb +79 -0
- data/ultravisor/spec/ultravisor/child/call_spec.rb +121 -0
- data/ultravisor/spec/ultravisor/child/cast_spec.rb +111 -0
- data/ultravisor/spec/ultravisor/child/id_spec.rb +21 -0
- data/ultravisor/spec/ultravisor/child/new_spec.rb +152 -0
- data/ultravisor/spec/ultravisor/child/restart_delay_spec.rb +40 -0
- data/ultravisor/spec/ultravisor/child/restart_spec.rb +70 -0
- data/ultravisor/spec/ultravisor/child/run_spec.rb +95 -0
- data/ultravisor/spec/ultravisor/child/shutdown_spec.rb +124 -0
- data/ultravisor/spec/ultravisor/child/spawn_spec.rb +216 -0
- data/ultravisor/spec/ultravisor/child/unsafe_instance_spec.rb +55 -0
- data/ultravisor/spec/ultravisor/child/wait_spec.rb +32 -0
- data/ultravisor/spec/ultravisor/new_spec.rb +71 -0
- data/ultravisor/spec/ultravisor/remove_child_spec.rb +49 -0
- data/ultravisor/spec/ultravisor/run_spec.rb +334 -0
- data/ultravisor/spec/ultravisor/shutdown_spec.rb +106 -0
- metadata +43 -59
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: service_skeleton
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Palmer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-03-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: frankenstein
|
@@ -29,20 +29,14 @@ dependencies:
|
|
29
29
|
name: loggerstash
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: 0.0.9
|
35
|
-
- - "<"
|
32
|
+
- - "~>"
|
36
33
|
- !ruby/object:Gem::Version
|
37
34
|
version: '1'
|
38
35
|
type: :runtime
|
39
36
|
prerelease: false
|
40
37
|
version_requirements: !ruby/object:Gem::Requirement
|
41
38
|
requirements:
|
42
|
-
- - "
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: 0.0.9
|
45
|
-
- - "<"
|
39
|
+
- - "~>"
|
46
40
|
- !ruby/object:Gem::Version
|
47
41
|
version: '1'
|
48
42
|
- !ruby/object:Gem::Dependency
|
@@ -88,41 +82,13 @@ dependencies:
|
|
88
82
|
- !ruby/object:Gem::Version
|
89
83
|
version: '0.2'
|
90
84
|
- !ruby/object:Gem::Dependency
|
91
|
-
name:
|
92
|
-
requirement: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 0.a
|
97
|
-
type: :runtime
|
98
|
-
prerelease: false
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 0.a
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: bundler
|
85
|
+
name: webrick
|
106
86
|
requirement: !ruby/object:Gem::Requirement
|
107
87
|
requirements:
|
108
88
|
- - ">="
|
109
89
|
- !ruby/object:Gem::Version
|
110
90
|
version: '0'
|
111
|
-
type: :
|
112
|
-
prerelease: false
|
113
|
-
version_requirements: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
- !ruby/object:Gem::Dependency
|
119
|
-
name: github-release
|
120
|
-
requirement: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
type: :development
|
91
|
+
type: :runtime
|
126
92
|
prerelease: false
|
127
93
|
version_requirements: !ruby/object:Gem::Requirement
|
128
94
|
requirements:
|
@@ -130,7 +96,7 @@ dependencies:
|
|
130
96
|
- !ruby/object:Gem::Version
|
131
97
|
version: '0'
|
132
98
|
- !ruby/object:Gem::Dependency
|
133
|
-
name:
|
99
|
+
name: bundler
|
134
100
|
requirement: !ruby/object:Gem::Requirement
|
135
101
|
requirements:
|
136
102
|
- - ">="
|
@@ -227,34 +193,20 @@ dependencies:
|
|
227
193
|
- - ">="
|
228
194
|
- !ruby/object:Gem::Version
|
229
195
|
version: '0'
|
230
|
-
- !ruby/object:Gem::Dependency
|
231
|
-
name: rubocop
|
232
|
-
requirement: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - ">="
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: '0'
|
237
|
-
type: :development
|
238
|
-
prerelease: false
|
239
|
-
version_requirements: !ruby/object:Gem::Requirement
|
240
|
-
requirements:
|
241
|
-
- - ">="
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
version: '0'
|
244
196
|
- !ruby/object:Gem::Dependency
|
245
197
|
name: rubocop-discourse
|
246
198
|
requirement: !ruby/object:Gem::Requirement
|
247
199
|
requirements:
|
248
|
-
- - "
|
200
|
+
- - "~>"
|
249
201
|
- !ruby/object:Gem::Version
|
250
|
-
version:
|
202
|
+
version: 2.4.1
|
251
203
|
type: :development
|
252
204
|
prerelease: false
|
253
205
|
version_requirements: !ruby/object:Gem::Requirement
|
254
206
|
requirements:
|
255
|
-
- - "
|
207
|
+
- - "~>"
|
256
208
|
- !ruby/object:Gem::Version
|
257
|
-
version:
|
209
|
+
version: 2.4.1
|
258
210
|
- !ruby/object:Gem::Dependency
|
259
211
|
name: simplecov
|
260
212
|
requirement: !ruby/object:Gem::Requirement
|
@@ -297,6 +249,7 @@ extensions: []
|
|
297
249
|
extra_rdoc_files: []
|
298
250
|
files:
|
299
251
|
- ".editorconfig"
|
252
|
+
- ".git-blame-ignore-revs"
|
300
253
|
- ".github/workflows/ci.yml"
|
301
254
|
- ".gitignore"
|
302
255
|
- ".rubocop.yml"
|
@@ -332,6 +285,37 @@ files:
|
|
332
285
|
- lib/service_skeleton/ultravisor_children.rb
|
333
286
|
- lib/service_skeleton/ultravisor_loggerstash.rb
|
334
287
|
- service_skeleton.gemspec
|
288
|
+
- ultravisor/.yardopts
|
289
|
+
- ultravisor/Guardfile
|
290
|
+
- ultravisor/README.md
|
291
|
+
- ultravisor/lib/ultravisor.rb
|
292
|
+
- ultravisor/lib/ultravisor/child.rb
|
293
|
+
- ultravisor/lib/ultravisor/child/call.rb
|
294
|
+
- ultravisor/lib/ultravisor/child/call_receiver.rb
|
295
|
+
- ultravisor/lib/ultravisor/child/cast.rb
|
296
|
+
- ultravisor/lib/ultravisor/child/cast_receiver.rb
|
297
|
+
- ultravisor/lib/ultravisor/child/process_cast_call.rb
|
298
|
+
- ultravisor/lib/ultravisor/error.rb
|
299
|
+
- ultravisor/lib/ultravisor/logging_helpers.rb
|
300
|
+
- ultravisor/spec/example_group_methods.rb
|
301
|
+
- ultravisor/spec/example_methods.rb
|
302
|
+
- ultravisor/spec/spec_helper.rb
|
303
|
+
- ultravisor/spec/ultravisor/add_child_spec.rb
|
304
|
+
- ultravisor/spec/ultravisor/child/call_spec.rb
|
305
|
+
- ultravisor/spec/ultravisor/child/cast_spec.rb
|
306
|
+
- ultravisor/spec/ultravisor/child/id_spec.rb
|
307
|
+
- ultravisor/spec/ultravisor/child/new_spec.rb
|
308
|
+
- ultravisor/spec/ultravisor/child/restart_delay_spec.rb
|
309
|
+
- ultravisor/spec/ultravisor/child/restart_spec.rb
|
310
|
+
- ultravisor/spec/ultravisor/child/run_spec.rb
|
311
|
+
- ultravisor/spec/ultravisor/child/shutdown_spec.rb
|
312
|
+
- ultravisor/spec/ultravisor/child/spawn_spec.rb
|
313
|
+
- ultravisor/spec/ultravisor/child/unsafe_instance_spec.rb
|
314
|
+
- ultravisor/spec/ultravisor/child/wait_spec.rb
|
315
|
+
- ultravisor/spec/ultravisor/new_spec.rb
|
316
|
+
- ultravisor/spec/ultravisor/remove_child_spec.rb
|
317
|
+
- ultravisor/spec/ultravisor/run_spec.rb
|
318
|
+
- ultravisor/spec/ultravisor/shutdown_spec.rb
|
335
319
|
homepage: https://github.com/discourse/service_skeleton
|
336
320
|
licenses: []
|
337
321
|
metadata: {}
|