harbr 0.1.58 → 0.1.60

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: 80c5ece972d512aa2f5a7b1dd0e84d81af18f41439bfe8b3e6f01bb3b800e8ca
4
- data.tar.gz: 98b20e9531b68b7a25fd7af55b4475fb74f1fefb1f8b1a4f049d814e5c9f9bd6
3
+ metadata.gz: 440d1e8837aa9a47180c1de066f99ea28a572c5455856a04cd4e92d0b663f502
4
+ data.tar.gz: 198967d2d4450023705023e3332e1f85ea5da524944440e41d2983d8e9fbe85b
5
5
  SHA512:
6
- metadata.gz: 6cd068a107b47da940d0355f4d5c3d0cb0359e177322ca539fdbbf55f656d4fdbaa3cfa16e851399401958fef619aa42198bf94f1f063fdeea9049a911a53a1d
7
- data.tar.gz: b2d545c6b66f661d04f0314daebd4d069f5fe2066cbc82715d9603146bc12519ed72e8d636ea83943a6e4605400b15f6138be63bb6c56ee47e038edc63affb4e
6
+ metadata.gz: ff337dca9b6cb7084f19d89974dfad16b833bcd0a71c190cdfc86edf93d555d6a6857cfce8c33f59664d170e00ae1681063c845c9b1b0f16f7f924d2cdcd07a1
7
+ data.tar.gz: 4c6501fe96e399e5fa466f6219f3b3519228e3f6a285b2a47ce9330591b4acff6e6a7d3a5c3fde9610c6cf302b6a2639f1183b18b3bf817c6ce0cba460911708
data/lib/harbr/job.rb CHANGED
@@ -165,19 +165,22 @@ module Harbr
165
165
  if env == "next"
166
166
  write_to_file "/etc/sv/harbr/#{name}/#{env}/run", run_script
167
167
  write_to_file "/etc/sv/harbr/#{name}/#{env}/log/run", log_script
168
- write_to_file "/etc/sv/harbr/#{name}/#{env}/log/finish", finish_script
168
+ write_to_file "/etc/sv/harbr/#{name}/#{env}/finish", finish_script
169
169
  `chmod +x /etc/sv/harbr/#{name}/#{env}/run`
170
170
  `chmod +x /etc/sv/harbr/#{name}/#{env}/finish`
171
171
  `chmod +x /etc/sv/harbr/#{name}/#{env}/log/run`
172
+ `mkdir -p /var/log/harbr/#{name}/#{env}`
172
173
  end
173
174
 
174
175
  if env == "current"
175
176
  write_to_file "/etc/sv/harbr/#{name}/run", run_script
176
177
  write_to_file "/etc/sv/harbr/#{name}/log/run", log_script
177
- write_to_file "/etc/sv/harbr/#{name}/log/finish", finish_script
178
+ write_to_file "/etc/sv/harbr/#{name}/finish", finish_script
178
179
  `chmod +x /etc/sv/harbr/#{name}/run`
179
180
  `chmod +x /etc/sv/harbr/#{name}/finish`
180
181
  `chmod +x /etc/sv/harbr/#{name}/log/run`
182
+ `mkdir -p /var/log/harbr/#{name}`
183
+
181
184
  end
182
185
 
183
186
 
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.58"
4
+ VERSION = "0.1.60"
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.58
4
+ version: 0.1.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delaney Kuldvee Burke