Sha256: 95ec0a077de8dafa7931680c8ece7273cb0f03f57e3177b85ce23f5e5702fa2e

Contents?: true

Size: 278 Bytes

Versions: 8

Compression:

Stored size: 278 Bytes

Contents

require "rake"

namespace :rspec do
  task :scaffold, [:file_name] => :environment do |_, args|
    RSpec::Scaffold::Runner.new(args.file_name).perform
  end

  task :environment do
    # no-op hook task
  end if !Rake::Task.task_defined?(:environment) and !defined?(Rails)
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rspec-scaffold-2.0.1 lib/rspec/scaffold/tasks/scaffold.rake
rspec-scaffold-2.0.0 lib/rspec/scaffold/tasks/scaffold.rake
rspec-scaffold-2.0.0.beta1 lib/rspec/scaffold/tasks/scaffold.rake
rspec-scaffold-1.0.0 lib/rspec/scaffold/tasks/scaffold.rake
rspec-scaffold-0.3.0 lib/rspec/scaffold/tasks/scaffold.rake
rspec-scaffold-0.2.1 lib/rspec/scaffold/tasks/scaffold.rake
rspec-scaffold-0.2.0 lib/rspec/scaffold/tasks/scaffold.rake
rspec-scaffold-0.1.0 lib/rspec/scaffold/tasks/scaffold.rake