lib/person_name/name_splitter.rb in person-name-0.2.11 vs lib/person_name/name_splitter.rb in person-name-0.2.12

- old
+ new

@@ -153,10 +153,10 @@ NAME_PARTS.each do |part| part_values = (old_values[part.to_sym] || "").split(" ") part_score = O[part.to_sym] if part_values.include? value - part_score = O[:first_name] if stage == O[:prefix] and part = :middle_name + part_score = O[:first_name] if stage == O[:prefix] and part == :middle_name new_stage = part_score if part_score > new_stage return new_stage end end stage \ No newline at end of file