Sha256: c7a1958e2e7befc50d797c69e6c62e0275b13551c3aea65c3523896cfcc7e61d

Contents?: true

Size: 248 Bytes

Versions: 255

Compression:

Stored size: 248 Bytes

Contents

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

Version data entries

255 entries across 255 versions & 3 rubygems

Version Path
specinfra-rb19-2.44.7 lib/specinfra/command/darwin/base/port.rb
specinfra-2.59.3 lib/specinfra/command/darwin/base/port.rb
specinfra-2.59.2 lib/specinfra/command/darwin/base/port.rb
specinfra-2.59.1 lib/specinfra/command/darwin/base/port.rb
specinfra-2.59.0 lib/specinfra/command/darwin/base/port.rb
specinfra-2.58.0 lib/specinfra/command/darwin/base/port.rb
specinfra-2.57.5 lib/specinfra/command/darwin/base/port.rb
specinfra-2.57.4 lib/specinfra/command/darwin/base/port.rb
specinfra-2.57.3 lib/specinfra/command/darwin/base/port.rb
specinfra-2.57.2 lib/specinfra/command/darwin/base/port.rb
specinfra-2.57.1 lib/specinfra/command/darwin/base/port.rb
specinfra-cisco-2.41.0 lib/specinfra/command/darwin/base/port.rb
specinfra-2.57.0 lib/specinfra/command/darwin/base/port.rb
specinfra-2.56.1 lib/specinfra/command/darwin/base/port.rb
specinfra-2.56.0 lib/specinfra/command/darwin/base/port.rb
specinfra-2.55.0 lib/specinfra/command/darwin/base/port.rb
specinfra-2.54.2 lib/specinfra/command/darwin/base/port.rb
specinfra-2.54.1 lib/specinfra/command/darwin/base/port.rb
specinfra-2.54.0 lib/specinfra/command/darwin/base/port.rb
specinfra-2.53.1 lib/specinfra/command/darwin/base/port.rb