spud_blog 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,9 +6,9 @@ xml.urlset :xmlns => 'http://www.sitemaps.org/schemas/sitemap/0.9' do
6
6
  @posts.each do |post|
7
7
  xml.url do
8
8
  if post.is_news
9
- xml.loc news_post_path(post)
9
+ xml.loc news_post_url(post.url_name)
10
10
  else
11
- xml.loc blog_post_path(post)
11
+ xml.loc blog_post_url(post.url_name)
12
12
  end
13
13
  xml.lastmod post.published_at.strftime('%Y-%m-%d')
14
14
  end
@@ -11,7 +11,7 @@ module Spud
11
11
  :order => 3
12
12
  }]
13
13
  if Spud::Blog.enable_sitemap == true
14
- Spud::Core.config.sitemap_urls += [:spud_cms_sitemap_url]
14
+ Spud::Core.config.sitemap_urls += [:spud_blog_sitemap_url]
15
15
  end
16
16
  if Spud::Blog.config.blog_enabled
17
17
  Spud::Core.config.admin_applications += [{
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spud_blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spud_core
16
- requirement: &70273322548400 !ruby/object:Gem::Requirement
16
+ requirement: &70247516879720 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.5.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70273322548400
24
+ version_requirements: *70247516879720
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: will_paginate
27
- requirement: &70273322547920 !ruby/object:Gem::Requirement
27
+ requirement: &70247516879240 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70273322547920
35
+ version_requirements: *70247516879240
36
36
  description:
37
37
  email: greg@westlakedesign.com
38
38
  executables: []