Sha256: 81f2e73801bcb63cbd0ccbc383e9508f93fc47f47a300366bda125f6d2b338a2
Contents?: true
Size: 1.6 KB
Versions: 1
Compression:
Stored size: 1.6 KB
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' NAME = "michel-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/michel/#{NAME}/tree/master" AUTHOR = "Jonas Grimfelt,Michel de Graaf" EMAIL = "grimen@gmail.com, michel@re-invention.nl" 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
michel-dry_scaffold-0.3.5 | Rakefile |