Sha256: 973840dc49a2687f05844fb054d92ef39fbb91074db317be89e3aa75b1ebbcbd

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 KB

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "top_n"
  gem.homepage = "http://github.com/skandragon/top_n"
  gem.license = "MIT"
  gem.summary = %Q{Track the top (or bottom) N keys added to a list}
  gem.description = %Q{Track the top (or bottom) N keys added to a list, and discard the remainder.}
  gem.email = "explorer@flame.org"
  gem.authors = ["Michael Graff"]
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

task :default => :test

require 'yard'
YARD::Rake::YardocTask.new

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
top_n-1.1.1 Rakefile
top_n-1.1.0 Rakefile
top_n-1.0.1 Rakefile
top_n-1.0.0 Rakefile