Sha256: e7196329a888f6c6fd1a2faecf1fb515a5330519537d6a7ca0246b12b102b6e7

Contents?: true

Size: 1.06 KB

Versions: 12

Compression:

Stored size: 1.06 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'
  gemspec.add_dependency 'ruby2ruby'
end
Jeweler::GemcutterTasks.new

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rails_best_practices-0.2.10 Rakefile
rails_best_practices-0.2.9 Rakefile
rails_best_practices-0.2.8 Rakefile
rails_best_practices-0.2.6 Rakefile
rails_best_practices-0.2.5 Rakefile
rails_best_practices-0.2.4 Rakefile
rails_best_practices-0.2.3 Rakefile
rails_best_practices-0.2.2 Rakefile
rails_best_practices-0.2.1 Rakefile
rails_best_practices-0.2.0 Rakefile
rails_best_practices-0.1.2 Rakefile
rails_best_practices-0.1.1 Rakefile