overmind 0.1.2 → 2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/overmind +1 -2
- data/lib/overmind/cli.rb +3 -7
- data/lib/overmind/version.rb +1 -1
- data/libexec/overmind +0 -0
- data/overmind.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cab4503a73fa5d44da9e03cd5176c6662b02ac285a5eb7225b2a2a30e8733760
|
4
|
+
data.tar.gz: 1f44dfdc20d47e456d6a164780577d4a8623dd93338fd3ccca1d82716bb8b780
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75e0f99404a713a3fd8082f1bd6cf575d1d52ea3f6a3f3b78dbfe33067c80225262a9b19d3ebb3cb1dea44ffd14b7f7c0166549d92a77a8874f5989042622854
|
7
|
+
data.tar.gz: d7798734783e446237abd34836556f7d8026449dd2506c230841ab7299ae3f49cd16ec611fcd23273be7fa1a0b0f4977d163bbda07836861a0240e06e37ed22e
|
data/bin/overmind
CHANGED
data/lib/overmind/cli.rb
CHANGED
@@ -21,14 +21,10 @@ module Overmind
|
|
21
21
|
args = args.map { |x| x.include?(" ") ? "'#{x}'" : x }
|
22
22
|
|
23
23
|
# Use prebuild tmux if found
|
24
|
-
path_with_tmux = File.exist?(TMUX_PATH) ? "#{ENV["PATH"]}
|
24
|
+
path_with_tmux = File.exist?(TMUX_PATH) ? "#{TMUX_FOLDER_PATH}:#{ENV["PATH"]}" : ENV["PATH"]
|
25
25
|
|
26
|
-
#
|
27
|
-
|
28
|
-
|
29
|
-
Process.wait(pid)
|
30
|
-
|
31
|
-
$?.exitstatus
|
26
|
+
# exec the Overmind process with modified PATH if necessary
|
27
|
+
exec({"PATH" => path_with_tmux}, "#{OVERMIND_PATH} #{args.join(" ")}")
|
32
28
|
end
|
33
29
|
|
34
30
|
private
|
data/lib/overmind/version.rb
CHANGED
data/libexec/overmind
CHANGED
Binary file
|
data/overmind.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.description = "Overmind is a process manager for Procfile-based applications and tmux."
|
13
13
|
spec.homepage = "https://github.com/DarthSim/overmind"
|
14
14
|
spec.license = "MIT"
|
15
|
-
spec.required_ruby_version = ">=
|
15
|
+
spec.required_ruby_version = ">= 2.3"
|
16
16
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
18
|
spec.metadata["source_code_uri"] = "https://github.com/DarthSim/overmind"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: overmind
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- prog-supdex
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -83,14 +83,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
83
|
requirements:
|
84
84
|
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: '
|
86
|
+
version: '2.3'
|
87
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - ">="
|
90
90
|
- !ruby/object:Gem::Version
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
|
-
rubygems_version: 3.
|
93
|
+
rubygems_version: 3.2.3
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: Overmind is a process manager for Procfile-based applications and tmux.
|