Sha256: 2b7ae4f99cfee44e4c69486396473e143a8dac6ded8326a55a9a666f0ae3bad8

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 Bytes

Contents

class CrossStubGenerator < Rails::Generator::Base

  def manifest
    record do |m|
      m.file 'config/initializers/cross-stub.rb', 'config/initializers/cross-stub.rb'
      m.file 'features/support/cross-stub.rb', 'features/support/cross-stub.rb'
      m.gsub_file 'config/environments/cucumber.rb', /\z/, "config.gem 'cross-stub', :version => '>=0.1.4'\n"
    end
  end

protected

  def banner
    "Usage: #{$0} cross_stub"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cross-stub-0.1.4 rails_generators/cross_stub/cross_stub_generator.rb