Sha256: e95321755c7e992d16cce877a4eff47b12fbff2bc6c09356ae13a78d730d77f7

Contents?: true

Size: 714 Bytes

Versions: 10

Compression:

Stored size: 714 Bytes

Contents

class Jeweler
  class Generator
    module MicronautMixin
      def self.extended(generator)
        generator.development_dependencies << ['spicycode-micronaut', '>= 0']
      end

      def default_task
        'examples'
      end

      def feature_support_require
        'micronaut/expectations'
      end

      def feature_support_extend
        'Micronaut::Matchers'
      end

      def test_dir
        'examples'
      end

      def test_task
        'examples'
      end

      def test_pattern
        'examples/**/*_example.rb'
      end

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

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