public
Description: Pottery, same as Morph, plus ability to persist instances to a database; requires Morph and Soup gems.
Homepage: http://github.com/robmckinnon/pottery
Clone URL: git://github.com/robmckinnon/pottery.git
pottery / Rakefile
100644 26 lines (21 sloc) 0.671 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
require 'rubygems'
require 'spec'
require 'lib/pottery'
 
begin
  require 'echoe'
 
  Echoe.new("pottery", Pottery::VERSION) do |m|
    m.author = ["Rob McKinnon"]
    m.email = ["rob ~@nospam@~ rubyforge.org"]
    m.description = File.readlines("README").first
    m.rubyforge_name = "pottery"
    m.rdoc_options << '--inline-source'
    m.rdoc_pattern = ["README", "CHANGELOG", "LICENSE"]
    m.dependencies = ["soup =0.2.1", "morph >=0.1.5"]
  end
 
rescue LoadError
  puts "You need to install the echoe gem to perform meta operations on this gem"
end
 
desc "Open an irb session preloaded with this library"
task :console do
  sh "irb -rubygems -r ./lib/pottery.rb"
end