Sha256: a3dd3282831f43c95905645192574df78d17fbe6e31869c601ae88f2d860ff8b

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

require 'rspec/expectations'
require 'shellwords'

require 'aruba/version'
require 'aruba/extensions/string/strip'

require 'aruba/platform'
require 'aruba/api/core'
require 'aruba/api/command'

if Aruba::VERSION <= '1.0.0'
  require 'aruba/api/deprecated'
end

require 'aruba/api/environment'
require 'aruba/api/filesystem'
require 'aruba/api/rvm'

Aruba.platform.require_matching_files('../matchers/**/*.rb', __FILE__)

module Aruba
  module Api
    include Aruba::Api::Core
    include Aruba::Api::Commands
    include Aruba::Api::Environment
    include Aruba::Api::Filesystem
    include Aruba::Api::Rvm
    include Aruba::Api::Deprecated

    # Access to announcer
    def announcer
      @announcer ||= Announcer.new(
        self,
        :stdout => defined?(@announce_stdout),
        :stderr => defined?(@announce_stderr),
        :dir    => defined?(@announce_dir),
        :cmd    => defined?(@announce_cmd),
        :env    => defined?(@announce_env)
      )

      @announcer
    end

    module_function :announcer
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aruba-0.9.0.pre lib/aruba/api.rb