Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b73ddc4a7b
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (34 sloc) 1.387 kb
require 'rubygems'
require 'rake'
require 'rake/rdoctask'
require 'spec/rake/spectask'
desc 'Run the specs'
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
t.spec_files = FileList['spec/**/*_spec.rb']
end
desc 'Generate RDoc documentation.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_files.include('README.rdoc', 'LICENSE', 'Rakefile').
include('lib/**/*.rb')
rdoc.main = "README.rdoc"
rdoc.title = "utility_scopes documentation"
rdoc.rdoc_dir = 'doc' # rdoc output folder
rdoc.options << '--inline-source' << '--charset=UTF-8'
rdoc.options << '--webcvs=http://github.com/yfactorial/utility_scopes/tree/master/'
end
# Rakefile
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "utility_scopes"
gemspec.summary = "A collection of utilitarian named scopes providing common functionality for ActiveRecord models."
gemspec.description = "A collection of utilitarian named scopes providing common functionality for ActiveRecord models."
gemspec.email = "ryan@digitaltoniq.com"
gemspec.homepage = "http://github.com/yfactorial/utility_scopes"
gemspec.authors = ["Ryan Daigle", "Daniel Morrison"]
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler -s http://gemcutter.org"
end
Jump to Line
Something went wrong with that request. Please try again.