Sha256: a870ca4c24bb446337c4eadd2931ff19ea804015126a8ee6e6a07ad738114bbc
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
require 'rake' require 'spec/rake/spectask' require 'rake/rdoctask' require 'jeweler' desc 'Default: run unit tests.' task :default => :spec desc 'Generate documentation for the rails_best_practices plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'rails_best_practices' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('lib/**/*.rb') end desc "Run all specs in spec directory" Spec::Rake::SpecTask.new(:spec) do |t| t.spec_files = FileList['spec/**/*_spec.rb'] end Jeweler::Tasks.new do |gemspec| gemspec.name = "rails_best_practices" gemspec.summary = "check rails files according to ihower's presentation 'rails best practices'" gemspec.description = "check rails files according to ihower's presentation 'rails best practices'" gemspec.email = "flyerhzm@gmail.com" gemspec.homepage = "http://rails-bestpractices.com" gemspec.authors = ["Richard Huang"] gemspec.add_dependency 'ruby_parser', '>= 2.0.4' gemspec.add_dependency 'ruby2ruby', '>= 1.2.4' end Jeweler::GemcutterTasks.new
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_best_practices-0.3.24 | Rakefile |