Sha256: 84720db310a0eaa4e6bc86537a26bd0fcc0299bbb6ac5397becc7fe0bafe2097

Contents?: true

Size: 415 Bytes

Versions: 6

Compression:

Stored size: 415 Bytes

Contents

require 'rubygems'
require 'micronaut'
require 'ruby-debug'

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'astrails/safe'

def not_in_editor?
  !(ENV.has_key?('TM_MODE') || ENV.has_key?('EMACS') || ENV.has_key?('VIM'))
end

Micronaut.configure do |c|
  c.color_enabled = not_in_editor?
  c.filter_run :focused => true
  c.mock_with :rr
end

Version data entries

6 entries across 6 versions & 4 rubygems

Version Path
astrails-safe-0.1.6 examples/example_helper.rb
colin-safe-0.1.6 examples/example_helper.rb
colin-safe-0.1.7 examples/example_helper.rb
colin-safe-0.1.8 examples/example_helper.rb
markmansour-safe-0.1.7 examples/example_helper.rb
ralph-safe-0.1.7 examples/example_helper.rb