module Jeweler::Generator::BaconMixin
Public Class Methods
extended(generator)
click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 4 def self.extended(generator) generator.development_dependencies << ['bacon', '>= 0'] end
Public Instance Methods
default_task()
click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 8 def default_task 'spec' end
feature_support_extend()
click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 16 def feature_support_extend 'Test::Unit::Assertions' # NOTE can't use bacon inside of cucumber actually end
feature_support_require()
click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 12 def feature_support_require 'test/unit/assertions' end
test_dir()
click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 20 def test_dir 'spec' end
test_filename()
click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 32 def test_filename "#{require_name}_spec.rb" end
test_helper_filename()
click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 36 def test_helper_filename 'spec_helper.rb' end
test_pattern()
click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 28 def test_pattern 'spec/**/*_spec.rb' end
test_task()
click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 24 def test_task 'spec' end