site_map 0.2.8 → 0.2.9

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.
@@ -3,7 +3,7 @@ module SiteMap
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 2
6
- TINY = 8
6
+ TINY = 9
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
@@ -123,8 +123,6 @@ module SiteMap
123
123
  end
124
124
  parent_str = if [:member, :collection].include?(self.parent.type)
125
125
  self.single_string(self.parent.resource)
126
- elsif self.parent.type == :group
127
- self.parent.index.to_s
128
126
  end
129
127
  template = (URL_ACTION_TEMPLATES[@action] || BASE_URL_TEMPLATE[@type])
130
128
  resourced_url = [action_str, parent_str, template].flatten.compact.join('_')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: site_map
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Collin Redding