Sha256: c9263f701753baf3b043530676124fd010b891b14f960713c17f8ff969994adc

Contents?: true

Size: 206 Bytes

Versions: 127

Compression:

Stored size: 206 Bytes

Contents

class Specinfra::Helper::DetectOs::Darwin < Specinfra::Helper::DetectOs
  def self.detect
    if run_command('uname -s').stdout =~ /Darwin/i
      { :family => 'darwin', :release => nil }
    end
  end
end

Version data entries

127 entries across 127 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta13 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.0.0.beta12 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.0.0.beta11 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.0.0.beta10 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.0.0.beta9 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.0.0.beta8 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.0.0.beta7 lib/specinfra/helper/detect_os/darwin.rb