--- Rakefile 2010-06-16 09:14:14.240879073 +0200
+++ Rakefile 2010-06-21 11:25:07.868728485 +0200
@@ -6,16 +6,6 @@
def extra_deps
@extra_deps.delete_if{ |x| x.first == 'hoe' }
end
-
- # Dirty hack to package only the required files per platform
- def spec= s
- if ENV['PLATFORM'] =~ /win32/
- s.files = s.files.reject! {|f| f =~ /extconf\.rb/}
- else
- s.files = s.files.reject! {|f| f =~ /win\//}
- end
- @spec = s
- end
end
version = /^== *(\d+\.\d+\.\d+)/.match( File.read( 'History.txt' ) )[1]
@@ -34,7 +24,7 @@
else
p.spec_extras[:extensions] = ["ext/extconf.rb"]
end
- p.rdoc_pattern = /^(lib|bin|ext)|txt$/
+# p.rdoc_pattern = /^(lib|bin|ext)|txt$/
p.changes = p.paragraphs_of('History.txt', 0).join("\n\n")
end