Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (35 sloc) 1.083 kB
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/gempackagetask'
require 'rubygems'
task :default => [ :gem, :rdoc ]
Rake::TestTask.new("test") { |t|
t.test_files = FileList['test/test*.rb']
}
Rake::RDocTask.new { |rdoc|
rdoc.rdoc_dir = 'doc'
rdoc.rdoc_files.include('flickr.rb')
}
spec = Gem::Specification.new do |s|
s.add_dependency('xml-simple', '>= 1.0.7')
s.name = 'flickr'
s.version = "1.0.6"
s.platform = Gem::Platform::RUBY
s.summary = "An insanely easy interface to the Flickr photo-sharing service. By Scott Raymond. Maintainer: Patrick Plattes"
s.requirements << 'Flickr developers API key'
s.files = Dir.glob("**/*").delete_if { |item| item.include?("svn") || item[/^pkg/] }
s.require_path = 'lib'
s.author = "Scott Raymond, Patrick Plattes"
s.email = "patrick@erdbeere.net"
s.rubyforge_project = "flickr"
s.homepage = "http://flickr.rubyforge.org/"
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_zip = true
pkg.need_tar = true
end
task "Dump Gemspec file"
task :debug do
puts spec.to_ruby
end
Jump to Line
Something went wrong with that request. Please try again.