lib/ar/enum/schema_dumper.rb in ar-enum-0.3.0 vs lib/ar/enum/schema_dumper.rb in ar-enum-0.4.0

- old
+ new

@@ -7,10 +7,10 @@ super enum_types(stream) end def enum_types(stream) - list = @connection.enum_types.to_a + list = @connection.enum_types.to_a.sort_by {|type| type["name"] } stream.puts(" # These are enum types available on this database") if list.any? list.each do |row| labels = row["labels"].split(",")