module Jeweler::Generator::BaconMixin

Public Instance Methods

default_task() click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 9
def default_task
  'spec'
end
feature_support_extend() click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 17
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 13
def feature_support_require
  'test/unit/assertions'
end
test_dir() click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 21
def test_dir
  'spec'
end
test_filename() click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 33
def test_filename
  "#{require_name}_spec.rb"
end
test_helper_filename() click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 37
def test_helper_filename
  "spec_helper.rb"
end
test_pattern() click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 29
def test_pattern
  'spec/**/*_spec.rb'
end
test_task() click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 25
def test_task
  'spec'
end

Public Class Methods

extended(generator) click to toggle source
# File lib/jeweler/generator/bacon_mixin.rb, line 5
def self.extended(generator)
  generator.development_dependencies << ["bacon", ">= 0"]
end