Rakefile in loofah-0.3.1 vs Rakefile in loofah-0.4.0
- old
+ new
@@ -11,10 +11,13 @@
self.extra_rdoc_files = FileList["*.rdoc"]
self.history_file = "CHANGELOG.rdoc"
self.readme_file = "README.rdoc"
extra_deps << ["nokogiri", ">= 1.3.3"]
+ extra_dev_deps << ["mocha", ">=0.9"]
+ extra_dev_deps << ["thoughtbot-shoulda", ">=2.10"]
+ extra_dev_deps << ["acts_as_fu", ">=0.0.5"]
# note: .hoerc should have the following line to omit rails tests and tmp
# exclude: !ruby/regexp /\/tmp\/|\/rails_tests\/|CVS|TAGS|\.(svn|git|DS_Store)/
end
@@ -42,13 +45,18 @@
.method-description p {
margin-top: .5em ;
}
-div#main ul {
- list-style-type: disc ;
- list-style-position: inside ;
+#main ul, div#documentation ul {
+ list-style-type: disc ! IMPORTANT ;
+ list-style-position: inside ! IMPORTANT ;
}
+
+h2 + ul {
+ margin-top: 1em;
+}
+
EOT
puts "* fixing css"
File.open("doc/rdoc.css", "a") { |f| f.write better_css }
end