public
Description: A Rails 2.1 compatible plugin for replacing XmlSimple with libxml-ruby.
Homepage:
Clone URL: git://github.com/bitbckt/libxml_rails.git
bitbckt (author)
Tue Jul 29 16:04:54 -0700 2008
commit  77c9a7276dd007cd5050618099e37e751bb49d98
tree    7d4690d7c6c5abeec74835c843223dc531d23ccd
parent  244d222a9fe09e755c2e25bfa71e85e6eaac1d92
libxml_rails / Rakefile
100644 27 lines (24 sloc) 0.897 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
require 'rubygems'
require 'rake'
require 'spec/rake/spectask'
 
begin
  require 'echoe'
  Echoe.new('libxml_rails', '0.0.2') do |p|
    p.summary = 'A plugin substituting libxml-ruby for XmlSimple in Rails.'
    p.url = 'http://github.com/bitbckt/libxml_rails'
    p.author = 'Brandon Mitchell'
    p.email = 'brandon (at) systemisdown (dot) net'
    p.runtime_dependencies = ['activesupport >= 2.1.0', 'libxml-ruby >=0.8.3']
  end
rescue LoadError => boom
  puts 'You are missing a dependency required for meta-operations on this gem.'
  puts boom.to_s.capitalize
end
 
desc 'Install the package as a gem, without generating documentation(ri/rdoc)'
task :install_gem_no_doc => [:clean, :package] do
  sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
end
 
desc 'Run specs'
Spec::Rake::SpecTask.new do |t|
  t.spec_opts = ['--format', 'specdoc', '--colour', '--diff']
end