Sha256: 79a3411325c9c54c97cce3e73f4bfc1b4926f165956c5bab218d63c0519c81c1

Contents?: true

Size: 721 Bytes

Versions: 17

Compression:

Stored size: 721 Bytes

Contents

class Juwelier
  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

17 entries across 17 versions & 1 rubygems

Version Path
juwelier-2.4.9 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.4.7 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.4.6 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.4.5 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.4.4 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.4.1 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.4.0 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.3.6 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.3.4 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.3.2 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.3.0 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.2.3 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.2.1 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.1.3 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.1.2 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.1.1 lib/juwelier/generator/micronaut_mixin.rb
juwelier-2.1.0 lib/juwelier/generator/micronaut_mixin.rb