Sha256: fb613525c05dce2a8bee2517fb735f5f7484fee4f2e067c1d0ab417c1bd2a2df

Contents?: true

Size: 652 Bytes

Versions: 133

Compression:

Stored size: 652 Bytes

Contents

class Jeweler
  class Generator
    module RiotMixin
      def self.extended(generator)
        generator.development_dependencies << ["riot", ">= 0"]
      end

      def default_task
        'test'
      end

      def feature_support_require
        'riot/context'
      end

      def feature_support_extend
        'Riot::Context'
      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
        "teststrap.rb"
      end

    end
  end
end

Version data entries

133 entries across 79 versions & 7 rubygems

Version Path
jeweler-2.1.1 lib/jeweler/generator/riot_mixin.rb
jeweler-2.0.1 lib/jeweler/generator/riot_mixin.rb
jeweler-2.0.0 lib/jeweler/generator/riot_mixin.rb
jeweler-1.8.8 lib/jeweler/generator/riot_mixin.rb
jeweler-1.8.7 lib/jeweler/generator/riot_mixin.rb
jeweler-1.8.6 lib/jeweler/generator/riot_mixin.rb
jeweler-1.8.5 lib/jeweler/generator/riot_mixin.rb
devise_sociable-0.1.0 vendor/bundle/gems/jeweler-1.8.4/lib/jeweler/generator/riot_mixin.rb
dirty_history-0.7.3 dirty_history/ruby/1.9.1/gems/jeweler-1.6.4/lib/jeweler/generator/riot_mixin.rb
dirty_history-0.7.3 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/riot_mixin.rb
dirty_history-0.7.2 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/riot_mixin.rb
dirty_history-0.7.2 dirty_history/ruby/1.9.1/gems/jeweler-1.6.4/lib/jeweler/generator/riot_mixin.rb
dirty_history-0.7.1 dirty_history/ruby/1.9.1/gems/jeweler-1.6.4/lib/jeweler/generator/riot_mixin.rb
dirty_history-0.7.1 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/riot_mixin.rb
dirty_history-0.7.0 dirty_history/ruby/1.9.1/gems/jeweler-1.6.4/lib/jeweler/generator/riot_mixin.rb
dirty_history-0.7.0 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/riot_mixin.rb
dirty_history-0.6.7 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/riot_mixin.rb
dirty_history-0.6.7 dirty_history/ruby/1.9.1/gems/jeweler-1.6.4/lib/jeweler/generator/riot_mixin.rb
dirty_history-0.6.6 dirty_history/ruby/1.9.1/gems/jeweler-1.5.2/lib/jeweler/generator/riot_mixin.rb
dirty_history-0.6.6 dirty_history/ruby/1.9.1/gems/jeweler-1.6.4/lib/jeweler/generator/riot_mixin.rb