fastlane/lib/fastlane/server/socket_server.rb in fastlane-2.70.3 vs fastlane/lib/fastlane/server/socket_server.rb in fastlane-2.71.0.beta.20171219010003
- old
+ new
@@ -172,46 +172,41 @@
def process_value_as_string(return_value: nil)
if return_value.nil?
return_value = ""
end
- # quirks_mode because sometimes the built-in library is used for some folks and that needs quirks_mode: true
- return JSON.generate(return_value.to_s, quirks_mode: true)
+ return JSON.generate(return_value.to_s)
end
def process_value_as_array_of_strings(return_value: nil)
if return_value.nil?
return_value = []
end
- # quirks_mode shouldn't be required for real objects
return JSON.generate(return_value)
end
def process_value_as_hash_of_strings(return_value: nil)
if return_value.nil?
return_value = {}
end
- # quirks_mode shouldn't be required for real objects
return JSON.generate(return_value)
end
def process_value_as_bool(return_value: nil)
if return_value.nil?
return_value = false
end
- # quirks_mode because sometimes the built-in library is used for some folks and that needs quirks_mode: true
- return JSON.generate(return_value.to_s, quirks_mode: true)
+ return JSON.generate(return_value)
end
def process_value_as_int(return_value: nil)
if return_value.nil?
return_value = 0
end
- # quirks_mode because sometimes the built-in library is used for some folks and that needs quirks_mode: true
- return JSON.generate(return_value.to_s, quirks_mode: true)
+ return JSON.generate(return_value)
end
end
end