Rakefile in interpolate-0.2.0 vs Rakefile in interpolate-0.2.1
- old
+ new
@@ -4,17 +4,15 @@
require 'interpolate'
Hoe.new('Interpolate', Interpolation::VERSION) do |p|
p.name = "interpolate"
p.author = "Adam Collins"
- p.description = "Library for creating generic interpolations objects."
p.email = 'adam.w.collins@gmail.com'
- p.summary = "Useful for such things as generating linear motion between points (or arrays of points), multi-channel color gradients, piecewise functions, or even just placing values within intervals."
p.url = "http://interpolate.rubyforge.org"
- #p.clean_globs = [''] # Remove this directory on "rake clean"
+ p.description = File.read('README.txt').delete("\r").split(/^== /)[2].chomp.chomp
+ p.summary = p.description
+ p.changes = File.read('CHANGELOG.txt').delete("\r").split(/^== /)[1].chomp
p.remote_rdoc_dir = '' # Release to root
- p.changes = p.paragraphs_of('CHANGELOG', 0..1).join("\n\n")
- # * extra_deps - An array of rubygem dependencies.
end
desc "Release and publish documentation"
task :repubdoc => [:release, :publish_docs]