Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (34 sloc) 1.104 kB
require "rubygems"
require "rake"
require "rake/clean"
require 'yaml'
require 'rdoc/task'
config = YAML.load_file("VERSION.yml")
task :default => ["build"]
CLEAN.include [ 'pkg', 'rdoc' ]
name = "gibbler"
begin
require "jeweler"
Jeweler::Tasks.new do |gem|
gem.version = "#{config[:MAJOR]}.#{config[:MINOR]}.#{config[:PATCH]}"
gem.name = name
gem.rubyforge_project = gem.name
gem.summary = "Git-like hashes for Ruby objects"
gem.description = "Git-like hashes for Ruby objects"
gem.email = "delano@solutious.com"
gem.homepage = "http://github.com/delano/gibbler"
gem.authors = ["Delano Mandelbaum"]
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
RDoc::Task.new do |rdoc|
version = "#{config[:MAJOR]}.#{config[:MINOR]}.#{config[:PATCH]}"
rdoc.rdoc_dir = "rdoc"
rdoc.title = "#{name} #{version}"
rdoc.rdoc_files.include("README*")
rdoc.rdoc_files.include("LICENSE.txt")
rdoc.rdoc_files.include("bin/*.rb")
rdoc.rdoc_files.include("lib/**/*.rb")
end
Jump to Line
Something went wrong with that request. Please try again.