harbr 0.1.90 → 0.1.91
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 +5 -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: ee36241a4b9543f75996f57c71459b26d3625e79271d1ab43f2a1a4f55b01991
|
4
|
+
data.tar.gz: 0ba48da8b26a9965efdfa1d13ed535020255b216ef6878a7353885ea0ae840b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e64833ff22558914bd23985a7c1d911337817644aab104b4a38b063b9fb23f1a643c4c506fd3eec1fd15ae8ef671488dc83047f5143540da814f34f61522040
|
7
|
+
data.tar.gz: 8b7139197c94e90974a69af198a63c8ec16f21827ba20fff38d4fd55b4d2083eb1c1e17b95da1ef024c45a2f51d7a8afcc8c912adabc83e7c8df6ba02ce5ec56
|
data/lib/harbr/job.rb
CHANGED
@@ -73,7 +73,11 @@ module Harbr
|
|
73
73
|
container.host_header = host_header_alias.gsub("live","")
|
74
74
|
container.ip = "127.0.0.1"
|
75
75
|
container.port = port
|
76
|
-
|
76
|
+
|
77
|
+
unless containers.find_by_header(host_header_alias.gsub("live",""))
|
78
|
+
containers.create(container)
|
79
|
+
end
|
80
|
+
|
77
81
|
end
|
78
82
|
|
79
83
|
end
|
data/lib/harbr/version.rb
CHANGED