site_map 0.3.2 → 0.3.3

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 = 2
6
+ TINY = 3
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
- "/#{@index.to_s.downcase.gsub(/[^a-z0-9\-_\+]+/, '-')}"
135
+ "/#{@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
- - 2
9
- version: 0.3.2
8
+ - 3
9
+ version: 0.3.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Collin Redding