lib/pact/mock_service/run.rb in pact-mock_service-0.8.1 vs lib/pact/mock_service/run.rb in pact-mock_service-0.8.2
- old
+ new
@@ -81,10 +81,10 @@
:SSLCertName => [ %w[CN localhost] ]
}
end
def port
- @port ||= options[:port] || FindAPort.available_port
+ @port ||= (options[:port] || FindAPort.available_port).to_i
end
def host
@host ||= options[:host] || "localhost"
end