procodile 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/procodile/app_determination.rb +2 -2
- data/lib/procodile/config.rb +1 -1
- data/lib/procodile/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: e6dcf0618a81cc0d780b8136f67bea37b95e3001
|
|
4
|
+
data.tar.gz: 0ea5e88b4bf5d02e9e546da844ca0d93e314b2a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b08aaf4026a62fb4b1d00560f34ca8422ebecda7ff511ebb9cdbc3d1fdb2c2472a825777349924d70c228cec96d371db9a0aba28649ee54b9c2ffd6cd9d5132
|
|
7
|
+
data.tar.gz: 1c30e51c97c11ad6ec1cf2fb55d23ded12f01868a924a0b8dc3d8d6bde4aa38bfe490f53f6b3aa971ef34f35555eb61952c5250de1c6fa73fb991debc05b14f4
|
|
@@ -9,7 +9,7 @@ module Procodile
|
|
|
9
9
|
# to us by the user (from --root and/or --procfile)
|
|
10
10
|
def initialize(pwd, given_root, given_procfile, global_options = {})
|
|
11
11
|
@pwd = pwd
|
|
12
|
-
@given_root = given_root ?
|
|
12
|
+
@given_root = given_root ? expand_path(given_root, pwd) : nil
|
|
13
13
|
@given_procfile = given_procfile
|
|
14
14
|
@global_options = global_options
|
|
15
15
|
calculate
|
|
@@ -112,7 +112,7 @@ module Procodile
|
|
|
112
112
|
def expand_path(path, root = nil)
|
|
113
113
|
# Remove trailing slashes for normalization
|
|
114
114
|
path = path.gsub(/\/\z/, '')
|
|
115
|
-
if path =~
|
|
115
|
+
if path =~ /\A\//
|
|
116
116
|
# If the path starts with a /, it's absolute. Do nothing.
|
|
117
117
|
path
|
|
118
118
|
else
|
data/lib/procodile/config.rb
CHANGED
|
@@ -104,7 +104,7 @@ module Procodile
|
|
|
104
104
|
end
|
|
105
105
|
|
|
106
106
|
def pid_root
|
|
107
|
-
|
|
107
|
+
File.expand_path(local_options['pid_root'] || options['pid_root'] || 'pids', self.root)
|
|
108
108
|
end
|
|
109
109
|
|
|
110
110
|
def supervisor_pid_path
|
data/lib/procodile/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: procodile
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adam Cooke
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-06-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|
|
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
70
70
|
version: '0'
|
|
71
71
|
requirements: []
|
|
72
72
|
rubyforge_project:
|
|
73
|
-
rubygems_version: 2.
|
|
73
|
+
rubygems_version: 2.5.2.3
|
|
74
74
|
signing_key:
|
|
75
75
|
specification_version: 4
|
|
76
76
|
summary: This gem will help you run Ruby processes from a Procfile on Linux servers
|