Skip to content

Commit 5bb060d

Browse files
committed
Make gen_mgemdata.rb script sort list of gems by name.
1 parent d8a03f3 commit 5bb060d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

gen_mgemdata.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
}
2020
end
2121

22+
mgem_info.sort! { |a,b| a['name'].downcase <=> b['name'].downcase }
23+
2224
File.open('_data/mgems.yml', 'w') do |f|
2325
f.write(mgem_info.to_yaml)
2426
end

0 commit comments

Comments
 (0)