Sha256: 702785904226f398e3fae894eb7bff7a603d6047a6b6e0c05968c317f8094bf8

Contents?: true

Size: 665 Bytes

Versions: 133

Compression:

Stored size: 665 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

133 entries across 79 versions & 7 rubygems

Version Path
dirty_history-0.3.0 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/minitest_mixin.rb
dirty_history-0.3.0 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/minitest_mixin.rb
dirty_history-0.3.0 dirty_history/ruby/1.9.1/gems/jeweler-1.6.4/lib/jeweler/generator/minitest_mixin.rb
dirty_history-0.2.0 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/minitest_mixin.rb
dirty_history-0.2.0 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/minitest_mixin.rb
jeweler-1.6.4 lib/jeweler/generator/minitest_mixin.rb
jeweler-1.6.3 lib/jeweler/generator/minitest_mixin.rb
search_biomodel-1.0.0 search_biomodel/ruby/1.8/gems/jeweler-1.6.2/lib/jeweler/generator/minitest_mixin.rb
jeweler-1.6.2 lib/jeweler/generator/minitest_mixin.rb
jeweler-1.6.1 lib/jeweler/generator/minitest_mixin.rb
dirty_history-0.1.3 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/minitest_mixin.rb
jeweler-1.6.0 lib/jeweler/generator/minitest_mixin.rb
jeweler-1.5.2 lib/jeweler/generator/minitest_mixin.rb
jeweler-1.5.1 lib/jeweler/generator/minitest_mixin.rb
jeweler-1.5.0 lib/jeweler/generator/minitest_mixin.rb
jeweler-1.5.0.pre6 lib/jeweler/generator/minitest_mixin.rb
gemrage-1.0.0 vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/minitest_mixin.rb
gemrage-0.4.1 vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/minitest_mixin.rb
gemrage-0.4.0 vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/minitest_mixin.rb
gemrage-0.3.2 vendor/ruby/1.8/gems/jeweler-1.4.0/lib/jeweler/generator/minitest_mixin.rb