lib/build/uri/triplet.rb in build-uri-1.0.0 vs lib/build/uri/triplet.rb in build-uri-1.0.1

- old
+ new

@@ -45,10 +45,14 @@ return buffer end def self.parse(string) if match = PARSER.match(string) - self.new(*match.values_at(*self.members)) + self.new( + match[:userinfo], + match[:host], + match[:path], + ).freeze end end end end end \ No newline at end of file