Sha256: 95f34f0f247df75480844181a3d779864385ef8c1c4b461341a4f0142375dfde

Contents?: true

Size: 391 Bytes

Versions: 35

Compression:

Stored size: 391 Bytes

Contents

begin
  require 'psych'
  YAMLAdaptor = Psych
rescue LoadError
  $stderr.puts "*"*80
  $stderr.puts "WARNING: Unable to load Psych, falling back to YAML for parser."
  $stderr.puts "    YAML will be removed in ActiveFedora 7.0.0."
  $stderr.puts "    YAMLAdaptor will be removed in ActiveFedora 7.0.0, and replaced with Psych"
  $stderr.puts "*"*80
  require 'yaml'
  YAMLAdaptor = YAML
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
active-fedora-6.8.0 lib/active_fedora/yaml_adaptor.rb
active-fedora-6.7.8 lib/active_fedora/yaml_adaptor.rb
active-fedora-6.7.7 lib/active_fedora/yaml_adaptor.rb
active-fedora-7.0.0.rc2 lib/active_fedora/yaml_adaptor.rb
active-fedora-6.7.6 lib/active_fedora/yaml_adaptor.rb
active-fedora-7.0.0.rc1 lib/active_fedora/yaml_adaptor.rb
active-fedora-6.7.5 lib/active_fedora/yaml_adaptor.rb
active-fedora-7.0.0.pre3 lib/active_fedora/yaml_adaptor.rb
active-fedora-6.7.4 lib/active_fedora/yaml_adaptor.rb
active-fedora-7.0.0.pre2 lib/active_fedora/yaml_adaptor.rb
active-fedora-7.0.0.pre1 lib/active_fedora/yaml_adaptor.rb
active-fedora-6.7.3 lib/active_fedora/yaml_adaptor.rb
active-fedora-6.7.2 lib/active_fedora/yaml_adaptor.rb
active-fedora-6.7.1 lib/active_fedora/yaml_adaptor.rb
active-fedora-6.7.0 lib/active_fedora/yaml_adaptor.rb
active-fedora-6.7.0.rc1 lib/active_fedora/yaml_adaptor.rb
active-fedora-6.6.1 lib/active_fedora/yaml_adaptor.rb
active-fedora-6.6.0 lib/active_fedora/yaml_adaptor.rb
active-fedora-6.6.0.rc5 lib/active_fedora/yaml_adaptor.rb
active-fedora-6.6.0.rc4 lib/active_fedora/yaml_adaptor.rb