Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (41 sloc) 1.42 KB
# encoding: utf-8
require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
NAME = "devise_facebook_connectable"
SUMMARY = %{Devise << Facebook Connect.}
HOMEPAGE = "http://github.com/grimen/#{NAME}"
AUTHORS = ["Jonas Grimfelt"]
EMAIL = "grimen@gmail.com"
SUPPORT_FILES = %w(README)
begin
gem 'jeweler'
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = NAME
gemspec.summary = SUMMARY
gemspec.description = SUMMARY
gemspec.homepage = HOMEPAGE
gemspec.authors = AUTHORS
gemspec.email = EMAIL
gemspec.require_paths = %w{lib}
gemspec.files = SUPPORT_FILES << %w(Rakefile) <<
Dir.glob(File.join(*%w[{assets,lib} ** *]).to_s)
gemspec.executables = %w[]
gemspec.extra_rdoc_files = SUPPORT_FILES
#gemspec.add_dependency 'activesupport', '>= 2.3.0'
#gemspec.add_dependency 'devise', '>= 0.5.0'
#gemspec.add_dependency 'facebooker', '>= 1.0.55'
end
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(SUPPORT_FILES)
rdoc.rdoc_files.include(File.join(*%w[lib ** *.rb]))
end
Jump to Line
Something went wrong with that request. Please try again.