Sha256: 00715bfbbb6f7340865a21a99ef072380f828234a547594f181e7655b56e21ca

Contents?: true

Size: 409 Bytes

Versions: 6

Compression:

Stored size: 409 Bytes

Contents

require 'active_support/core_ext/string/starts_ends_with'

module ActiveSupport
  module JSON
    module Backends
      module Yaml
        ParseError = ::StandardError
        extend self

        def decode(json)
          raise "The Yaml backend has been deprecated due to security risks, you should set ActiveSupport::JSON.backend = 'OkJson'"
        end

        protected
 
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
activesupport-2.3.18 lib/active_support/json/backends/yaml.rb
activesupport_csi-2.3.5.p8 lib/active_support/json/backends/yaml.rb
activesupport-2.3.17 lib/active_support/json/backends/yaml.rb
activesupport_csi-2.3.5.p7 lib/active_support/json/backends/yaml.rb
activesupport_csi-2.3.5.p6 lib/active_support/json/backends/yaml.rb
activesupport-2.3.16 lib/active_support/json/backends/yaml.rb