forked from nbudin/devise_openid_authenticatable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
35 lines (31 loc) · 1.16 KB
/
Rakefile
File metadata and controls
35 lines (31 loc) · 1.16 KB
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
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_openid_authenticatable plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'devise_openid_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_openid_authenticatable"
gemspec.summary = "OpenID authentication module for Devise"
gemspec.description = "OpenID authentication module for Devise using Rack::OpenID"
gemspec.email = "natbudin@gmail.com"
gemspec.homepage = "http://github.com/nbudin/devise_openid_authenticatable"
gemspec.authors = ["Nat Budin"]
gemspec.add_runtime_dependency "devise", ">= 1.0.6"
gemspec.add_runtime_dependency "rack-openid", ">= 1.2.0"
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end