lib/namor/namor.rb in namor-0.5.1 vs lib/namor/namor.rb in namor-0.5.2
- old
+ new
@@ -103,9 +103,10 @@
def extract_with_cluster(name, opts = {})
ary = extract(name, opts)
return [] if ary.empty?
ary << ary[3].gsub(/\W/, '_')
+ ary << ary[4].gsub(/\W/, '_')
end
def extract_from_pieces(hash)
assemble(
scrub(hash[:first]),