Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (24 sloc) 997 Bytes
# coding: utf-8
require 'rake'
require 'rake/testtask'
desc "Run the unit tests"
task :default => 'test'
require 'jeweler' do |gemspec| = "bartt-ssl_requirement"
gemspec.summary = "Allow controller actions to force SSL on specific parts of the site."
gemspec.description = "SSL requirement adds a declarative way of specifying that certain actions should only be allowed to run under SSL, and if they're accessed without it, they should be redirected." = ''
gemspec.homepage = ''
gemspec.authors = ['RailsJedi', 'David Heinemeier Hansson', 'jcnetdev', 'bcurren', 'bmpercy','revo','nathany', 'bartt', 'Thorben Schröder']
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end do |t|
t.pattern = 'test/**/*_test.rb'
t.ruby_opts << '-rubygems'
t.libs << 'test'
t.verbose = true