site_map 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module SiteMap
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 3
6
- TINY = 4
6
+ TINY = 5
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
@@ -132,7 +132,7 @@ module SiteMap
132
132
  when :member
133
133
  self.resource_url
134
134
  else
135
- "#{parent.url if parent}/#{@index.to_s.downcase.gsub(/[^a-z0-9\-\+]+/, '-')}"
135
+ "#{parent.url if parent}/#{@index.to_s.downcase.gsub(/[^a-z0-9\-\+]+/, '-')}".gsub(/\/\//, '/')
136
136
  end
137
137
  end
138
138
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 4
9
- version: 0.3.4
8
+ - 5
9
+ version: 0.3.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Collin Redding