Sha256: b9b4d127f4052c5fc64537c6eacc2fa0ab3551a8c3ff100e8aac11412f0cb8f9

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.3'\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.3 rails_generators/cross_stub/cross_stub_generator.rb