Sha256: 7e40e1b89fa5fa713834fd701e7d2aa08ed69afbfa5ae02ac94f14c6194dc4ec

Contents?: true

Size: 201 Bytes

Versions: 46

Compression:

Stored size: 201 Bytes

Contents

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

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
specinfra-2.36.6 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.36.5 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.36.4 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.36.3 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.36.2 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.36.1 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.36.0 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.35.1 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.35.0 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.34.9 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.34.8 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.34.7 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.34.6 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.34.5 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.34.4 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.34.3 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.34.2 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.34.1 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.34.0 lib/specinfra/helper/detect_os/darwin.rb
specinfra-2.33.1 lib/specinfra/helper/detect_os/darwin.rb