module Bundler::YAMLSerializer

def convert_to_backward_compatible_key(key)

for settings' keys
def convert_to_backward_compatible_key(key)
  key = "#{key}/" if key =~ /https?:/i && key !~ %r{/\Z}
  key = key.gsub(".", "__") if key.include?(".")
  key
end