Sha256: d271354b9e34b9f1f9ec04e494579cc0e8f8c1bf75cfaea03f8857b7656a573a

Contents?: true

Size: 443 Bytes

Versions: 31

Compression:

Stored size: 443 Bytes

Contents

require 'dm-serializer/xml_serializers/rexml'
require 'dm-serializer/xml_serializers/nokogiri'
require 'dm-serializer/xml_serializers/libxml'

module DataMapper
  module Serialize
    module XMLSerializers
      SERIALIZER = if defined?(::LibXML)
                     LibXML
                   elsif defined?(::Nokogiri)
                     Nokogiri
                   else
                     REXML
                   end
    end
  end
end

Version data entries

31 entries across 31 versions & 3 rubygems

Version Path
dm-serializer-1.1.0.rc2 lib/dm-serializer/xml_serializers.rb
dm-serializer-1.1.0.rc1 lib/dm-serializer/xml_serializers.rb
ixtlan-0.4.3 lib/dm-serializer/xml_serializers.rb
ixtlan-0.4.2 lib/dm-serializer/xml_serializers.rb
ixtlan-0.4.1 lib/dm-serializer/xml_serializers.rb
dm-serializer-1.0.2 lib/dm-serializer/xml_serializers.rb
dm-serializer-1.0.1 lib/dm-serializer/xml_serializers.rb
ixtlan-0.4.0 lib/dm-serializer/xml_serializers.rb
ixtlan-0.4.0.pre5 lib/dm-serializer/xml_serializers.rb
ixtlan-0.4.0.pre4 lib/dm-serializer/xml_serializers.rb
ixtlan-0.4.0.pre3 lib/dm-serializer/xml_serializers.rb
dm-serializer-1.0.0 lib/dm-serializer/xml_serializers.rb
ixtlan-0.4.0.pre2 lib/dm-serializer/xml_serializers.rb
ixtlan-0.4.0.pre lib/dm-serializer/xml_serializers.rb
dm-serializer-1.0.0.rc3 lib/dm-serializer/xml_serializers.rb
ixtlan-0.3.0 lib/dm-serializer/xml_serializers.rb
dm-serializer-1.0.0.rc2 lib/dm-serializer/xml_serializers.rb
dm-serializer-1.0.0.rc1 lib/dm-serializer/xml_serializers.rb
ixtlan-0.2.4 lib/dm-serializer/xml_serializers.rb
ixtlan-0.2.3 lib/dm-serializer/xml_serializers.rb