Sha256: 249a2baa7f556eb9e4411160218dc68b441e9bef9f1541cb9fd95b5c07cd2bba

Contents?: true

Size: 680 Bytes

Versions: 133

Compression:

Stored size: 680 Bytes

Contents

class Jeweler
  class Generator
    module TestspecMixin
      def self.extended(generator)
        generator.development_dependencies << ["test-spec", ">= 0"]
      end

      def default_task
        'test'
      end

      def feature_support_require
        'test/unit/assertions'
      end

      def feature_support_extend
        'Test::Unit::Assertions'
      end

      def test_dir
        'test'
      end

      def test_task
        'test'
      end

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

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

      def test_helper_filename
        "test_helper.rb"
      end

    end
  end
end

Version data entries

133 entries across 79 versions & 7 rubygems

Version Path
dirty_history-0.4.9 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/testspec_mixin.rb
dirty_history-0.4.9 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/testspec_mixin.rb
dirty_history-0.4.9 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/testspec_mixin.rb
dirty_history-0.4.8 dirty_history/ruby/1.9.1/gems/jeweler-1.6.4/lib/jeweler/generator/testspec_mixin.rb
dirty_history-0.4.8 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/testspec_mixin.rb
dirty_history-0.4.8 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/testspec_mixin.rb
dirty_history-0.4.8 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/testspec_mixin.rb
dirty_history-0.4.7 dirty_history/ruby/1.9.1/gems/jeweler-1.6.4/lib/jeweler/generator/testspec_mixin.rb
dirty_history-0.4.7 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/testspec_mixin.rb
dirty_history-0.4.7 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/testspec_mixin.rb
dirty_history-0.4.7 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/testspec_mixin.rb
dirty_history-0.4.6 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/testspec_mixin.rb
dirty_history-0.4.6 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/testspec_mixin.rb
dirty_history-0.4.6 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/testspec_mixin.rb
dirty_history-0.4.6 dirty_history/ruby/1.9.1/gems/jeweler-1.6.4/lib/jeweler/generator/testspec_mixin.rb
dirty_history-0.4.5 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/testspec_mixin.rb
dirty_history-0.4.5 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/testspec_mixin.rb
dirty_history-0.4.5 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/testspec_mixin.rb
dirty_history-0.4.5 dirty_history/ruby/1.9.1/gems/jeweler-1.6.4/lib/jeweler/generator/testspec_mixin.rb
dirty_history-0.4.4 dirty_history/ruby/1.9.1/gems/jeweler-1.6.4/lib/jeweler/generator/testspec_mixin.rb