Sha256: a86f015ea9033b2d23285c676d26141b03c1286f038be902293ede71e0ea78ba

Contents?: true

Size: 443 Bytes

Versions: 19

Compression:

Stored size: 443 Bytes

Contents

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

SAFE_ROOT = File.dirname(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(SAFE_ROOT, '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

19 entries across 19 versions & 5 rubygems

Version Path
astrails-safe-0.1.10 examples/example_helper.rb
astrails-safe-0.1.7 examples/example_helper.rb
astrails-safe-0.1.8 examples/example_helper.rb
astrails-safe-0.1.9 examples/example_helper.rb
astrails-safe-0.2.0 examples/example_helper.rb
astrails-safe-0.2.1 examples/example_helper.rb
astrails-safe-0.2.2 examples/example_helper.rb
astrails-safe-0.2.3 examples/example_helper.rb
bostonlogic-safe-0.3.0 examples/example_helper.rb
netguru-safe-0.2.11 examples/example_helper.rb
netguru-safe-0.2.10 examples/example_helper.rb
netguru-safe-0.2.9 examples/example_helper.rb
darkofabijan-astrails-safe-0.2.9 examples/example_helper.rb
darkofabijan-astrails-safe-0.2.8 examples/example_helper.rb
astrails-safe-0.2.7 examples/example_helper.rb
astrails-safe-0.2.6 examples/example_helper.rb
astrails-safe-0.2.5 examples/example_helper.rb
webbynode-safe-0.2.5 examples/example_helper.rb
astrails-safe-0.2.4 examples/example_helper.rb