harbr 0.1.93 → 0.1.95

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: 1f5082149e0be0577bcf732277c35f36094149b9d6ef964f9973fb57a510716b
4
- data.tar.gz: 5bf6d0eadcb16de62fc84e2891a29ef7cff23824c2715db922f8570acec99b62
3
+ metadata.gz: 5deda148fd004720248f93466e9a63066acaf37facae18a5982b82ade03e16fb
4
+ data.tar.gz: 9104a70061f3f0ead6243d52a5bd8c3158d9bbd30a4144c66b7a2ed76ab93d75
5
5
  SHA512:
6
- metadata.gz: '08bfab977f8e4085d7b39d0f312c5f48a11b3574c2154ff4baf24bcb0108f6d008d72ffb92b22f33581a2ff1591f016cdfd537f8b79a9143a591772b413b7970'
7
- data.tar.gz: 7af2a943cc1a4835a720104c99bcb299ccaca9755d6efeea4b95ce67c46bc28d467fd4e9c6e5a06f0ef02ca4b3989d485fc828eae57663835b253151deaee7b4
6
+ metadata.gz: 58f55fe7801cc3e9fe18461c689db319b6d85aabcabd35101997664adb0ff57359f1b7400bbaff571b9c867e8645f8901ba8d1094b1097f27a51a75bc30b9544
7
+ data.tar.gz: 332fb0f0fbb1d6351213ab073ef2ce058e40715da46e01cf20a1fd6ee3fe9f711e685b2c22c35a897569fb1871ec26e88383296f156206f114758ffb8d271aa9
data/lib/harbr/job.rb CHANGED
@@ -72,7 +72,7 @@ module Harbr
72
72
  plain_name = host_header_alias.gsub("live.","")
73
73
  container = Harbr::Container.new
74
74
  container.name = "#{name} -> #{plain_name}"
75
- container.host_header = remove_dot_from_string(plain_name)
75
+ container.host_header = plain_name
76
76
  container.ip = "127.0.0.1"
77
77
  container.port = port
78
78
 
@@ -117,7 +117,7 @@ module Harbr
117
117
  private
118
118
 
119
119
  def remove_dot_from_string(str)
120
- str.gsub('.', '')
120
+ str.sub('.', '')
121
121
  end
122
122
 
123
123
  def check_file_exists(path)
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.93"
4
+ VERSION = "0.1.95"
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.93
4
+ version: 0.1.95
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delaney Kuldvee Burke