overman 0.0.1 → 0.88.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +54 -0
  3. data/bin/foreman-runner +41 -0
  4. data/bin/overman +7 -0
  5. data/data/example/Procfile +4 -0
  6. data/data/example/Procfile.without_colon +2 -0
  7. data/data/example/error +7 -0
  8. data/data/example/log/neverdie.log +4 -0
  9. data/data/example/spawnee +14 -0
  10. data/data/example/spawner +7 -0
  11. data/data/example/ticker +14 -0
  12. data/data/example/utf8 +11 -0
  13. data/data/export/bluepill/master.pill.erb +28 -0
  14. data/data/export/daemon/master.conf.erb +14 -0
  15. data/data/export/daemon/process.conf.erb +8 -0
  16. data/data/export/daemon/process_master.conf.erb +2 -0
  17. data/data/export/launchd/launchd.plist.erb +33 -0
  18. data/data/export/runit/log/run.erb +7 -0
  19. data/data/export/runit/run.erb +4 -0
  20. data/data/export/supervisord/app.conf.erb +31 -0
  21. data/data/export/systemd/master.target.erb +5 -0
  22. data/data/export/systemd/process.service.erb +21 -0
  23. data/data/export/upstart/master.conf.erb +2 -0
  24. data/data/export/upstart/process.conf.erb +15 -0
  25. data/data/export/upstart/process_master.conf.erb +2 -0
  26. data/lib/foreman/cli.rb +167 -0
  27. data/lib/foreman/distribution.rb +9 -0
  28. data/lib/foreman/engine/cli.rb +105 -0
  29. data/lib/foreman/engine.rb +494 -0
  30. data/lib/foreman/env.rb +29 -0
  31. data/lib/foreman/export/base.rb +170 -0
  32. data/lib/foreman/export/bluepill.rb +12 -0
  33. data/lib/foreman/export/daemon.rb +28 -0
  34. data/lib/foreman/export/inittab.rb +42 -0
  35. data/lib/foreman/export/launchd.rb +22 -0
  36. data/lib/foreman/export/runit.rb +34 -0
  37. data/lib/foreman/export/supervisord.rb +16 -0
  38. data/lib/foreman/export/systemd.rb +34 -0
  39. data/lib/foreman/export/upstart.rb +46 -0
  40. data/lib/foreman/export.rb +36 -0
  41. data/lib/foreman/helpers.rb +45 -0
  42. data/lib/foreman/process.rb +81 -0
  43. data/lib/foreman/procfile.rb +100 -0
  44. data/lib/foreman/vendor/thor/lib/thor/actions/create_file.rb +103 -0
  45. data/lib/foreman/vendor/thor/lib/thor/actions/create_link.rb +59 -0
  46. data/lib/foreman/vendor/thor/lib/thor/actions/directory.rb +118 -0
  47. data/lib/foreman/vendor/thor/lib/thor/actions/empty_directory.rb +135 -0
  48. data/lib/foreman/vendor/thor/lib/thor/actions/file_manipulation.rb +327 -0
  49. data/lib/foreman/vendor/thor/lib/thor/actions/inject_into_file.rb +103 -0
  50. data/lib/foreman/vendor/thor/lib/thor/actions.rb +318 -0
  51. data/lib/foreman/vendor/thor/lib/thor/base.rb +656 -0
  52. data/lib/foreman/vendor/thor/lib/thor/command.rb +133 -0
  53. data/lib/foreman/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +85 -0
  54. data/lib/foreman/vendor/thor/lib/thor/core_ext/io_binary_read.rb +12 -0
  55. data/lib/foreman/vendor/thor/lib/thor/core_ext/ordered_hash.rb +129 -0
  56. data/lib/foreman/vendor/thor/lib/thor/error.rb +32 -0
  57. data/lib/foreman/vendor/thor/lib/thor/group.rb +281 -0
  58. data/lib/foreman/vendor/thor/lib/thor/invocation.rb +177 -0
  59. data/lib/foreman/vendor/thor/lib/thor/line_editor/basic.rb +35 -0
  60. data/lib/foreman/vendor/thor/lib/thor/line_editor/readline.rb +88 -0
  61. data/lib/foreman/vendor/thor/lib/thor/line_editor.rb +17 -0
  62. data/lib/foreman/vendor/thor/lib/thor/parser/argument.rb +70 -0
  63. data/lib/foreman/vendor/thor/lib/thor/parser/arguments.rb +175 -0
  64. data/lib/foreman/vendor/thor/lib/thor/parser/option.rb +146 -0
  65. data/lib/foreman/vendor/thor/lib/thor/parser/options.rb +220 -0
  66. data/lib/foreman/vendor/thor/lib/thor/parser.rb +4 -0
  67. data/lib/foreman/vendor/thor/lib/thor/rake_compat.rb +71 -0
  68. data/lib/foreman/vendor/thor/lib/thor/runner.rb +322 -0
  69. data/lib/foreman/vendor/thor/lib/thor/shell/basic.rb +436 -0
  70. data/lib/foreman/vendor/thor/lib/thor/shell/color.rb +149 -0
  71. data/lib/foreman/vendor/thor/lib/thor/shell/html.rb +126 -0
  72. data/lib/foreman/vendor/thor/lib/thor/shell.rb +81 -0
  73. data/lib/foreman/vendor/thor/lib/thor/util.rb +268 -0
  74. data/lib/foreman/vendor/thor/lib/thor/version.rb +3 -0
  75. data/lib/foreman/vendor/thor/lib/thor.rb +492 -0
  76. data/lib/foreman/version.rb +5 -0
  77. data/lib/foreman.rb +17 -0
  78. data/man/overman.1 +181 -0
  79. data/spec/foreman/cli_spec.rb +111 -0
  80. data/spec/foreman/engine_spec.rb +114 -0
  81. data/spec/foreman/export/base_spec.rb +19 -0
  82. data/spec/foreman/export/bluepill_spec.rb +37 -0
  83. data/spec/foreman/export/daemon_spec.rb +97 -0
  84. data/spec/foreman/export/inittab_spec.rb +40 -0
  85. data/spec/foreman/export/launchd_spec.rb +31 -0
  86. data/spec/foreman/export/runit_spec.rb +36 -0
  87. data/spec/foreman/export/supervisord_spec.rb +38 -0
  88. data/spec/foreman/export/systemd_spec.rb +155 -0
  89. data/spec/foreman/export/upstart_spec.rb +118 -0
  90. data/spec/foreman/export_spec.rb +24 -0
  91. data/spec/foreman/helpers_spec.rb +26 -0
  92. data/spec/foreman/process_spec.rb +70 -0
  93. data/spec/foreman/procfile_spec.rb +65 -0
  94. data/spec/foreman_spec.rb +16 -0
  95. data/spec/helper_spec.rb +19 -0
  96. data/spec/resources/Procfile +5 -0
  97. data/spec/resources/Procfile.bad +2 -0
  98. data/spec/resources/bin/echo +2 -0
  99. data/spec/resources/bin/env +2 -0
  100. data/spec/resources/bin/test +2 -0
  101. data/spec/resources/bin/utf8 +2 -0
  102. data/spec/resources/export/bluepill/app-concurrency.pill +49 -0
  103. data/spec/resources/export/bluepill/app.pill +81 -0
  104. data/spec/resources/export/daemon/app-alpha-1.conf +7 -0
  105. data/spec/resources/export/daemon/app-alpha-2.conf +7 -0
  106. data/spec/resources/export/daemon/app-alpha.conf +2 -0
  107. data/spec/resources/export/daemon/app-bravo-1.conf +7 -0
  108. data/spec/resources/export/daemon/app-bravo.conf +2 -0
  109. data/spec/resources/export/daemon/app.conf +14 -0
  110. data/spec/resources/export/inittab/inittab.concurrency +4 -0
  111. data/spec/resources/export/inittab/inittab.default +6 -0
  112. data/spec/resources/export/launchd/launchd-a.default +29 -0
  113. data/spec/resources/export/launchd/launchd-b.default +29 -0
  114. data/spec/resources/export/launchd/launchd-c.default +30 -0
  115. data/spec/resources/export/runit/app-alpha-1/log/run +7 -0
  116. data/spec/resources/export/runit/app-alpha-1/run +4 -0
  117. data/spec/resources/export/runit/app-alpha-2/log/run +7 -0
  118. data/spec/resources/export/runit/app-alpha-2/run +4 -0
  119. data/spec/resources/export/runit/app-bravo-1/log/run +7 -0
  120. data/spec/resources/export/runit/app-bravo-1/run +4 -0
  121. data/spec/resources/export/supervisord/app-alpha-1.conf +42 -0
  122. data/spec/resources/export/supervisord/app-alpha-2.conf +22 -0
  123. data/spec/resources/export/systemd/app-alpha.1.service +18 -0
  124. data/spec/resources/export/systemd/app-alpha.2.service +18 -0
  125. data/spec/resources/export/systemd/app-alpha.target +2 -0
  126. data/spec/resources/export/systemd/app-bravo.1.service +18 -0
  127. data/spec/resources/export/systemd/app-bravo.target +2 -0
  128. data/spec/resources/export/systemd/app.target +5 -0
  129. data/spec/resources/export/upstart/app-alpha-1.conf +11 -0
  130. data/spec/resources/export/upstart/app-alpha-2.conf +11 -0
  131. data/spec/resources/export/upstart/app-alpha.conf +2 -0
  132. data/spec/resources/export/upstart/app-bravo-1.conf +11 -0
  133. data/spec/resources/export/upstart/app-bravo.conf +2 -0
  134. data/spec/resources/export/upstart/app.conf +2 -0
  135. data/spec/spec_helper.rb +190 -0
  136. metadata +144 -16
  137. data/lib/overman/version.rb +0 -5
  138. data/lib/overman.rb +0 -1
