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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d4b714b3ce2bcb7fb268003f002c221953b04a98cec9084c5f657d1bda8c7fe
4
- data.tar.gz: 9f2e48449f435e3a8b086396fc5eafa5eda07c1905e37bdf98cc4060fc980b3f
3
+ metadata.gz: cab4503a73fa5d44da9e03cd5176c6662b02ac285a5eb7225b2a2a30e8733760
4
+ data.tar.gz: 1f44dfdc20d47e456d6a164780577d4a8623dd93338fd3ccca1d82716bb8b780
5
5
  SHA512:
6
- metadata.gz: fcdce91bc27208c95941f1e1231967726a7addf46d63139712bddcc4630c50852844d79b57d2f616f99caf08455d3cd5f03cc0a927f8feee9bc09c090fd55245
7
- data.tar.gz: 14ff0a0ca8d866318f48d31340d22c85feb7e5cbdaf486010530be5a6f1c9535861069ed9f05fc8279c16f8cf9dd77ab827c2fa8ef2ae5435cd03e2be9dc33aa
6
+ metadata.gz: 75e0f99404a713a3fd8082f1bd6cf575d1d52ea3f6a3f3b78dbfe33067c80225262a9b19d3ebb3cb1dea44ffd14b7f7c0166549d92a77a8874f5989042622854
7
+ data.tar.gz: d7798734783e446237abd34836556f7d8026449dd2506c230841ab7299ae3f49cd16ec611fcd23273be7fa1a0b0f4977d163bbda07836861a0240e06e37ed22e
data/bin/overmind CHANGED
@@ -5,8 +5,7 @@ require 'overmind/cli'
5
5
 
6
6
  begin
7
7
  cli = Overmind::CLI.new
8
- exit_code = cli.run(ARGV)
9
- exit exit_code
8
+ cli.run(ARGV)
10
9
  rescue StandardError => e
11
10
  warn e.message
12
11
  exit 1
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"]}:#{TMUX_FOLDER_PATH}" : ENV["PATH"]
24
+ path_with_tmux = File.exist?(TMUX_PATH) ? "#{TMUX_FOLDER_PATH}:#{ENV["PATH"]}" : ENV["PATH"]
25
25
 
26
- # Spawns the Overmind process with modified PATH if necessary
27
- pid = spawn({"PATH" => path_with_tmux}, "#{OVERMIND_PATH} #{args.join(" ")}")
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Overmind
4
- VERSION = "0.1.2"
4
+ VERSION = "2.5.1"
5
5
  end
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 = ">= 0"
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: 0.1.2
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-03-11 00:00:00.000000000 Z
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: '0'
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.4.21
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.