Module: Jeweler::Generator::MicronautMixin

Defined in:
lib/jeweler/generator/micronaut_mixin.rb

Class Method Summary (collapse)

Instance Method Summary (collapse)

Class Method Details

+ (Object) extended(generator)



4
5
6
# File 'lib/jeweler/generator/micronaut_mixin.rb', line 4

def self.extended(generator)
  generator.development_dependencies << ["spicycode-micronaut", ">= 0"]
end

Instance Method Details

- (Object) default_task



8
9
10
# File 'lib/jeweler/generator/micronaut_mixin.rb', line 8

def default_task
  'examples'
end

- (Object) feature_support_extend



16
17
18
# File 'lib/jeweler/generator/micronaut_mixin.rb', line 16

def feature_support_extend
  'Micronaut::Matchers'
end

- (Object) feature_support_require



12
13
14
# File 'lib/jeweler/generator/micronaut_mixin.rb', line 12

def feature_support_require
  'micronaut/expectations'
end

- (Object) test_dir



20
21
22
# File 'lib/jeweler/generator/micronaut_mixin.rb', line 20

def test_dir
  'examples'
end

- (Object) test_filename



32
33
34
# File 'lib/jeweler/generator/micronaut_mixin.rb', line 32

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

- (Object) test_helper_filename



36
37
38
# File 'lib/jeweler/generator/micronaut_mixin.rb', line 36

def test_helper_filename
  "example_helper.rb"
end

- (Object) test_pattern



28
29
30
# File 'lib/jeweler/generator/micronaut_mixin.rb', line 28

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

- (Object) test_task



24
25
26
# File 'lib/jeweler/generator/micronaut_mixin.rb', line 24

def test_task
  'examples'
end