lib/cfoundry/v2/app.rb in cfoundry-0.3.20 vs lib/cfoundry/v2/app.rb in cfoundry-0.3.21

- old
+ new

@@ -1,7 +1,7 @@ require "tmpdir" -require "json" +require "multi_json" require "cfoundry/zip" require "cfoundry/upload_helpers" require "cfoundry/chatty_hash" @@ -40,10 +40,10 @@ end def env @env ||= CFoundry::ChattyHash.new( method(:env=), - JSON.parse(environment_json)) + MultiJson.load(environment_json)) end def env=(hash) @env = hash @diff["environment_json"] = hash