Sha256: 71bf479c8b24a3b962ce4666a287f635ec9b57edd6c11b22dd904e7d71c73845

Contents?: true

Size: 386 Bytes

Versions: 9

Compression:

Stored size: 386 Bytes

Contents

require 'rubygems'
require 'micronaut'

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

require '<%= file_name_prefix %>'

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

9 entries across 9 versions & 3 rubygems

Version Path
dima-jeweler-0.9.2 lib/jeweler/templates/micronaut/helper.rb
technicalpickles-jeweler-0.10.0 lib/jeweler/templates/micronaut/helper.rb
technicalpickles-jeweler-0.10.1 lib/jeweler/templates/micronaut/helper.rb
technicalpickles-jeweler-0.10.2 lib/jeweler/templates/micronaut/helper.rb
technicalpickles-jeweler-0.11.0 lib/jeweler/templates/micronaut/helper.rb
technicalpickles-jeweler-0.9.0 lib/jeweler/templates/micronaut/helper.rb
technicalpickles-jeweler-0.9.1 lib/jeweler/templates/micronaut/helper.rb
jeweler-0.10.2 lib/jeweler/templates/micronaut/helper.rb
jeweler-0.11.0 lib/jeweler/templates/micronaut/helper.rb