Sha256: 2fc9fbb9f6571e93288268ab23dfb8e684f546bd20819d2a60fd490a132acb81
Contents?: true
Size: 442 Bytes
Versions: 3
Compression:
Stored size: 442 Bytes
Contents
require 'aruba/api' require 'fileutils' APP_BIN_PATH = File.join(FileUtils.pwd, 'bin', 'oct') module Aruba module Api alias_method :old_run_simple, :run_simple # override aruba def run_simple(cmd, fail_on_error=true) # run development version in verbose mode cmd = cmd.gsub(/^oct/, "ruby -S #{APP_BIN_PATH} --verbose") # run original aruba 'run' old_run_simple(cmd, fail_on_error) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
oct-0.3.3 | features/support/aruba.rb |
oct-0.3.2 | features/support/aruba.rb |
oct-0.3.1 | features/support/aruba.rb |