lib/rubyfocus/fetchers/fetcher.rb in rubyfocus-0.5.14 vs lib/rubyfocus/fetchers/fetcher.rb in rubyfocus-0.5.15

- old
+ new

@@ -86,10 +86,10 @@ # Collect the next patch to the document. If more than one patch can be applied, # apply the latest one. def next_patch(document) all_possible_patches = self.patches.select{ |patch| patch.can_patch?(document) } - return all_possible_patches.sort.first + return all_possible_patches.sort.last end #--------------------------------------- # Serialisation info \ No newline at end of file