forked from nicolasblanco/devise_rpx_connectable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
executable file
·41 lines (34 loc) · 1.4 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
require "rake"
require "rake/rdoctask"
require "rspec"
require "rspec/core/rake_task"
require File.join(File.dirname(__FILE__), 'lib', 'devise_rpx_connectable', 'version')
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "devise_rpx_connectable"
gem.version = ::Devise::RpxConnectable::VERSION
gem.summary = %Q{Authenticate your users with RPX in your Rails application using Devise.}
gem.description = %Q{Authenticate your users with RPX in your Rails application using Devise.}
gem.email = "[email protected]"
gem.homepage = "http://github.com/slainer68/devise_rpx_connectable"
gem.authors = ["Nicolas Blanco"]
gem.add_dependency 'devise', '>= 1.1.2'
gem.add_dependency 'rpx_now', '>= 0.6.23'
gem.add_development_dependency "rspec", ">= 2.0.0.beta.22"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
Rspec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = "spec/**/*_spec.rb"
end
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "devise_rpx_connectable #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end