./Rakefile in methodchain-0.3.1 vs ./Rakefile in methodchain-0.4.0
- old
+ new
@@ -87,11 +87,11 @@
doc = open( 'doc/files/README.html' ) { |f| Hpricot(f) }
# find example code
doc.at('#description').search('pre').each do |ex|
#select {|elem| elem.inner_html =~ /class |module /}.each do |ex|
# add coderay and undo what rdoc has done in the example code
- ex.swap("<coderay lang='ruby'>#{ex.inner_html.gsub('"', '"').gsub('>','>')}</coderay>")
+ ex.swap("<coderay lang='ruby'>#{ex.inner_html.gsub('"', '"').gsub('>','>').gsub('<', '<')}</coderay>")
end
puts doc.at('#description').to_html
end
# run README through xmp
@@ -132,10 +132,10 @@
require 'rake/gempackagetask'
spec = Gem::Specification.new do |s|
s.name = project
s.rubyforge_project = project
- s.version = "0.3.1"
+ s.version = "0.4.0"
s.author = "Greg Weber"
s.email = "greg@gregweber.info"
s.homepage = "http://projects.gregweber.info/#{project}"
s.platform = Gem::Platform::RUBY
s.summary = "convenience methods for method chaining"