Project

General

Profile

Feature #10065 ยป 0001-Make-gem-env-command-output-valid-YAML.patch

Patch that implements feature request - david_macmahon (David MacMahon), 07/18/2014 06:25 PM

View differences:

lib/rubygems/commands/environment_command.rb
135 135
    out << "  - GEM CONFIGURATION:\n"
136 136
    Gem.configuration.each do |name, value|
137 137
      value = value.gsub(/./, '*') if name == 'gemcutter_key'
138
      out << "     - #{name.inspect} => #{value.inspect}\n"
138
      out << "     - #{name.inspect}: #{value.inspect}\n"
139 139
    end
140 140

  
141 141
    out << "  - REMOTE SOURCES:\n"
142
-