Sha256: 3e60a6508e8be5a17794e02fb0308eb28cf69b317c4af0ef87a34453c238c3e4

Contents?: true

Size: 440 Bytes

Versions: 4

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.2.0'\n"
    end
  end

protected

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

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cross-stub-0.2.3 rails_generators/cross_stub/cross_stub_generator.rb
cross-stub-0.2.2 rails_generators/cross_stub/cross_stub_generator.rb
cross-stub-0.2.1 rails_generators/cross_stub/cross_stub_generator.rb
cross-stub-0.2.0 rails_generators/cross_stub/cross_stub_generator.rb