Sha256: 941344df66d4ea7365ea38f237af6403bba7185544834e0d9b63b6a80c461f81
Contents?: true
Size: 440 Bytes
Versions: 2
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.0'\n" end end protected def banner "Usage: #{$0} cross_stub" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cross-stub-0.1.1 | rails_generators/cross_stub/cross_stub_generator.rb |
cross-stub-0.1.0 | rails_generators/cross_stub/cross_stub_generator.rb |