class Gem::Commands::QueryCommand

def spec_license entry, spec

def spec_license entry, spec
  return if spec.license.nil? or spec.license.empty?
  licenses = "License#{spec.licenses.length > 1 ? 's' : ''}: ".dup
  licenses << spec.licenses.join(', ')
  entry << "\n" << format_text(licenses, 68, 4)
end