metadata CHANGED
@@ -1,30 +1,159 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: overman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.88.1
5
5
  platform: ruby
6
6
  authors:
7
- - Patrik Ragnarsson
8
- autorequire:
7
+ - David Dollar
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2021-09-23 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
12
11
  dependencies: []
13
- description: Coming soon, we hope.
14
- email:
15
- - patrik@starkast.net
16
- executables: []
12
+ description: Process manager for applications with multiple components, fork of ddollar/foreman
13
+ email: ddollar@gmail.com
14
+ executables:
15
+ - overman
17
16
  extensions: []
18
17
  extra_rdoc_files: []
19
18
  files:
20
19
  - README.md
21
- - lib/overman.rb
22
- - lib/overman/version.rb
23
- homepage: https://github.com/dentarg/overman
20
+ - bin/foreman-runner
21
+ - bin/overman
22
+ - data/example/Procfile
23
+ - data/example/Procfile.without_colon
24
+ - data/example/error
25
+ - data/example/log/neverdie.log
26
+ - data/example/spawnee
27
+ - data/example/spawner
28
+ - data/example/ticker
29
+ - data/example/utf8
30
+ - data/export/bluepill/master.pill.erb
31
+ - data/export/daemon/master.conf.erb
32
+ - data/export/daemon/process.conf.erb
33
+ - data/export/daemon/process_master.conf.erb
34
+ - data/export/launchd/launchd.plist.erb
35
+ - data/export/runit/log/run.erb
36
+ - data/export/runit/run.erb
37
+ - data/export/supervisord/app.conf.erb
38
+ - data/export/systemd/master.target.erb
39
+ - data/export/systemd/process.service.erb
40
+ - data/export/upstart/master.conf.erb
41
+ - data/export/upstart/process.conf.erb
42
+ - data/export/upstart/process_master.conf.erb
43
+ - lib/foreman.rb
44
+ - lib/foreman/cli.rb
45
+ - lib/foreman/distribution.rb
46
+ - lib/foreman/engine.rb
47
+ - lib/foreman/engine/cli.rb
48
+ - lib/foreman/env.rb
49
+ - lib/foreman/export.rb
50
+ - lib/foreman/export/base.rb
51
+ - lib/foreman/export/bluepill.rb
52
+ - lib/foreman/export/daemon.rb
53
+ - lib/foreman/export/inittab.rb
54
+ - lib/foreman/export/launchd.rb
55
+ - lib/foreman/export/runit.rb
56
+ - lib/foreman/export/supervisord.rb
57
+ - lib/foreman/export/systemd.rb
58
+ - lib/foreman/export/upstart.rb
59
+ - lib/foreman/helpers.rb
60
+ - lib/foreman/process.rb
61
+ - lib/foreman/procfile.rb
62
+ - lib/foreman/vendor/thor/lib/thor.rb
63
+ - lib/foreman/vendor/thor/lib/thor/actions.rb
64
+ - lib/foreman/vendor/thor/lib/thor/actions/create_file.rb
65
+ - lib/foreman/vendor/thor/lib/thor/actions/create_link.rb
66
+ - lib/foreman/vendor/thor/lib/thor/actions/directory.rb
67
+ - lib/foreman/vendor/thor/lib/thor/actions/empty_directory.rb
68
+ - lib/foreman/vendor/thor/lib/thor/actions/file_manipulation.rb
69
+ - lib/foreman/vendor/thor/lib/thor/actions/inject_into_file.rb
70
+ - lib/foreman/vendor/thor/lib/thor/base.rb
71
+ - lib/foreman/vendor/thor/lib/thor/command.rb
72
+ - lib/foreman/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb
73
+ - lib/foreman/vendor/thor/lib/thor/core_ext/io_binary_read.rb
74
+ - lib/foreman/vendor/thor/lib/thor/core_ext/ordered_hash.rb
75
+ - lib/foreman/vendor/thor/lib/thor/error.rb
76
+ - lib/foreman/vendor/thor/lib/thor/group.rb
77
+ - lib/foreman/vendor/thor/lib/thor/invocation.rb
78
+ - lib/foreman/vendor/thor/lib/thor/line_editor.rb
79
+ - lib/foreman/vendor/thor/lib/thor/line_editor/basic.rb
80
+ - lib/foreman/vendor/thor/lib/thor/line_editor/readline.rb
81
+ - lib/foreman/vendor/thor/lib/thor/parser.rb
82
+ - lib/foreman/vendor/thor/lib/thor/parser/argument.rb
83
+ - lib/foreman/vendor/thor/lib/thor/parser/arguments.rb
84
+ - lib/foreman/vendor/thor/lib/thor/parser/option.rb
85
+ - lib/foreman/vendor/thor/lib/thor/parser/options.rb
86
+ - lib/foreman/vendor/thor/lib/thor/rake_compat.rb
87
+ - lib/foreman/vendor/thor/lib/thor/runner.rb
88
+ - lib/foreman/vendor/thor/lib/thor/shell.rb
89
+ - lib/foreman/vendor/thor/lib/thor/shell/basic.rb
90
+ - lib/foreman/vendor/thor/lib/thor/shell/color.rb
91
+ - lib/foreman/vendor/thor/lib/thor/shell/html.rb
92
+ - lib/foreman/vendor/thor/lib/thor/util.rb
93
+ - lib/foreman/vendor/thor/lib/thor/version.rb
94
+ - lib/foreman/version.rb
95
+ - man/overman.1
96
+ - spec/foreman/cli_spec.rb
97
+ - spec/foreman/engine_spec.rb
98
+ - spec/foreman/export/base_spec.rb
99
+ - spec/foreman/export/bluepill_spec.rb
100
+ - spec/foreman/export/daemon_spec.rb
101
+ - spec/foreman/export/inittab_spec.rb
102
+ - spec/foreman/export/launchd_spec.rb
103
+ - spec/foreman/export/runit_spec.rb
104
+ - spec/foreman/export/supervisord_spec.rb
105
+ - spec/foreman/export/systemd_spec.rb
106
+ - spec/foreman/export/upstart_spec.rb
107
+ - spec/foreman/export_spec.rb
108
+ - spec/foreman/helpers_spec.rb
109
+ - spec/foreman/process_spec.rb
110
+ - spec/foreman/procfile_spec.rb
111
+ - spec/foreman_spec.rb
112
+ - spec/helper_spec.rb
113
+ - spec/resources/Procfile
114
+ - spec/resources/Procfile.bad
115
+ - spec/resources/bin/echo
116
+ - spec/resources/bin/env
117
+ - spec/resources/bin/test
118
+ - spec/resources/bin/utf8
119
+ - spec/resources/export/bluepill/app-concurrency.pill
120
+ - spec/resources/export/bluepill/app.pill
121
+ - spec/resources/export/daemon/app-alpha-1.conf
122
+ - spec/resources/export/daemon/app-alpha-2.conf
123
+ - spec/resources/export/daemon/app-alpha.conf
124
+ - spec/resources/export/daemon/app-bravo-1.conf
125
+ - spec/resources/export/daemon/app-bravo.conf
126
+ - spec/resources/export/daemon/app.conf
127
+ - spec/resources/export/inittab/inittab.concurrency
128
+ - spec/resources/export/inittab/inittab.default
129
+ - spec/resources/export/launchd/launchd-a.default
130
+ - spec/resources/export/launchd/launchd-b.default
131
+ - spec/resources/export/launchd/launchd-c.default
132
+ - spec/resources/export/runit/app-alpha-1/log/run
133
+ - spec/resources/export/runit/app-alpha-1/run
134
+ - spec/resources/export/runit/app-alpha-2/log/run
135
+ - spec/resources/export/runit/app-alpha-2/run
136
+ - spec/resources/export/runit/app-bravo-1/log/run
137
+ - spec/resources/export/runit/app-bravo-1/run
138
+ - spec/resources/export/supervisord/app-alpha-1.conf
139
+ - spec/resources/export/supervisord/app-alpha-2.conf
140
+ - spec/resources/export/systemd/app-alpha.1.service
141
+ - spec/resources/export/systemd/app-alpha.2.service
142
+ - spec/resources/export/systemd/app-alpha.target
143
+ - spec/resources/export/systemd/app-bravo.1.service
144
+ - spec/resources/export/systemd/app-bravo.target
145
+ - spec/resources/export/systemd/app.target
146
+ - spec/resources/export/upstart/app-alpha-1.conf
147
+ - spec/resources/export/upstart/app-alpha-2.conf
148
+ - spec/resources/export/upstart/app-alpha.conf
149
+ - spec/resources/export/upstart/app-bravo-1.conf
150
+ - spec/resources/export/upstart/app-bravo.conf
151
+ - spec/resources/export/upstart/app.conf
152
+ - spec/spec_helper.rb
153
+ homepage: https://github.com/spinels/overman
24
154
  licenses:
25
155
  - MIT
26
156
  metadata: {}
27
- post_install_message:
28
157
  rdoc_options: []
29
158
  require_paths:
30
159
  - lib
@@ -32,15 +161,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
32
161
  requirements:
33
162
  - - ">="
34
163
  - !ruby/object:Gem::Version
35
- version: 2.4.3
164
+ version: 2.3.8
36
165
  required_rubygems_version: !ruby/object:Gem::Requirement
37
166
  requirements:
38
167
  - - ">="
39
168
  - !ruby/object:Gem::Version
40
169
  version: '0'
41
170
  requirements: []
42
- rubygems_version: 3.2.22
43
- signing_key:
171
+ rubygems_version: 3.6.2
44
172
  specification_version: 4
45
- summary: Coming soon.
173
+ summary: Process manager for applications with multiple components, fork of ddollar/foreman
46
174
  test_files: []
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Overman
4
- VERSION = "0.0.1".freeze
5
- end
data/lib/overman.rb DELETED
@@ -1 +0,0 @@
1
- require_relative "overman/version"