harbr 0.1.81 → 0.1.83

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: c8e8c297255708987e6eb96de5b195a839e1e66b9ca42ad2b74bdea404350ed3
4
- data.tar.gz: a01591319c5ac05400b18eda6c265055bb8187fa972524465d63e33b5efd30fc
3
+ metadata.gz: facdcd11bc99e8446e63f238f26887c463b3e43e1774a3d55e01b84db1deb544
4
+ data.tar.gz: 57e4363de2ae148056ae3c68b7bb5018e8860630cd54feda08d91d267e17f2e1
5
5
  SHA512:
6
- metadata.gz: 74d90e8e3b0c260e62dfd640443b785162f5d637b6fe564ef0af1aabedb116ddfa86ccc89429eed88679844148fba9eeb4bd204a0104400dba62077b97662340
7
- data.tar.gz: 293b1f07d5de4337fea92dd693fe83c61940e01c2a981449e5e8ef512b36a7ddf33af833055eb5da44b5ef5f03c01435e4bd9bb63aa27cc8fc25a27b3a6486dd
6
+ metadata.gz: 6916c71a469ab13b6c67ac85fff8f4668252ae8a670727f273bc71d9394dee07d3d3017f56128a27b49a70450504232338911d26fc1474c062124bfaecd14da9
7
+ data.tar.gz: 43fbf57d32578cfe257a65b5308f79607beb2eb50edf4942219852386c81e44d5c9a422b2952eaa1cc2a7683df78382f191b5dd83d57d66fef64873040469a5d
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 == 'current' ? nil : env
219
+ @env = env
220
220
  end
221
221
 
222
222
  def run_script
@@ -238,10 +238,11 @@ 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}"
244
- exec svlogd -tt /var/log/harbr/#{@container_name}/#{@env}
245
+ exec svlogd -tt /var/log/harbr/#{@container_name}/#{env}
245
246
  SCRIPT
246
247
  end
247
248
  end
data/lib/harbr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Harbr
4
- VERSION = "0.1.81"
4
+ VERSION = "0.1.83"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harbr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.81
4
+ version: 0.1.83
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delaney Kuldvee Burke