Sha256: a892735ca6ecbd76ae4fc3be6594028e9c3f813e7c8fc7433ea26da1694f5334
Contents?: true
Size: 1.31 KB
Versions: 1
Compression:
Stored size: 1.31 KB
Contents
require 'lib/rufus/lru.rb' require 'rubygems' require 'rake' # # CLEAN require 'rake/clean' CLEAN.include('pkg', 'tmp', 'html') task :default => [ :clean ] # # GEM require 'jeweler' Jeweler::Tasks.new do |gem| gem.version = Rufus::Lru::VERSION gem.name = 'rufus-lru' gem.summary = 'LruHash class, a Hash with a max size, controlled by a LRU mechanism' gem.description = %{ LruHash class, a Hash with a max size, controlled by a LRU mechanism } gem.email = 'jmettraux@gmail.com' gem.homepage = 'http://github.com/jmettraux/rufus-lru/' gem.authors = [ 'John Mettraux' ] gem.rubyforge_project = 'rufus' gem.test_file = 'test/test.rb' #gem.add_dependency 'json' gem.add_development_dependency 'yard', '>= 0' # gemspec spec : http://www.rubygems.org/read/chapter/20 end Jeweler::GemcutterTasks.new # # DOC begin require 'yard' YARD::Rake::YardocTask.new do |doc| doc.options = [ '-o', 'html/rufus-lru', '--title', "rufus-lru #{Rufus::Lru::VERSION}" ] end rescue LoadError task :yard do abort "YARD is not available : sudo gem install yard" end end # # TO THE WEB task :upload_website => [ :clean, :yard ] do account = 'jmettraux@rubyforge.org' webdir = '/var/www/gforge-projects/rufus' sh "rsync -azv -e ssh html/rufus-lru #{account}:#{webdir}/" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rufus-lru-1.0.3 | Rakefile |