public
Description: KVC (Key-Value Configuration): a powerful, transparent way to maintain mutable app settings in the database.
Homepage:
Clone URL: git://github.com/stephencelis/kvc.git
stephencelis (author)
Fri Jun 26 05:57:23 -0700 2009
commit  504f9ef42a345823839d2d7fc0520ce90628b8a0
tree    7e1498f8d8ffe9109b787cc3d41b2d905a9295d6
parent  95af3c33e00a34baebaee4d420bdd8b8c10c49ca
kvc / Rakefile
100644 35 lines (29 sloc) 0.783 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
$: << File.dirname(__FILE__) + "/lib"
require "rubygems"
require "hoe"
require "active_record"
require "kvc"
 
Hoe.new("kvc", KVC::VERSION) do |p|
  p.developer("Stephen Celis", "stephen@stephencelis.com")
  p.remote_rdoc_dir = ''
end
 
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the KVC plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the kvc plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'KVC'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end