forked from grimen/devise_facebook_connectable
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
40 lines (35 loc) · 1.34 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
# encoding: utf-8
require 'rubygems'
require 'rake'
require 'rake/rdoctask'
require File.join(File.dirname(__FILE__), 'lib', 'devise_facebook_connectable', 'version')
NAME = "devise_facebook_connectable"
begin
gem 'jeweler'
require 'jeweler'
Jeweler::Tasks.new do |spec|
spec.name = NAME
spec.version = ::Devise::FacebookConnectable::VERSION
spec.summary = %{Devise << Facebook Connect.}
spec.description = spec.summary
spec.homepage = "http://github.com/grimen/#{spec.name}"
spec.authors = ["Jonas Grimfelt"]
spec.email = "grimen@gmail.com"
spec.files = FileList['[A-Z]*', File.join(*%w[{generators,lib,rails} ** *]).to_s]
spec.add_dependency 'activesupport', '>= 2.3.0'
spec.add_dependency 'devise', '>= 1.0.0'
spec.add_dependency 'facebooker', '>= 1.0.55'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler - or one of its dependencies - is not available. " <<
"Install it with: sudo gem install jeweler -s http://gemcutter.org"
end
desc %Q{Generate documentation for "#{NAME}".}
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = NAME
rdoc.options << '--line-numbers' << '--inline-source' << '--charset=UTF-8'
rdoc.rdoc_files.include('README.textile')
rdoc.rdoc_files.include(File.join(*%w[lib ** *.rb]))
end