module Jeweler::Generator::ShindoMixin
Public Class Methods
extended(generator)
click to toggle source
# File lib/jeweler/generator/shindo_mixin.rb, line 4 def self.extended(generator) generator.development_dependencies << ["shindo", ">= 0"] end
Public Instance Methods
default_task()
click to toggle source
# File lib/jeweler/generator/shindo_mixin.rb, line 8 def default_task 'tests' end
feature_support_extend()
click to toggle source
# File lib/jeweler/generator/shindo_mixin.rb, line 17 def feature_support_extend # 'Test::Unit::Assertions' nil end
feature_support_require()
click to toggle source
# File lib/jeweler/generator/shindo_mixin.rb, line 12 def feature_support_require # 'test/unit/assertions' nil end
test_dir()
click to toggle source
# File lib/jeweler/generator/shindo_mixin.rb, line 22 def test_dir 'tests' end
test_filename()
click to toggle source
# File lib/jeweler/generator/shindo_mixin.rb, line 34 def test_filename "#{require_name}_tests.rb" end
test_helper_filename()
click to toggle source
# File lib/jeweler/generator/shindo_mixin.rb, line 38 def test_helper_filename "tests_helper.rb" end
test_pattern()
click to toggle source
# File lib/jeweler/generator/shindo_mixin.rb, line 30 def test_pattern 'tests/**/*_tests.rb' end
test_task()
click to toggle source
# File lib/jeweler/generator/shindo_mixin.rb, line 26 def test_task 'tests' end