harbr 0.1.81 → 0.1.82
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/harbr/job.rb +2 -1
- data/lib/harbr/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '028ba5825b5e4969fb9652aa83c380c31c25666f618da2c86a5d93613b209bc4'
|
4
|
+
data.tar.gz: 2f02b269e41fd999bc16ad0520d76f9ea772d7de1f256e0628da66c4f73e45a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9bb90fa673d5001a2ae395791c7a8ca2384a1ab90fb70b0ca8cf70a80ab0edd9b937459f68b5d3b7f1aac60dd2b72e8c083ecf3455c17763d1b86e136204db2
|
7
|
+
data.tar.gz: 55bc8fb8f271de72d974e7e2f45f66b7fd937652a5fc5c1018adcdc85c9a640b8092027005b41e3145adceb1264f51e886fb4844f6458e3edfde6c991ed8cb7f
|
data/lib/harbr/job.rb
CHANGED
@@ -216,7 +216,7 @@ module Harbr
|
|
216
216
|
def initialize(container, port, env)
|
217
217
|
@container_name = container
|
218
218
|
@port = port
|
219
|
-
@env = env
|
219
|
+
@env = env
|
220
220
|
end
|
221
221
|
|
222
222
|
def run_script
|
@@ -238,6 +238,7 @@ module Harbr
|
|
238
238
|
end
|
239
239
|
|
240
240
|
def log_script
|
241
|
+
@env = env == 'current' ? nil : env
|
241
242
|
<<~SCRIPT
|
242
243
|
#!/bin/sh
|
243
244
|
echo "starting log for #{@container_name} on port #{@port}"
|
data/lib/harbr/version.rb
CHANGED