Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e575f1d3ca
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (26 sloc) 0.976 kb
desc "Run all specs in spec directory"
task :default do
options = "--colour --format progress --loadby --reverse"
files = FileList['spec/**/*_spec.rb']
system("spec #{options} #{files}")
end
begin
require 'jeweler'
project_name = 'readable_random'
Jeweler::Tasks.new do |gem|
gem.name = project_name
gem.description = gem.summary = "Readable random strings for coupons or tokens"
gem.email = "grosser.michael@gmail.com"
gem.homepage = "http://github.com/grosser/#{project_name}"
gem.authors = ["Michael Grosser"]
gem.rubyforge_project = 'readable-random'
end
# fake task so that rubyforge:release works
task :rdoc do
`mkdir rdoc`
`echo documentation is at http://github.com/grosser/#{project_name} > rdoc/README.rdoc`
end
Jeweler::RubyforgeTasks.new
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
Jump to Line
Something went wrong with that request. Please try again.