Sha256: 22bd2fe0a781edefb39db98abe4d502d5edabc92f587696924977e16c1118f59

Contents?: true

Size: 819 Bytes

Versions: 8

Compression:

Stored size: 819 Bytes

Contents

require_relative '../base_generator'

module Howitzer
  # This class responsible for turnip based files generation
  class TurnipGenerator < BaseGenerator
    def manifest
      { files:
            [
              { source: '.rspec', destination: '.rspec' },
              { source: 'spec_helper.rb', destination: 'spec/spec_helper.rb' },
              { source: 'turnip_helper.rb', destination: 'spec/turnip_helper.rb' },
              { source: 'example.feature', destination: 'spec/acceptance/example.feature' },
              { source: 'common_steps.rb', destination: 'spec/steps/common_steps.rb' },
              { source: 'turnip.rake', destination: 'tasks/turnip.rake' }
            ] }
    end

    protected

    def banner
      <<-MSG
  * Turnip integration to the framework ...
      MSG
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
howitzer-2.6.1 generators/turnip/turnip_generator.rb
howitzer-2.6.0 generators/turnip/turnip_generator.rb
howitzer-2.5.0 generators/turnip/turnip_generator.rb
howitzer-2.4.0 generators/turnip/turnip_generator.rb
howitzer-2.3.0 generators/turnip/turnip_generator.rb
howitzer-2.2.0 generators/turnip/turnip_generator.rb
howitzer-2.1.1 generators/turnip/turnip_generator.rb
howitzer-2.1.0 generators/turnip/turnip_generator.rb