ftbpro_sitemap_generator 5.0.8
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.
- checksums.yaml +7 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +35 -0
- data/MIT-LICENSE +20 -0
- data/README.md +1139 -0
- data/Rakefile +43 -0
- data/VERSION +1 -0
- data/lib/capistrano/sitemap_generator.rb +1 -0
- data/lib/capistrano/tasks/sitemap_generator.cap +36 -0
- data/lib/sitemap_generator.rb +85 -0
- data/lib/sitemap_generator/adapters.rb +0 -0
- data/lib/sitemap_generator/adapters/file_adapter.rb +43 -0
- data/lib/sitemap_generator/adapters/fog_adapter.rb +28 -0
- data/lib/sitemap_generator/adapters/s3_adapter.rb +41 -0
- data/lib/sitemap_generator/adapters/wave_adapter.rb +21 -0
- data/lib/sitemap_generator/application.rb +49 -0
- data/lib/sitemap_generator/builder.rb +8 -0
- data/lib/sitemap_generator/builder/sitemap_file.rb +172 -0
- data/lib/sitemap_generator/builder/sitemap_index_file.rb +149 -0
- data/lib/sitemap_generator/builder/sitemap_index_url.rb +28 -0
- data/lib/sitemap_generator/builder/sitemap_url.rb +250 -0
- data/lib/sitemap_generator/core_ext.rb +3 -0
- data/lib/sitemap_generator/core_ext/big_decimal.rb +45 -0
- data/lib/sitemap_generator/core_ext/numeric.rb +48 -0
- data/lib/sitemap_generator/helpers/number_helper.rb +237 -0
- data/lib/sitemap_generator/interpreter.rb +80 -0
- data/lib/sitemap_generator/link_set.rb +677 -0
- data/lib/sitemap_generator/railtie.rb +7 -0
- data/lib/sitemap_generator/sitemap_location.rb +192 -0
- data/lib/sitemap_generator/sitemap_namer.rb +75 -0
- data/lib/sitemap_generator/tasks.rb +53 -0
- data/lib/sitemap_generator/templates.rb +41 -0
- data/lib/sitemap_generator/utilities.rb +181 -0
- data/lib/tasks/sitemap_generator_tasks.rake +1 -0
- data/rails/install.rb +2 -0
- data/rails/uninstall.rb +2 -0
- data/spec/blueprint.rb +15 -0
- data/spec/files/sitemap.create.rb +12 -0
- data/spec/files/sitemap.groups.rb +49 -0
- data/spec/sitemap_generator/adapters/s3_adapter_spec.rb +23 -0
- data/spec/sitemap_generator/alternate_sitemap_spec.rb +79 -0
- data/spec/sitemap_generator/application_spec.rb +69 -0
- data/spec/sitemap_generator/builder/sitemap_file_spec.rb +110 -0
- data/spec/sitemap_generator/builder/sitemap_index_file_spec.rb +124 -0
- data/spec/sitemap_generator/builder/sitemap_index_url_spec.rb +28 -0
- data/spec/sitemap_generator/builder/sitemap_url_spec.rb +186 -0
- data/spec/sitemap_generator/core_ext/bigdecimal_spec.rb +20 -0
- data/spec/sitemap_generator/core_ext/numeric_spec.rb +43 -0
- data/spec/sitemap_generator/file_adaptor_spec.rb +20 -0
- data/spec/sitemap_generator/geo_sitemap_spec.rb +30 -0
- data/spec/sitemap_generator/helpers/number_helper_spec.rb +196 -0
- data/spec/sitemap_generator/interpreter_spec.rb +90 -0
- data/spec/sitemap_generator/link_set_spec.rb +864 -0
- data/spec/sitemap_generator/mobile_sitemap_spec.rb +27 -0
- data/spec/sitemap_generator/news_sitemap_spec.rb +42 -0
- data/spec/sitemap_generator/pagemap_sitemap_spec.rb +57 -0
- data/spec/sitemap_generator/sitemap_generator_spec.rb +582 -0
- data/spec/sitemap_generator/sitemap_groups_spec.rb +144 -0
- data/spec/sitemap_generator/sitemap_location_spec.rb +210 -0
- data/spec/sitemap_generator/sitemap_namer_spec.rb +96 -0
- data/spec/sitemap_generator/templates_spec.rb +24 -0
- data/spec/sitemap_generator/utilities/existence_spec.rb +26 -0
- data/spec/sitemap_generator/utilities/hash_spec.rb +57 -0
- data/spec/sitemap_generator/utilities/rounding_spec.rb +31 -0
- data/spec/sitemap_generator/utilities_spec.rb +101 -0
- data/spec/sitemap_generator/video_sitemap_spec.rb +117 -0
- data/spec/spec_helper.rb +24 -0
- data/spec/support/file_macros.rb +39 -0
- data/spec/support/schemas/siteindex.xsd +73 -0
- data/spec/support/schemas/sitemap-geo.xsd +41 -0
- data/spec/support/schemas/sitemap-mobile.xsd +32 -0
- data/spec/support/schemas/sitemap-news.xsd +159 -0
- data/spec/support/schemas/sitemap-pagemap.xsd +97 -0
- data/spec/support/schemas/sitemap-video.xsd +643 -0
- data/spec/support/schemas/sitemap.xsd +115 -0
- data/spec/support/xml_macros.rb +67 -0
- data/templates/sitemap.rb +27 -0
- metadata +226 -0
@@ -0,0 +1,115 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
3
|
+
targetNamespace="http://www.sitemaps.org/schemas/sitemap/0.9"
|
4
|
+
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
5
|
+
elementFormDefault="qualified">
|
6
|
+
<xsd:annotation>
|
7
|
+
<xsd:documentation>
|
8
|
+
XML Schema for Sitemap files.
|
9
|
+
Last Modifed 2008-03-26
|
10
|
+
</xsd:documentation>
|
11
|
+
</xsd:annotation>
|
12
|
+
|
13
|
+
<xsd:element name="urlset">
|
14
|
+
<xsd:annotation>
|
15
|
+
<xsd:documentation>
|
16
|
+
Container for a set of up to 50,000 document elements.
|
17
|
+
This is the root element of the XML file.
|
18
|
+
</xsd:documentation>
|
19
|
+
</xsd:annotation>
|
20
|
+
<xsd:complexType>
|
21
|
+
<xsd:sequence>
|
22
|
+
<xsd:element name="url" type="tUrl" maxOccurs="unbounded"/>
|
23
|
+
</xsd:sequence>
|
24
|
+
</xsd:complexType>
|
25
|
+
</xsd:element>
|
26
|
+
|
27
|
+
<xsd:complexType name="tUrl">
|
28
|
+
<xsd:annotation>
|
29
|
+
<xsd:documentation>
|
30
|
+
Container for the data needed to describe a document to crawl.
|
31
|
+
</xsd:documentation>
|
32
|
+
</xsd:annotation>
|
33
|
+
<xsd:sequence>
|
34
|
+
<xsd:element name="loc" type="tLoc"/>
|
35
|
+
<xsd:element name="lastmod" type="tLastmod" minOccurs="0"/>
|
36
|
+
<xsd:element name="changefreq" type="tChangeFreq" minOccurs="0"/>
|
37
|
+
<xsd:element name="priority" type="tPriority" minOccurs="0"/>
|
38
|
+
<xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="strict"/>
|
39
|
+
</xsd:sequence>
|
40
|
+
</xsd:complexType>
|
41
|
+
|
42
|
+
<xsd:simpleType name="tLoc">
|
43
|
+
<xsd:annotation>
|
44
|
+
<xsd:documentation>
|
45
|
+
REQUIRED: The location URI of a document.
|
46
|
+
The URI must conform to RFC 2396 (http://www.ietf.org/rfc/rfc2396.txt).
|
47
|
+
</xsd:documentation>
|
48
|
+
</xsd:annotation>
|
49
|
+
<xsd:restriction base="xsd:anyURI">
|
50
|
+
<xsd:minLength value="12"/>
|
51
|
+
<xsd:maxLength value="2048"/>
|
52
|
+
</xsd:restriction>
|
53
|
+
</xsd:simpleType>
|
54
|
+
|
55
|
+
<xsd:simpleType name="tLastmod">
|
56
|
+
<xsd:annotation>
|
57
|
+
<xsd:documentation>
|
58
|
+
OPTIONAL: The date the document was last modified. The date must conform
|
59
|
+
to the W3C DATETIME format (http://www.w3.org/TR/NOTE-datetime).
|
60
|
+
Example: 2005-05-10
|
61
|
+
Lastmod may also contain a timestamp.
|
62
|
+
Example: 2005-05-10T17:33:30+08:00
|
63
|
+
</xsd:documentation>
|
64
|
+
</xsd:annotation>
|
65
|
+
<xsd:union>
|
66
|
+
<xsd:simpleType>
|
67
|
+
<xsd:restriction base="xsd:date"/>
|
68
|
+
</xsd:simpleType>
|
69
|
+
<xsd:simpleType>
|
70
|
+
<xsd:restriction base="xsd:dateTime"/>
|
71
|
+
</xsd:simpleType>
|
72
|
+
</xsd:union>
|
73
|
+
</xsd:simpleType>
|
74
|
+
|
75
|
+
<xsd:simpleType name="tChangeFreq">
|
76
|
+
<xsd:annotation>
|
77
|
+
<xsd:documentation>
|
78
|
+
OPTIONAL: Indicates how frequently the content at a particular URL is
|
79
|
+
likely to change. The value "always" should be used to describe
|
80
|
+
documents that change each time they are accessed. The value "never"
|
81
|
+
should be used to describe archived URLs. Please note that web
|
82
|
+
crawlers may not necessarily crawl pages marked "always" more often.
|
83
|
+
Consider this element as a friendly suggestion and not a command.
|
84
|
+
</xsd:documentation>
|
85
|
+
</xsd:annotation>
|
86
|
+
<xsd:restriction base="xsd:string">
|
87
|
+
<xsd:enumeration value="always"/>
|
88
|
+
<xsd:enumeration value="hourly"/>
|
89
|
+
<xsd:enumeration value="daily"/>
|
90
|
+
<xsd:enumeration value="weekly"/>
|
91
|
+
<xsd:enumeration value="monthly"/>
|
92
|
+
<xsd:enumeration value="yearly"/>
|
93
|
+
<xsd:enumeration value="never"/>
|
94
|
+
</xsd:restriction>
|
95
|
+
</xsd:simpleType>
|
96
|
+
|
97
|
+
<xsd:simpleType name="tPriority">
|
98
|
+
<xsd:annotation>
|
99
|
+
<xsd:documentation>
|
100
|
+
OPTIONAL: The priority of a particular URL relative to other pages
|
101
|
+
on the same site. The value for this element is a number between
|
102
|
+
0.0 and 1.0 where 0.0 identifies the lowest priority page(s).
|
103
|
+
The default priority of a page is 0.5. Priority is used to select
|
104
|
+
between pages on your site. Setting a priority of 1.0 for all URLs
|
105
|
+
will not help you, as the relative priority of pages on your site
|
106
|
+
is what will be considered.
|
107
|
+
</xsd:documentation>
|
108
|
+
</xsd:annotation>
|
109
|
+
<xsd:restriction base="xsd:decimal">
|
110
|
+
<xsd:minInclusive value="0.0"/>
|
111
|
+
<xsd:maxInclusive value="1.0"/>
|
112
|
+
</xsd:restriction>
|
113
|
+
</xsd:simpleType>
|
114
|
+
|
115
|
+
</xsd:schema>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
require 'nokogiri'
|
2
|
+
|
3
|
+
module XmlMacros
|
4
|
+
|
5
|
+
def gzipped_xml_file_should_validate_against_schema(xml_gz_filename, schema_name)
|
6
|
+
Zlib::GzipReader.open(xml_gz_filename) do |xml_file|
|
7
|
+
xml_data_should_validate_against_schema(xml_file.read, schema_name)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
# Validate XML against a local schema file.
|
12
|
+
#
|
13
|
+
# `schema_name` gives the name of the schema file to validate against. The schema
|
14
|
+
# file is looked for in `spec/support/schemas/<schema_name>.xsd`.
|
15
|
+
def xml_data_should_validate_against_schema(xml, schema_name)
|
16
|
+
xml = xml.is_a?(String) ? xml : xml.to_s
|
17
|
+
doc = Nokogiri::XML(xml)
|
18
|
+
schema_file = File.join(File.dirname(__FILE__), 'schemas', "#{schema_name}.xsd")
|
19
|
+
schema = Nokogiri::XML::Schema File.read(schema_file)
|
20
|
+
schema.validate(doc).should == []
|
21
|
+
end
|
22
|
+
|
23
|
+
# Validate a fragment of XML against a schema. Builds a document with a root
|
24
|
+
# node for you so the fragment can be validated.
|
25
|
+
#
|
26
|
+
# Unfortunately Nokogiri doesn't support validating
|
27
|
+
# documents with multiple namespaces. So we have to extract the element
|
28
|
+
# and create a new document from it. If the xmlns isn't set on the element
|
29
|
+
# we get an error like:
|
30
|
+
#
|
31
|
+
# Element 'video': No matching global declaration available for the validation root.
|
32
|
+
#
|
33
|
+
# <tt>xml</tt> The XML fragment
|
34
|
+
# <tt>schema_name</tt> the name of the schema file to validate against. The schema
|
35
|
+
# file is looked for in `spec/support/schemas/<schema_name>.xsd`.
|
36
|
+
# <tt>xmlns</tt> A hash with only one key which gives the XML namespace and associated
|
37
|
+
# URI. Sometimes one needs to specify a prefix to the namespace, in which case this would
|
38
|
+
# look like: 'xmlns:video' => 'http://www.google.com/schemas/sitemap-video/1.1'
|
39
|
+
#
|
40
|
+
# Example:
|
41
|
+
# xml_fragment_should_validate_against_schema('<video/>', 'sitemap-video', 'xmlns:video' => 'http://www.google.com/schemas/sitemap-video/1.1')
|
42
|
+
#
|
43
|
+
# This validates the given XML using the spec/support/schemas/sitemap-video.xsd`
|
44
|
+
# schema. The XML namespace `xmlns:video='http://www.google.com/schemas/sitemap-video/1.1'` is automatically
|
45
|
+
# added to the root element for you.
|
46
|
+
def xml_fragment_should_validate_against_schema(xml, schema_name, xmlns={})
|
47
|
+
xml = xml.is_a?(String) ? xml : xml.to_s
|
48
|
+
doc = Nokogiri::XML(xml)
|
49
|
+
doc.root.send(:[]=, *xmlns.first)
|
50
|
+
xml_data_should_validate_against_schema(doc, schema_name)
|
51
|
+
end
|
52
|
+
|
53
|
+
def gzipped_xml_file_should_have_minimal_whitespace(xml_gz_filename)
|
54
|
+
Zlib::GzipReader.open(xml_gz_filename) do |xml_file|
|
55
|
+
xml_data_should_have_minimal_whitespace xml_file.read
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def xml_data_should_have_minimal_whitespace(xml_data)
|
60
|
+
xml_data.should_not match /^\s/
|
61
|
+
xml_data.should_not match /\s$/
|
62
|
+
xml_data.should_not match /\s\s+/
|
63
|
+
xml_data.should_not match /\s[<>]/
|
64
|
+
xml_data.should_not match /[<>]\s/
|
65
|
+
end
|
66
|
+
|
67
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Set the host name for URL creation
|
2
|
+
SitemapGenerator::Sitemap.default_host = "http://www.example.com"
|
3
|
+
|
4
|
+
SitemapGenerator::Sitemap.create do
|
5
|
+
# Put links creation logic here.
|
6
|
+
#
|
7
|
+
# The root path '/' and sitemap index file are added automatically for you.
|
8
|
+
# Links are added to the Sitemap in the order they are specified.
|
9
|
+
#
|
10
|
+
# Usage: add(path, options={})
|
11
|
+
# (default options are used if you don't specify)
|
12
|
+
#
|
13
|
+
# Defaults: :priority => 0.5, :changefreq => 'weekly',
|
14
|
+
# :lastmod => Time.now, :host => default_host
|
15
|
+
#
|
16
|
+
# Examples:
|
17
|
+
#
|
18
|
+
# Add '/articles'
|
19
|
+
#
|
20
|
+
# add articles_path, :priority => 0.7, :changefreq => 'daily'
|
21
|
+
#
|
22
|
+
# Add all articles:
|
23
|
+
#
|
24
|
+
# Article.find_each do |article|
|
25
|
+
# add article_path(article), :lastmod => article.updated_at
|
26
|
+
# end
|
27
|
+
end
|
metadata
ADDED
@@ -0,0 +1,226 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ftbpro_sitemap_generator
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 5.0.8
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Karl Varga
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-07-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: mocha
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: builder
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: SitemapGenerator is a framework-agnostic XML Sitemap generator written
|
70
|
+
in Ruby with automatic Rails integration. It supports Video, News, Image, Geo,
|
71
|
+
Mobile, PageMap and Alternate Links sitemap extensions and includes Rake tasks for
|
72
|
+
managing your sitemaps, as well as many other great features.
|
73
|
+
email: kjvarga@gmail.com
|
74
|
+
executables: []
|
75
|
+
extensions: []
|
76
|
+
extra_rdoc_files: []
|
77
|
+
files:
|
78
|
+
- Gemfile
|
79
|
+
- Gemfile.lock
|
80
|
+
- MIT-LICENSE
|
81
|
+
- README.md
|
82
|
+
- Rakefile
|
83
|
+
- VERSION
|
84
|
+
- lib/capistrano/sitemap_generator.rb
|
85
|
+
- lib/capistrano/tasks/sitemap_generator.cap
|
86
|
+
- lib/sitemap_generator.rb
|
87
|
+
- lib/sitemap_generator/adapters.rb
|
88
|
+
- lib/sitemap_generator/adapters/file_adapter.rb
|
89
|
+
- lib/sitemap_generator/adapters/fog_adapter.rb
|
90
|
+
- lib/sitemap_generator/adapters/s3_adapter.rb
|
91
|
+
- lib/sitemap_generator/adapters/wave_adapter.rb
|
92
|
+
- lib/sitemap_generator/application.rb
|
93
|
+
- lib/sitemap_generator/builder.rb
|
94
|
+
- lib/sitemap_generator/builder/sitemap_file.rb
|
95
|
+
- lib/sitemap_generator/builder/sitemap_index_file.rb
|
96
|
+
- lib/sitemap_generator/builder/sitemap_index_url.rb
|
97
|
+
- lib/sitemap_generator/builder/sitemap_url.rb
|
98
|
+
- lib/sitemap_generator/core_ext.rb
|
99
|
+
- lib/sitemap_generator/core_ext/big_decimal.rb
|
100
|
+
- lib/sitemap_generator/core_ext/numeric.rb
|
101
|
+
- lib/sitemap_generator/helpers/number_helper.rb
|
102
|
+
- lib/sitemap_generator/interpreter.rb
|
103
|
+
- lib/sitemap_generator/link_set.rb
|
104
|
+
- lib/sitemap_generator/railtie.rb
|
105
|
+
- lib/sitemap_generator/sitemap_location.rb
|
106
|
+
- lib/sitemap_generator/sitemap_namer.rb
|
107
|
+
- lib/sitemap_generator/tasks.rb
|
108
|
+
- lib/sitemap_generator/templates.rb
|
109
|
+
- lib/sitemap_generator/utilities.rb
|
110
|
+
- lib/tasks/sitemap_generator_tasks.rake
|
111
|
+
- rails/install.rb
|
112
|
+
- rails/uninstall.rb
|
113
|
+
- spec/blueprint.rb
|
114
|
+
- spec/files/sitemap.create.rb
|
115
|
+
- spec/files/sitemap.groups.rb
|
116
|
+
- spec/sitemap_generator/adapters/s3_adapter_spec.rb
|
117
|
+
- spec/sitemap_generator/alternate_sitemap_spec.rb
|
118
|
+
- spec/sitemap_generator/application_spec.rb
|
119
|
+
- spec/sitemap_generator/builder/sitemap_file_spec.rb
|
120
|
+
- spec/sitemap_generator/builder/sitemap_index_file_spec.rb
|
121
|
+
- spec/sitemap_generator/builder/sitemap_index_url_spec.rb
|
122
|
+
- spec/sitemap_generator/builder/sitemap_url_spec.rb
|
123
|
+
- spec/sitemap_generator/core_ext/bigdecimal_spec.rb
|
124
|
+
- spec/sitemap_generator/core_ext/numeric_spec.rb
|
125
|
+
- spec/sitemap_generator/file_adaptor_spec.rb
|
126
|
+
- spec/sitemap_generator/geo_sitemap_spec.rb
|
127
|
+
- spec/sitemap_generator/helpers/number_helper_spec.rb
|
128
|
+
- spec/sitemap_generator/interpreter_spec.rb
|
129
|
+
- spec/sitemap_generator/link_set_spec.rb
|
130
|
+
- spec/sitemap_generator/mobile_sitemap_spec.rb
|
131
|
+
- spec/sitemap_generator/news_sitemap_spec.rb
|
132
|
+
- spec/sitemap_generator/pagemap_sitemap_spec.rb
|
133
|
+
- spec/sitemap_generator/sitemap_generator_spec.rb
|
134
|
+
- spec/sitemap_generator/sitemap_groups_spec.rb
|
135
|
+
- spec/sitemap_generator/sitemap_location_spec.rb
|
136
|
+
- spec/sitemap_generator/sitemap_namer_spec.rb
|
137
|
+
- spec/sitemap_generator/templates_spec.rb
|
138
|
+
- spec/sitemap_generator/utilities/existence_spec.rb
|
139
|
+
- spec/sitemap_generator/utilities/hash_spec.rb
|
140
|
+
- spec/sitemap_generator/utilities/rounding_spec.rb
|
141
|
+
- spec/sitemap_generator/utilities_spec.rb
|
142
|
+
- spec/sitemap_generator/video_sitemap_spec.rb
|
143
|
+
- spec/spec_helper.rb
|
144
|
+
- spec/support/file_macros.rb
|
145
|
+
- spec/support/schemas/siteindex.xsd
|
146
|
+
- spec/support/schemas/sitemap-geo.xsd
|
147
|
+
- spec/support/schemas/sitemap-mobile.xsd
|
148
|
+
- spec/support/schemas/sitemap-news.xsd
|
149
|
+
- spec/support/schemas/sitemap-pagemap.xsd
|
150
|
+
- spec/support/schemas/sitemap-video.xsd
|
151
|
+
- spec/support/schemas/sitemap.xsd
|
152
|
+
- spec/support/xml_macros.rb
|
153
|
+
- templates/sitemap.rb
|
154
|
+
homepage: http://github.com/kjvarga/sitemap_generator
|
155
|
+
licenses:
|
156
|
+
- MIT
|
157
|
+
metadata: {}
|
158
|
+
post_install_message: |
|
159
|
+
NOTE: SitemapGenerator 4.x uses a new file naming scheme which is more standards-compliant.
|
160
|
+
If you're upgrading from 3.x, please see the release note in the README:
|
161
|
+
|
162
|
+
https://github.com/kjvarga/sitemap_generator#important-changes-in-version-4
|
163
|
+
|
164
|
+
The simple answer is that your index file is now called sitemap.xml.gz
|
165
|
+
and not sitemap_index.xml.gz, but please take a look and see what else has changed.
|
166
|
+
rdoc_options: []
|
167
|
+
require_paths:
|
168
|
+
- lib
|
169
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - '>='
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '0'
|
179
|
+
requirements: []
|
180
|
+
rubyforge_project:
|
181
|
+
rubygems_version: 2.2.2
|
182
|
+
signing_key:
|
183
|
+
specification_version: 4
|
184
|
+
summary: Easily generate XML Sitemaps
|
185
|
+
test_files:
|
186
|
+
- spec/blueprint.rb
|
187
|
+
- spec/files/sitemap.create.rb
|
188
|
+
- spec/files/sitemap.groups.rb
|
189
|
+
- spec/sitemap_generator/adapters/s3_adapter_spec.rb
|
190
|
+
- spec/sitemap_generator/alternate_sitemap_spec.rb
|
191
|
+
- spec/sitemap_generator/application_spec.rb
|
192
|
+
- spec/sitemap_generator/builder/sitemap_file_spec.rb
|
193
|
+
- spec/sitemap_generator/builder/sitemap_index_file_spec.rb
|
194
|
+
- spec/sitemap_generator/builder/sitemap_index_url_spec.rb
|
195
|
+
- spec/sitemap_generator/builder/sitemap_url_spec.rb
|
196
|
+
- spec/sitemap_generator/core_ext/bigdecimal_spec.rb
|
197
|
+
- spec/sitemap_generator/core_ext/numeric_spec.rb
|
198
|
+
- spec/sitemap_generator/file_adaptor_spec.rb
|
199
|
+
- spec/sitemap_generator/geo_sitemap_spec.rb
|
200
|
+
- spec/sitemap_generator/helpers/number_helper_spec.rb
|
201
|
+
- spec/sitemap_generator/interpreter_spec.rb
|
202
|
+
- spec/sitemap_generator/link_set_spec.rb
|
203
|
+
- spec/sitemap_generator/mobile_sitemap_spec.rb
|
204
|
+
- spec/sitemap_generator/news_sitemap_spec.rb
|
205
|
+
- spec/sitemap_generator/pagemap_sitemap_spec.rb
|
206
|
+
- spec/sitemap_generator/sitemap_generator_spec.rb
|
207
|
+
- spec/sitemap_generator/sitemap_groups_spec.rb
|
208
|
+
- spec/sitemap_generator/sitemap_location_spec.rb
|
209
|
+
- spec/sitemap_generator/sitemap_namer_spec.rb
|
210
|
+
- spec/sitemap_generator/templates_spec.rb
|
211
|
+
- spec/sitemap_generator/utilities/existence_spec.rb
|
212
|
+
- spec/sitemap_generator/utilities/hash_spec.rb
|
213
|
+
- spec/sitemap_generator/utilities/rounding_spec.rb
|
214
|
+
- spec/sitemap_generator/utilities_spec.rb
|
215
|
+
- spec/sitemap_generator/video_sitemap_spec.rb
|
216
|
+
- spec/spec_helper.rb
|
217
|
+
- spec/support/file_macros.rb
|
218
|
+
- spec/support/schemas/siteindex.xsd
|
219
|
+
- spec/support/schemas/sitemap-geo.xsd
|
220
|
+
- spec/support/schemas/sitemap-mobile.xsd
|
221
|
+
- spec/support/schemas/sitemap-news.xsd
|
222
|
+
- spec/support/schemas/sitemap-pagemap.xsd
|
223
|
+
- spec/support/schemas/sitemap-video.xsd
|
224
|
+
- spec/support/schemas/sitemap.xsd
|
225
|
+
- spec/support/xml_macros.rb
|
226
|
+
has_rdoc:
|