sitemap_generator 4.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +2 -2
- data/README.md +4 -0
- data/VERSION +1 -1
- metadata +26 -13
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ./
|
3
3
|
specs:
|
4
|
-
sitemap_generator (4.0)
|
4
|
+
sitemap_generator (4.0.1)
|
5
5
|
builder
|
6
6
|
|
7
7
|
GEM
|
@@ -13,7 +13,7 @@ GEM
|
|
13
13
|
mocha (0.10.0)
|
14
14
|
metaclass (~> 0.0.1)
|
15
15
|
nokogiri (1.5.0)
|
16
|
-
rake (0.
|
16
|
+
rake (10.0.4)
|
17
17
|
rspec (2.8.0)
|
18
18
|
rspec-core (~> 2.8.0)
|
19
19
|
rspec-expectations (~> 2.8.0)
|
data/README.md
CHANGED
@@ -103,6 +103,7 @@ That's it! Welcome to the future!
|
|
103
103
|
|
104
104
|
## Changelog
|
105
105
|
|
106
|
+
* v4.0.1: Add a post install message regarding the naming convention change.
|
106
107
|
* **v4.0: NEW, NON-BACKWARDS COMPATIBLE CHANGES.** See above for more info. `create_index` defaults to `:auto`. Define `SitemapGenerator::SimpleNamer` class for simpler custom namers compatible with the new naming conventions. Deprecate `sitemaps_namer`, `sitemap_index_namer` and their respective namer classes. It's more just that their usage is discouraged. Support `nofollow` option on alternate links. Fix formatting of `publication_date` in News sitemaps.
|
107
108
|
* v3.4: Support [alternate links][alternate_links] for urls; Support configurable options in the `SitemapGenerator::S3Adapter`
|
108
109
|
* v3.3: **Support creating sitemaps with no index file**. A big thank-you to [Eric Hochberger][ehoch] for generously paying for this feature.
|
@@ -301,17 +302,20 @@ The sitemap index file is created for you on-demand, meaning that if you have a
|
|
301
302
|
You may want to always create an index, even if you only have a small site. Or you may never want to create an index. For these cases, you can use the `create_index` option to control index creation. You can read about this option in the Sitemap Options section below.
|
302
303
|
|
303
304
|
To always create an index:
|
305
|
+
|
304
306
|
```ruby
|
305
307
|
SitemapGenerator::Sitemap.create_index = true
|
306
308
|
```
|
307
309
|
|
308
310
|
To never create an index:
|
311
|
+
|
309
312
|
```ruby
|
310
313
|
SitemapGenerator::Sitemap.create_index = false
|
311
314
|
```
|
312
315
|
Your sitemaps will still be called `sitemap.xml.gz`, `sitemap1.xml.gz`, `sitemap2.xml.gz`, etc.
|
313
316
|
|
314
317
|
And the default "intelligent" behaviour:
|
318
|
+
|
315
319
|
```ruby
|
316
320
|
SitemapGenerator::Sitemap.create_index = :auto
|
317
321
|
```
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.0
|
1
|
+
4.0.1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sitemap_generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-05-
|
13
|
+
date: 2013-05-03 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: mocha
|
17
|
-
requirement: &
|
17
|
+
requirement: &70331845270060 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70331845270060
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: nokogiri
|
28
|
-
requirement: &
|
28
|
+
requirement: &70331845269600 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70331845269600
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: rspec
|
39
|
-
requirement: &
|
39
|
+
requirement: &70331845267820 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ! '>='
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: '0'
|
45
45
|
type: :development
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *70331845267820
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: builder
|
50
|
-
requirement: &
|
50
|
+
requirement: &70331845267400 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ! '>='
|
@@ -55,7 +55,7 @@ dependencies:
|
|
55
55
|
version: '0'
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *70331845267400
|
59
59
|
description: SitemapGenerator is an XML Sitemap generator written in Ruby with automatic
|
60
60
|
Rails integration. It supports Video, News, Image and Geo sitemaps and includes
|
61
61
|
Rake tasks for managing your sitemaps.
|
@@ -136,7 +136,20 @@ files:
|
|
136
136
|
- spec/support/xml_macros.rb
|
137
137
|
homepage: http://github.com/kjvarga/sitemap_generator
|
138
138
|
licenses: []
|
139
|
-
post_install_message:
|
139
|
+
post_install_message: ! 'NOTE: SitemapGenerator 4.x uses a new file naming scheme
|
140
|
+
which is more standards-compliant.
|
141
|
+
|
142
|
+
If you''re upgrading from 3.x, please see the release note in the README:
|
143
|
+
|
144
|
+
|
145
|
+
https://github.com/kjvarga/sitemap_generator#important-changes-in-version-4
|
146
|
+
|
147
|
+
|
148
|
+
The simple answer is that your index file is now called sitemap.xml.gz
|
149
|
+
|
150
|
+
and not sitemap_index.xml.gz, but please take a look and see what else has changed.
|
151
|
+
|
152
|
+
'
|
140
153
|
rdoc_options: []
|
141
154
|
require_paths:
|
142
155
|
- lib
|
@@ -148,7 +161,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
148
161
|
version: '0'
|
149
162
|
segments:
|
150
163
|
- 0
|
151
|
-
hash:
|
164
|
+
hash: 4173052129675694505
|
152
165
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
166
|
none: false
|
154
167
|
requirements:
|
@@ -157,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
170
|
version: '0'
|
158
171
|
segments:
|
159
172
|
- 0
|
160
|
-
hash:
|
173
|
+
hash: 4173052129675694505
|
161
174
|
requirements: []
|
162
175
|
rubyforge_project:
|
163
176
|
rubygems_version: 1.8.10
|