dynamic_sitemaps 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ xml.instruct!
2
2
  xml.sitemapindex "xmlns" => "http://www.sitemaps.org/schemas/sitemap/0.9" do
3
3
  @pages.each_with_index do |page, i|
4
4
  xml.sitemap do
5
- xml.loc url_for(:host => request.host, :page => i + 1, :format => :xml)
5
+ xml.loc url_for(:host => request.host, :page => i + 1)
6
6
  if page.last_mod
7
7
  xml.lastmod page.last_mod.to_date
8
8
  end
@@ -0,0 +1,4 @@
1
+ require 'dynamic_sitemaps/page'
2
+ require 'dynamic_sitemaps/sitemap'
3
+ require 'dynamic_sitemaps/url'
4
+ require 'dynamic_sitemaps/engine'
@@ -0,0 +1,4 @@
1
+ module DynamicSitemaps
2
+ class Engine < Rails::Engine
3
+ end
4
+ end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic_sitemaps
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
5
- prerelease:
4
+ prerelease: false
6
5
  segments:
7
6
  - 1
8
7
  - 0
9
- - 3
10
- version: 1.0.3
8
+ - 4
9
+ version: 1.0.4
11
10
  platform: ruby
12
11
  authors:
13
12
  - Lasse Bunk
@@ -15,7 +14,8 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2011-09-28 00:00:00 Z
17
+ date: 2012-01-04 00:00:00 +01:00
18
+ default_executable:
19
19
  dependencies: []
20
20
 
21
21
  description: Dynamic Sitemaps is a plugin for Ruby on Rails that enables you to easily create flexible, dynamic sitemaps.
@@ -27,14 +27,17 @@ extensions: []
27
27
  extra_rdoc_files: []
28
28
 
29
29
  files:
30
+ - lib/dynamic_sitemaps/engine.rb
30
31
  - lib/dynamic_sitemaps/page.rb
31
32
  - lib/dynamic_sitemaps/sitemap.rb
32
33
  - lib/dynamic_sitemaps/url.rb
34
+ - lib/dynamic_sitemaps.rb
33
35
  - lib/generators/dynamic_sitemaps/dynamic_sitemaps_generator.rb
34
36
  - lib/generators/dynamic_sitemaps/templates/initializer.rb
35
37
  - app/controllers/sitemaps_controller.rb
36
38
  - app/views/sitemaps/index.builder
37
39
  - app/views/sitemaps/sitemap.builder
40
+ has_rdoc: true
38
41
  homepage: http://github.com/lassebunk/dynamic_sitemaps
39
42
  licenses: []
40
43
 
@@ -44,27 +47,23 @@ rdoc_options: []
44
47
  require_paths:
45
48
  - lib
46
49
  required_ruby_version: !ruby/object:Gem::Requirement
47
- none: false
48
50
  requirements:
49
51
  - - ">="
50
52
  - !ruby/object:Gem::Version
51
- hash: 3
52
53
  segments:
53
54
  - 0
54
55
  version: "0"
55
56
  required_rubygems_version: !ruby/object:Gem::Requirement
56
- none: false
57
57
  requirements:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- hash: 3
61
60
  segments:
62
61
  - 0
63
62
  version: "0"
64
63
  requirements: []
65
64
 
66
65
  rubyforge_project:
67
- rubygems_version: 1.8.10
66
+ rubygems_version: 1.3.6
68
67
  signing_key:
69
68
  specification_version: 3
70
69
  summary: Dynamic sitemap generation plugin for Ruby on Rails.