Sha256: b4a53182488f5b7368e916ccabd8775fe4883cf1477a930347fad49bd7027805

Contents?: true

Size: 1.08 KB

Versions: 26

Compression:

Stored size: 1.08 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 sitemap plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Bullet'
  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://github.com/flyerhzm/rails_best_practices"
  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

26 entries across 26 versions & 1 rubygems

Version Path
rails_best_practices-0.3.19 Rakefile
rails_best_practices-0.3.18 Rakefile
rails_best_practices-0.3.17 Rakefile
rails_best_practices-0.3.16 Rakefile
rails_best_practices-0.3.15 Rakefile
rails_best_practices-0.3.14 Rakefile
rails_best_practices-0.3.13 Rakefile
rails_best_practices-0.3.12 Rakefile
rails_best_practices-0.3.11 Rakefile
rails_best_practices-0.3.10 Rakefile
rails_best_practices-0.3.9 Rakefile
rails_best_practices-0.3.8 Rakefile
rails_best_practices-0.3.7 Rakefile
rails_best_practices-0.3.6 Rakefile
rails_best_practices-0.3.5 Rakefile
rails_best_practices-0.3.4 Rakefile
rails_best_practices-0.3.3 Rakefile
rails_best_practices-0.3.2 Rakefile
rails_best_practices-0.3.1 Rakefile
rails_best_practices-0.3.0 Rakefile