Skip to content

Commit

Permalink
Cleaned up Rakefile a bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
grimen committed Jan 26, 2010
1 parent 4e5c4c5 commit ac9f4b8
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 84 deletions.
2 changes: 1 addition & 1 deletion README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ h2. Dependencies

*You'll need:*

* *"devise 0.7.3+":http://github.com/plataformatec/devise* for authentication - based on "warden":http://github.com/hassox/warden/.
* *"devise 0.9.0+":http://github.com/plataformatec/devise* for authentication - based on "warden":http://github.com/hassox/warden/.
* *"facebooker":http://github.com/mmangino/facebooker* for Facebook API integration.

*For Ruby 1.9 support:*
Expand Down
25 changes: 10 additions & 15 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,23 @@
require 'rubygems'
require 'rake'
require 'rake/rdoctask'
require File.join(File.dirname(__FILE__), 'lib', 'devise_facebook_connectable', 'version')

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.textile)

begin
gem 'jeweler'
require 'jeweler'
Jeweler::Tasks.new do |spec|
spec.name = NAME
spec.summary = SUMMARY
spec.description = SUMMARY
spec.homepage = HOMEPAGE
spec.authors = AUTHORS
spec.email = EMAIL
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.require_paths = %w{lib}
spec.files = FileList['[A-Z]*', File.join(*%w[{generators,lib,rails} ** *])]
spec.extra_rdoc_files = SUPPORT_FILES
spec.files = FileList['[A-Z]*', File.join(*%w[{generators,lib,rails} ** *]).to_s]

spec.add_dependency 'activesupport', '>= 2.3.0'
spec.add_dependency 'devise', '>= 0.9.0'
Expand All @@ -40,6 +35,6 @@ 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('README.textile')
rdoc.rdoc_files.include(File.join(*%w[lib ** *.rb]))
end
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

67 changes: 0 additions & 67 deletions devise_facebook_connectable.gemspec

This file was deleted.

5 changes: 5 additions & 0 deletions lib/devise_facebook_connectable/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module Devise
module FacebookConnectable
VERSION = "0.1.9".freeze
end
end

0 comments on commit ac9f4b8

Please sign in to comment.