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.21.1 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.21.0 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.20.2 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.20.1 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.20.0 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.19.6 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.19.5 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.19.4 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.19.3 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.19.2 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.19.1 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.19.0 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.18.3 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.18.2 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.18.1 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.18.0 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.17.1 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.17.0 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.16.0 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.15.2 lib/specinfra/helper/detect_os/darwin.rb