Sha256: 2db9e66d883778fcce55bf1a1ffdfc3a3b0fe5b4bd30b3fa159cefda707dddc7
Contents?: true
Size: 1.36 KB
Versions: 2
Compression:
Stored size: 1.36 KB
Contents
require 'rubygems' gem 'hoe', '>= 2.3.0' require 'hoe' Hoe.plugin :git Hoe.spec "loofah" do developer "Mike Dalessio", "mike.dalessio@gmail.com" developer "Bryan Helmkamp", "bryan@brynary.com" 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 if File.exist?("rails_test/Rakefile") load "rails_test/Rakefile" else task :test do puts "----------" puts "-- NOTE: An additional Rails regression test suite is available in source repository" puts "----------" end end task :redocs => :fix_css task :docs => :fix_css task :fix_css do better_css = <<-EOT .method-description pre { margin: 1em 0 ; } .method-description ul { padding: .5em 0 .5em 2em ; } .method-description p { margin-top: .5em ; } #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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
loofah-0.4.1 | Rakefile |
loofah-0.4.0 | Rakefile |