uri_template 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +3 -0
- data/lib/uri_template.rb +1 -1
- data/uri_template.gemspec +1 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
data/lib/uri_template.rb
CHANGED
|
@@ -315,7 +315,7 @@ RUBY
|
|
|
315
315
|
|
|
316
316
|
if tail.ends_with_slash?
|
|
317
317
|
if head.starts_with_slash?
|
|
318
|
-
return self.class.new( remove_double_slash(self.tokens, other.tokens) )
|
|
318
|
+
return self.class.new( remove_double_slash(self.tokens, other.tokens).join )
|
|
319
319
|
end
|
|
320
320
|
elsif !head.starts_with_slash?
|
|
321
321
|
return self.class.new( (self.tokens + ['/'] + other.tokens).join)
|
data/uri_template.gemspec
CHANGED