Sha256: 68ef5231ef2d892735c89aba1465d763d9117ffa39dd3fa55584f16bb8534f8d

Contents?: true

Size: 664 Bytes

Versions: 10

Compression:

Stored size: 664 Bytes

Contents

class Jeweler
  class Generator
    module MinitestMixin
      def self.extended(generator)
        generator.development_dependencies << ['minitest', '>= 0']
      end

      def default_task
        'test'
      end

      def feature_support_require
        'minitest/unit'
      end

      def feature_support_extend
        'MiniTest::Assertions'
      end

      def test_dir
        'test'
      end

      def test_task
        'test'
      end

      def test_pattern
        'test/**/test_*.rb'
      end

      def test_filename
        "test_#{require_name}.rb"
      end

      def test_helper_filename
        'helper.rb'
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
jeweler-2.3.9 lib/jeweler/generator/minitest_mixin.rb
jeweler-2.3.7 lib/jeweler/generator/minitest_mixin.rb
jeweler-2.3.6 lib/jeweler/generator/minitest_mixin.rb
jeweler-2.3.5 lib/jeweler/generator/minitest_mixin.rb
jeweler-2.3.3 lib/jeweler/generator/minitest_mixin.rb
jeweler-2.3.2 lib/jeweler/generator/minitest_mixin.rb
jeweler-2.3.1 lib/jeweler/generator/minitest_mixin.rb
jeweler-2.3.0 lib/jeweler/generator/minitest_mixin.rb
jeweler-2.2.1 lib/jeweler/generator/minitest_mixin.rb
jeweler-2.1.2 lib/jeweler/generator/minitest_mixin.rb