forked from beyondthepath/rfacebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgemspec.rb
34 lines (26 loc) · 1023 Bytes
/
gemspec.rb
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
require "rubygems"
Gem::manage_gems
require "rake/gempackagetask"
spec = Gem::Specification.new do |s|
s.name = "rfacebook"
s.summary = "A Ruby interface to the Facebook API v1.0+. Works with RFacebook on Rails plugin (see http://rfacebook.rubyforge.org)."
s.version = "0.9.8"
s.author = "Matt Pizzimenti"
s.email = "matt@livelearncode.com"
s.homepage = "http://www.livelearncode.com/"
s.rubyforge_project = "rfacebook"
s.platform = Gem::Platform::RUBY
s.files = FileList["lib/*.rb"]
s.require_path = "lib"
s.autorequire = "rfacebook"
s.test_files = Dir.glob("test/*.rb")
s.has_rdoc = true
s.extra_rdoc_files = ["README"]
s.add_dependency("hpricot", ">= 0.6.0")
s.add_dependency("mocha", ">= 0.5.3")
s.requirements << "Hpricot version >= 0.6.0 (has better handling of XML than previous versions)"
s.requirements << "Mocha version >= 0.5.3 (used for unit testing of the Gem and Rails Plugin)"
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_tar = true
end