lib/data/configuration.rb in gfsm-0.1.4 vs lib/data/configuration.rb in gfsm-0.2.0
- old
+ new
@@ -16,10 +16,10 @@
if key == "change_types"
self.load_change_types(value)
end
end
- @change_types.sort_by! { |change_type| change_type.priority }.reverse!
+ @change_types
end
def get_change_type_from_category(category)
@change_types.find do |change_type|
category.match(change_type.matcher)
\ No newline at end of file