forked from bartt/ssl_requirement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
27 lines (24 loc) · 997 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# coding: utf-8
require 'rake'
require 'rake/testtask'
desc "Run the unit tests"
task :default => 'test'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "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.email = '[email protected]'
gemspec.homepage = 'http://github.com/bartt/ssl_requirement'
gemspec.authors = ['RailsJedi', 'David Heinemeier Hansson', 'jcnetdev', 'bcurren', 'bmpercy','revo','nathany', 'bartt', 'Thorben Schröder']
end
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end
Rake::TestTask.new(:test) do |t|
t.pattern = 'test/**/*_test.rb'
t.ruby_opts << '-rubygems'
t.libs << 'test'
t.verbose = true
end