Sha256: 7784f4331e25ad2dfd7ac628d91ac60f776b4cb7f27d31e0cf7a72d16868c9b2

Contents?: true

Size: 382 Bytes

Versions: 42

Compression:

Stored size: 382 Bytes

Contents

require 'rubygems'
require 'micronaut'

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

require '<%= require_name %>'

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
end

Version data entries

42 entries across 42 versions & 10 rubygems

Version Path
dima-jeweler-1.2.0 lib/jeweler/templates/micronaut/helper.rb
gohanlonllc-jeweler-0.11.1.20090513153819 lib/jeweler/templates/micronaut/helper.rb
gohanlonllc-jeweler-1.0.0.20080513000000 lib/jeweler/templates/micronaut/helper.rb
gohanlonllc-jeweler-1.0.0.20090513153819 lib/jeweler/templates/micronaut/helper.rb
mcornick-jeweler-1.2.0 lib/jeweler/templates/micronaut/helper.rb
monkeyhelper-jeweler-1.0.1 lib/jeweler/templates/micronaut/helper.rb
namelessjon-jeweler-1.0.1 lib/jeweler/templates/micronaut/helper.rb
pivotal-jeweler-1.0.1.1 lib/jeweler/templates/micronaut/helper.rb
technicalpickles-jeweler-1.0.0 lib/jeweler/templates/micronaut/helper.rb
technicalpickles-jeweler-1.0.1 lib/jeweler/templates/micronaut/helper.rb
technicalpickles-jeweler-1.0.2 lib/jeweler/templates/micronaut/helper.rb
technicalpickles-jeweler-1.1.0 lib/jeweler/templates/micronaut/helper.rb
technicalpickles-jeweler-1.2.1 lib/jeweler/templates/micronaut/helper.rb
bueller-0.0.9 lib/bueller/templates/micronaut/helper.rb
bueller-0.0.8 lib/bueller/templates/micronaut/helper.rb
bueller-0.0.7 lib/bueller/templates/micronaut/helper.rb
bueller-0.0.6 lib/bueller/templates/micronaut/helper.rb
bueller-0.0.5 lib/bueller/templates/micronaut/helper.rb
bueller-0.0.4 lib/bueller/templates/micronaut/helper.rb
bueller-0.0.3 lib/bueller/templates/micronaut/helper.rb