public
Description: Manage markup close to home... right in the model! Caching, validation, etc
Homepage:
Clone URL: git://github.com/technicalpickles/has_markup.git
has_markup / Rakefile
100644 38 lines (33 sloc) 1.147 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
begin
  require 'rubygems'
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "has_markup"
    s.summary = "Manage markup close to home... right in the model! Caching, validation, etc"
    s.email = "josh@technicalpickles.com"
    s.homepage = "http://github.com/technicalpickles/has_markup"
    s.description = "Manage markup close to home... right in the model! Caching, validation, etc"
    s.authors = ["Josh Nichols"]
    s.files = FileList["[A-Z]*.*", "{lib,shoulda_macros}/**/*"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
 
Rake::TestTask.new do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end
 
desc 'Generate documentation for the safety_valve plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'HasMarkup'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end
 
desc "Run the test suite"
task :default => :test