forked from acmarques/snorby_cas_authenticatable
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRakefile
46 lines (37 loc) · 1.31 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
require 'bundler'
Bundler.setup
require 'rake'
require 'rake/rdoctask'
require 'rspec/mocks/version'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
desc 'Default: run specs.'
task :default => :spec
desc 'Generate documentation for the devise_cas_authenticatable plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'devise_cas_authenticatable'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "devise_cas_authenticatable"
gemspec.summary = "CAS authentication module for Devise"
gemspec.description = "CAS authentication module for Devise"
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/nbudin/devise_cas_authenticatable"
gemspec.authors = ["Nat Budin"]
gemspec.add_runtime_dependency "devise", ">= 1.0.6"
gemspec.add_runtime_dependency "rubycas-client", ">= 2.2.1"
end
Jeweler::RubygemsDotOrgTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
namespace :scenario do
require File.expand_path('../spec/scenario/config/application', __FILE__)
Scenario::Application.load_tasks
end