lib/vagrant-mutate/box_loader.rb in vagrant-mutate-1.0.1 vs lib/vagrant-mutate/box_loader.rb in vagrant-mutate-1.0.2

- old
+ new

@@ -54,10 +54,10 @@ # extract the name of the box from the url # if it ends in .box remove that extension # if not just remove leading slash name = nil - if url.path =~ /([-\w]+).box$/ + if url.path =~ /([-.\w]+).box$/ name = Regexp.last_match[1] else name = url.path.sub(/^\//, '') end if name.empty?