Sha256: fbe51d1bfe870c1771ddcefec551aa047e97d1442fdcbe04bf3b3e587572254f

Contents?: true

Size: 218 Bytes

Versions: 9

Compression:

Stored size: 218 Bytes

Contents

class Specinfra::Command::Darwin::Base::Port < Specinfra::Command::Base::Port
  def check_is_listening(port, options={})
    regexp = ":#{port} "
    "lsof -nP -iTCP -sTCP:LISTEN | grep -- #{escape(regexp)}"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta15 lib/specinfra/command/darwin/base/port.rb
specinfra-2.0.0.beta14 lib/specinfra/command/darwin/base/port.rb
specinfra-2.0.0.beta13 lib/specinfra/command/darwin/base/port.rb
specinfra-2.0.0.beta12 lib/specinfra/command/darwin/base/port.rb
specinfra-2.0.0.beta11 lib/specinfra/command/darwin/base/port.rb
specinfra-2.0.0.beta10 lib/specinfra/command/darwin/base/port.rb
specinfra-2.0.0.beta9 lib/specinfra/command/darwin/base/port.rb
specinfra-2.0.0.beta8 lib/specinfra/command/darwin/base/port.rb
specinfra-2.0.0.beta7 lib/specinfra/command/darwin/base/port.rb