Sha256: cd6588f93ed2c61db96c22049acd1c9b9a5d476559069c0b6e524c6306794bd7

Contents?: true

Size: 723 Bytes

Versions: 10

Compression:

Stored size: 723 Bytes

Contents

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

      def default_task
        'spec'
      end

      def feature_support_require
        'test/unit/assertions'
      end

      def feature_support_extend
        'Test::Unit::Assertions' # NOTE can't use bacon inside of cucumber actually
      end

      def test_dir
        'spec'
      end

      def test_task
        'spec'
      end

      def test_pattern
        'spec/**/*_spec.rb'
      end

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

      def test_helper_filename
        'spec_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/bacon_mixin.rb
jeweler-2.3.7 lib/jeweler/generator/bacon_mixin.rb
jeweler-2.3.6 lib/jeweler/generator/bacon_mixin.rb
jeweler-2.3.5 lib/jeweler/generator/bacon_mixin.rb
jeweler-2.3.3 lib/jeweler/generator/bacon_mixin.rb
jeweler-2.3.2 lib/jeweler/generator/bacon_mixin.rb
jeweler-2.3.1 lib/jeweler/generator/bacon_mixin.rb
jeweler-2.3.0 lib/jeweler/generator/bacon_mixin.rb
jeweler-2.2.1 lib/jeweler/generator/bacon_mixin.rb
jeweler-2.1.2 lib/jeweler/generator/bacon_mixin.rb