Commit 51bdc840 by epitron Committed by Daniel Mendler

Mimetype extensions are now ordered by freedesktop.org's priority

parent 64b60d12
...@@ -147,7 +147,7 @@ puts " # @private" ...@@ -147,7 +147,7 @@ puts " # @private"
puts " # :nodoc:" puts " # :nodoc:"
puts " TYPES = {" puts " TYPES = {"
types.keys.sort.each do |key| types.keys.sort.each do |key|
exts = types[key][0].sort.join(' ') exts = types[key][0].join(' ')
parents = types[key][1].sort.join(' ') parents = types[key][1].sort.join(' ')
comment = types[key][2].inspect comment = types[key][2].inspect
puts " '#{key}' => [%w(#{exts}), %w(#{parents}), #{comment}]," puts " '#{key}' => [%w(#{exts}), %w(#{parents}), #{comment}],"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment