5 6 7 8 9 10 11 12 13
# File 'lib/outrigger/migrator.rb', line 5 def runnable result = super return result unless Outrigger.ordered # re-order according to configuration result.sort_by! { |m| [Outrigger.ordered[m.tags.first] || 0, m.version] } result.reverse! if down? result end