Sha256: c62ab69467fae15c944aa643c16c6b0b437ab6c289b5dbc1fc8ae760466a9373
Contents?: true
Size: 981 Bytes
Versions: 31
Compression:
Stored size: 981 Bytes
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' require 'rake/gempackagetask' require 'rubygems' task :default => [ :test, :gem, :rdoc ] Rake::TestTask.new("test") { |t| t.test_files = FileList['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.0" s.platform = Gem::Platform::RUBY s.summary = "An insanely easy interface to the Flickr photo-sharing service. By Scott Raymond." s.requirements << 'Flickr developers API key' s.files = Dir.glob("*").delete_if { |item| item.include?("svn") } s.require_path = '.' s.autorequire = 'flickr' s.author = "Scott Raymond" s.email = "sco@redgreenblu.com" s.rubyforge_project = "flickr" s.homepage = "http://redgreenblu.com/flickr/" end Rake::GemPackageTask.new(spec) do |pkg| pkg.need_zip = true pkg.need_tar = true end
Version data entries
31 entries across 31 versions & 2 rubygems