Sha256: 70bdf6ce0dfeb7cebeefaa314935a043bfe969f015fdbccf64bfd2936e0cf4ef

Contents?: true

Size: 132 Bytes

Versions: 24

Compression:

Stored size: 132 Bytes

Contents

require 'multi_json'

module Serverspec::Type
  class JsonFile < File
    def content
      MultiJson.load(super)
    end
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
serverspec-2.42.3 lib/serverspec/type/json_file.rb
serverspec-2.42.2 lib/serverspec/type/json_file.rb
serverspec-2.42.1 lib/serverspec/type/json_file.rb
serverspec-cem-acpt-2.42.0 lib/serverspec/type/json_file.rb
serverspec-2.42.0 lib/serverspec/type/json_file.rb
serverspec-2.41.8 lib/serverspec/type/json_file.rb
serverspec-2.41.7 lib/serverspec/type/json_file.rb
serverspec-2.41.6 lib/serverspec/type/json_file.rb
serverspec-2.41.5 lib/serverspec/type/json_file.rb
serverspec-2.41.4 lib/serverspec/type/json_file.rb
serverspec-2.41.3 lib/serverspec/type/json_file.rb
serverspec-2.41.2 lib/serverspec/type/json_file.rb
serverspec-2.41.1 lib/serverspec/type/json_file.rb
serverspec-2.41.0 lib/serverspec/type/json_file.rb
serverspec-2.40.0 lib/serverspec/type/json_file.rb
serverspec-2.39.2 lib/serverspec/type/json_file.rb
serverspec-2.39.1 lib/serverspec/type/json_file.rb
serverspec-2.39.0 lib/serverspec/type/json_file.rb
serverspec-2.38.1 lib/serverspec/type/json_file.rb
serverspec-2.38.0 lib/serverspec/type/json_file.rb