Sha256: 70f4c570938acae8cb5f788a14eed85c736ceb697f83e7afdc8ac8211ecb03a3

Contents?: true

Size: 1.55 KB

Versions: 11

Compression:

Stored size: 1.55 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

NAME = "dry_scaffold"
SUMMARY = %Q{A DRYer scaffold generator for Rails. Generates dry semantic and standards compliant views, and dry RESTful controllers.}
HOMEPAGE = "http://github.com/grimen/#{NAME}/tree/master"
AUTHOR = "Jonas Grimfelt"
EMAIL = "grimen@gmail.com"
SUPPORT_FILES = %w(README.textile TODO.textile CHANGELOG.textile)

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = NAME
    gem.summary = SUMMARY
    gem.description = SUMMARY
    gem.homepage = HOMEPAGE
    gem.author = AUTHOR
    gem.email = EMAIL
    
    gem.require_paths = %w{lib}
    gem.files = %w(MIT-LICENSE Rakefile) + SUPPORT_FILES + Dir.glob(File.join('{bin,config,generators,lib,rails,tasks}', '**', '*'))
    gem.executables = %w(dscaffold dry_scaffold dmodel dry_model)
    gem.extra_rdoc_files = SUPPORT_FILES
  end
rescue LoadError
  puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

desc %Q{Run unit tests for "#{NAME}".}
task :default => :test

desc %Q{Run unit tests for "#{NAME}".}
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
end

desc %Q{Generate documentation for "#{NAME}".}
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = NAME
  rdoc.options << '--line-numbers' << '--inline-source' << '--charset=UTF-8'
  rdoc.rdoc_files.include(SUPPORT_FILES)
  rdoc.rdoc_files.include(File.join('lib', '**', '*.rb'))
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
akitaonrails-dry_scaffold-0.3.3 Rakefile
grimen-dry_scaffold-0.2.4 Rakefile
grimen-dry_scaffold-0.2.5 Rakefile
grimen-dry_scaffold-0.2.6 Rakefile
grimen-dry_scaffold-0.3.0 Rakefile
grimen-dry_scaffold-0.3.1 Rakefile
grimen-dry_scaffold-0.3.2 Rakefile
grimen-dry_scaffold-0.3.3 Rakefile
grimen-dry_scaffold-0.3.4 Rakefile
grimen-dry_scaffold-0.3.5 Rakefile
pelle-dry_scaffold-0.3.5 Rakefile