public
Description: Morph makes it easy to emerge Ruby class definitions at runtime. Mix with Hpricot for screen scrapping fun.
Homepage: http://github.com/robmckinnon/morph
Clone URL: git://github.com/robmckinnon/morph.git
robmckinnon (author)
Mon Apr 13 05:56:37 -0700 2009
commit  4fab1d298c45d84fcacc51be368ab12fbda82ac1
tree    d14fa098023ad210712617d82e885acc5cc68754
parent  8840159bc0e273cee215f916b7e2e558134e7455
morph / Rakefile
100644 26 lines (21 sloc) 0.654 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/morph'
 
begin
  require 'echoe'
 
  Echoe.new("morph", Morph::VERSION) do |m|
    m.author = ["Rob McKinnon"]
    m.email = ["rob ~@nospam@~ rubyforge.org"]
    m.description = File.readlines("README").first
    m.rubyforge_name = "morph"
    m.rdoc_options << '--inline-source'
    m.dependencies = ["activesupport >=2.0.2"]
    m.rdoc_pattern = ["README", "CHANGELOG", "LICENSE"]
  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/morph.rb"
end