harbr 0.1.75 → 0.1.76

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: 435fad22a3618a2b57938a9550bafdc259672ca3379d893317278df466548ec5
4
- data.tar.gz: 0e723967c914e25962c32d7741ca1cd01226db9dba05c9d6d769f4d397c1a3a8
3
+ metadata.gz: 25c59c9cd61adc436961f0e11d942f3beaec172d575016a62e7235bf019dfbbf
4
+ data.tar.gz: 74b4f42440502453f5379168ddbb54bdc9762dca22ee9b21dd40cf1bf72dc3b4
5
5
  SHA512:
6
- metadata.gz: 70946062d22034a0a370ed9364cdde7ff9c13855832e405e7955806f768383be95eac3a101b45f43d4f2360f58235209384d1b87128ca72cce16f0cd77f5ebaf
7
- data.tar.gz: ebffe2fda61381e9bcfccf97c5f430808434bd330c4e96342023c90d9eacf806d7f0036f85471a78181b6e4c8b607c4f22de57d160da4bb8e351c3acedee53af
6
+ metadata.gz: ca464a20f013e23af45ccd3a5415a6692ea251b143d0f7dfb1c3616e39eda0f90aa7186f106a99d77e051d6fb48cb6c478a544eb9d7f892e19cec73094cae634
7
+ data.tar.gz: 96098237e91582858a53a5a4214f9f5683f80965cbcfd8f2567dc7a9e52681c4c2e74442fa3a8fab798ad41c1b4da1096c08902289318e37345e54c92aa43c95
@@ -1,7 +1,7 @@
1
1
  module Harbr
2
2
  class Container
3
3
  include Dddr::Entity
4
- attr_accessor :name, :host_header, :ip, :port, :host_header_aliases
4
+ attr_accessor :name, :host_header, :ip, :port
5
5
 
6
6
  queries do
7
7
  def find_by_header(host_header)
data/lib/harbr/job.rb CHANGED
@@ -139,8 +139,8 @@ module Harbr
139
139
  link_directories(name, version, env)
140
140
  sync_live_data_if_next(name) if env == "next"
141
141
 
142
- containers = collate_containers("#{name}", "#{manifest.host}", port,manifest.host_header_alias) if env == "current"
143
- containers = collate_containers("#{env}.#{name}", "#{env}.#{manifest.host}", port,manifest.host_header_alias.map{|host| "#{env}.#{host}" }) if env == "next"
142
+ containers = collate_containers("#{name}", "#{manifest.host}", port,manifest.host_aliases) if env == "current"
143
+ containers = collate_containers("#{env}.#{name}", "#{env}.#{manifest.host}", port,manifest.host_aliases&.map{|host| "#{env}.#{host}" }) if env == "next"
144
144
 
145
145
  create_traefik_config(containers)
146
146
 
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.75"
4
+ VERSION = "0.1.76"
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.75
4
+ version: 0.1.76
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delaney Kuldvee Burke