Add libxml to faster XML output generation

This commit is contained in:
ccocchi 2012-09-17 15:08:54 +02:00
parent 283b957666
commit c566c0d788
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ source "http://rubygems.org"
gemspec gemspec
gem 'yajl-ruby' gem 'yajl-ruby'
gem 'libxml-ruby'
group :test do group :test do
gem 'rspec-mocks' gem 'rspec-mocks'

View File

@ -23,6 +23,8 @@ end
require 'rabl-rails' require 'rabl-rails'
ActiveSupport::XmlMini.backend = 'LibXML'
module ActiveSupport module ActiveSupport
class TestCase class TestCase
RSpec::Mocks::setup(self) RSpec::Mocks::setup(self)