sitemap_generator 7.0.3 → 7.1.1
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 +4 -4
- data/CHANGES.md +84 -64
- data/README.md +142 -143
- data/VERSION +1 -1
- data/lib/capistrano/sitemap_generator.rb +2 -0
- data/lib/sitemap_generator/adapters/active_storage_adapter.rb +15 -10
- data/lib/sitemap_generator/adapters/aws_sdk_adapter.rb +13 -12
- data/lib/sitemap_generator/adapters/file_adapter.rb +10 -13
- data/lib/sitemap_generator/adapters/fog_adapter.rb +2 -2
- data/lib/sitemap_generator/adapters/google_storage_adapter.rb +5 -4
- data/lib/sitemap_generator/adapters/s3_adapter.rb +15 -14
- data/lib/sitemap_generator/adapters/wave_adapter.rb +5 -5
- data/lib/sitemap_generator/application.rb +5 -3
- data/lib/sitemap_generator/builder/sitemap_file.rb +21 -20
- data/lib/sitemap_generator/builder/sitemap_index_file.rb +20 -18
- data/lib/sitemap_generator/builder/sitemap_index_url.rb +5 -6
- data/lib/sitemap_generator/builder/sitemap_url.rb +82 -36
- data/lib/sitemap_generator/builder.rb +4 -2
- data/lib/sitemap_generator/core_ext/big_decimal.rb +38 -33
- data/lib/sitemap_generator/core_ext/numeric.rb +50 -46
- data/lib/sitemap_generator/helpers/number_helper.rb +52 -46
- data/lib/sitemap_generator/interpreter.rb +17 -15
- data/lib/sitemap_generator/link_set.rb +64 -66
- data/lib/sitemap_generator/railtie.rb +1 -0
- data/lib/sitemap_generator/simple_namer.rb +3 -4
- data/lib/sitemap_generator/sitemap_location.rb +44 -36
- data/lib/sitemap_generator/tasks.rb +3 -1
- data/lib/sitemap_generator/templates.rb +6 -7
- data/lib/sitemap_generator/utilities.rb +36 -17
- data/lib/sitemap_generator.rb +22 -14
- data/lib/tasks/sitemap_generator_tasks.rake +2 -0
- data/rails/install.rb +2 -0
- data/rails/uninstall.rb +2 -0
- data/templates/sitemap.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6c259fa0f3a68d9e8595e387643000a6c7cde213ed6fcc8c66963428c945cefd
|
|
4
|
+
data.tar.gz: 8dc85d783b0018d2c13c9d0146fe59920160ebcca120d8693ef03c6d9958ddf0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4fa4c6e8e0b2ef87e8d2af947719e7d902d74021e16f4a6c6bc51e5a9b8e16410858b06b0327ed7df514c270af032e3ec32342022ff252b2cf1d6da352200f3
|
|
7
|
+
data.tar.gz: d3dbfeed32002542b17695efbaebff375bdf28fb9b847910c16b033b4ed30478cbbec5f31e4f341be2416aaa3e33af16b0aef202631c22ac550538a48801cbe2
|
data/CHANGES.md
CHANGED
|
@@ -1,14 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 7.1.1
|
|
4
|
+
|
|
5
|
+
* Fix: `rake sitemap:clean` (`clean_files`) now respects the configured `sitemaps_path`/`public_path` and also removes uncompressed `.xml` sitemaps, instead of only deleting hardcoded `public/sitemap*.xml.gz` files. [#474](https://github.com/kjvarga/sitemap_generator/issues/474) [#502](https://github.com/kjvarga/sitemap_generator/pull/502)
|
|
6
|
+
* Fix: `SitemapGenerator::Interpreter` now respects `ActionController::Base.default_url_options`, so Rails URL helpers honor globally configured defaults (e.g. `:protocol`, `:port`) instead of ignoring them. [#355](https://github.com/kjvarga/sitemap_generator/issues/355) [#507](https://github.com/kjvarga/sitemap_generator/pull/507)
|
|
7
|
+
* Fix: Non-ASCII characters in URL paths are now percent-encoded in the `<loc>` element, so generated sitemaps conform to the sitemap protocol. [#346](https://github.com/kjvarga/sitemap_generator/issues/346) [#506](https://github.com/kjvarga/sitemap_generator/pull/506)
|
|
8
|
+
* Fix: Relative alternate hreflang hrefs (starting with `/`) are now expanded to absolute URLs using the configured host, producing valid sitemap XML instead of broken relative links. [#343](https://github.com/kjvarga/sitemap_generator/issues/343) [#504](https://github.com/kjvarga/sitemap_generator/pull/504)
|
|
9
|
+
* Fix: `SitemapGenerator.verbose = false` is now respected by `rake sitemap:refresh` and other rake tasks, silencing output as configured. [#332](https://github.com/kjvarga/sitemap_generator/issues/332) [#503](https://github.com/kjvarga/sitemap_generator/pull/503)
|
|
10
|
+
* Fix: Sitemap file `lastmod` is now captured at write time rather than read back via `File.mtime`, fixing incorrect timestamps and improving compatibility with time-freezing test helpers. [#508](https://github.com/kjvarga/sitemap_generator/pull/508)
|
|
11
|
+
* Fix: URL `lastmod` now defaults to `Time.zone.now` under Rails (falling back to `Time.now` otherwise), so the configured Rails timezone and time-freezing helpers like `travel_to` are respected instead of always using system local time. [#422](https://github.com/kjvarga/sitemap_generator/issues/422) [#505](https://github.com/kjvarga/sitemap_generator/pull/505)
|
|
12
|
+
* Internal: Enable RuboCop on the spec suite (previously fully excluded), fix real bugs the linting surfaced along the way (always-passing tests with no assertions, a latent `NameError`, broken path comparisons), and resolve all temporary RuboCop spec-suite exclusions. [#510](https://github.com/kjvarga/sitemap_generator/pull/510) [#511](https://github.com/kjvarga/sitemap_generator/pull/511) [#512](https://github.com/kjvarga/sitemap_generator/pull/512) [#513](https://github.com/kjvarga/sitemap_generator/pull/513) [#514](https://github.com/kjvarga/sitemap_generator/pull/514)
|
|
13
|
+
|
|
14
|
+
## 7.1.0
|
|
15
|
+
|
|
16
|
+
* **Breaking:** `SitemapGenerator::FileAdapter#plain` has been removed. It was an internal helper inlined into `#write` to fix a file descriptor leak; any code calling it directly should call `#write` instead. [#492](https://github.com/kjvarga/sitemap_generator/pull/492)
|
|
17
|
+
* **Breaking:** `SitemapGenerator::FileAdapter#gzip` is now private. It was always an implementation detail; external callers should not need to invoke it directly. [#492](https://github.com/kjvarga/sitemap_generator/pull/492)
|
|
18
|
+
* Fix: `AwsSdkAdapter` and `S3Adapter` now derive the `Content-Type` header from the file extension (`.xml` → `application/xml`, `.xml.gz` → `application/x-gzip`) via the new `SitemapLocation#content_type` helper, rather than always sending `application/x-gzip`. [#329](https://github.com/kjvarga/sitemap_generator/issues/329) [#338](https://github.com/kjvarga/sitemap_generator/issues/338) [#495](https://github.com/kjvarga/sitemap_generator/pull/495)
|
|
19
|
+
* Docs: Replace broken links in README and CHANGES.md; add deprecation notices for mobile sitemaps (deprecated by Google in August 2022) and geo sitemaps (retired by Google in February 2012). [#497](https://github.com/kjvarga/sitemap_generator/pull/497)
|
|
20
|
+
* Internal: enforce RuboCop across all source files, resolve all pre-existing offenses, add RuboCop and mdl (Markdown) linting to GitHub Actions CI, and add pre-commit git hooks that lint staged Ruby and Markdown files locally. [#487](https://github.com/kjvarga/sitemap_generator/pull/487) [#492](https://github.com/kjvarga/sitemap_generator/pull/492) [#493](https://github.com/kjvarga/sitemap_generator/pull/493) [#494](https://github.com/kjvarga/sitemap_generator/pull/494) [#500](https://github.com/kjvarga/sitemap_generator/pull/500)
|
|
21
|
+
|
|
22
|
+
## 7.0.3
|
|
2
23
|
|
|
3
24
|
* **Regression fix:** Revert railtie enhancements (#478) that were unintentionally included in 7.0.2. Those changes introduced an `ArgumentError: Missing host to link to!` during `assets:precompile` and other Rails boot contexts where no host is configured (reported in [#488](https://github.com/kjvarga/sitemap_generator/issues/488)). The railtie is restored to its 7.0.1 behaviour: it loads rake tasks only. The enhancements will return in a future release with proper documentation and test coverage. [#489](https://github.com/kjvarga/sitemap_generator/pull/489)
|
|
4
25
|
* **Bugfix:** Restore sitemap generation on Ruby 2.x when `--enable=frozen-string-literal` is set globally. Ruby 2.6/2.7 freezes interpolated heredocs under that flag, causing `gsub!` to raise `FrozenError`. [#486](https://github.com/kjvarga/sitemap_generator/pull/486)
|
|
5
26
|
* Internal: skip duplicate git tag creation in the release task if the tag already points at HEAD.
|
|
6
27
|
|
|
7
|
-
|
|
28
|
+
## 7.0.2
|
|
8
29
|
|
|
9
30
|
* Reduce string copies and improve compatibility with `frozen_string_literal`. [#456](https://github.com/kjvarga/sitemap_generator/pull/456)
|
|
10
31
|
|
|
11
|
-
|
|
32
|
+
## 7.0.1
|
|
12
33
|
|
|
13
34
|
* **Breaking:** Default search engines list is empty. `rake sitemap:refresh` and `ping_search_engines` perform no HTTP pings unless you configure engine URLs on `search_engines` or pass them into `ping_search_engines` (Google’s ping endpoint is deprecated upstream). [#444](https://github.com/kjvarga/sitemap_generator/pull/444)
|
|
14
35
|
* **Breaking:** `LinkSet#create` runs `finalize!` only when a block is given. Calling `create` without a block requires `finalize!` when you are done adding links (supported workflow for programmatic builds). [#463](https://github.com/kjvarga/sitemap_generator/pull/463)
|
|
@@ -24,18 +45,18 @@
|
|
|
24
45
|
* Add support for Ruby 4.0 [#466](https://github.com/kjvarga/sitemap_generator/pull/466)
|
|
25
46
|
* Add ActiveStorage adapter (`ActiveStorage::Blob`) [#467](https://github.com/kjvarga/sitemap_generator/pull/467)
|
|
26
47
|
|
|
27
|
-
|
|
48
|
+
## 6.3.0
|
|
28
49
|
|
|
29
50
|
* Remove Bing's deprecated sitemap submission [#400](https://github.com/kjvarga/sitemap_generator/pull/400).
|
|
30
51
|
* `SitemapGenerator::AwsSdkAdapter`: Support configuring ACL and caching on the uploaded files [#409](https://github.com/kjvarga/sitemap_generator/pull/409).
|
|
31
52
|
* `SitemapGenerator::GoogleStorageAdapter`: Support configuring ACL on the uploaded files [#410](https://github.com/kjvarga/sitemap_generator/pull/410).
|
|
32
53
|
* Fix CircleCI specs for Ruby 3 [#407](https://github.com/kjvarga/sitemap_generator/pull/407).
|
|
33
54
|
|
|
34
|
-
|
|
55
|
+
## 6.2.1
|
|
35
56
|
|
|
36
57
|
* Bugfix: Improve handling of deprecated options in `AwsSdkAdapter`. Fixes bug where `:region` was being set to `nil`. [#390](https://github.com/kjvarga/sitemap_generator/pull/390).
|
|
37
58
|
|
|
38
|
-
|
|
59
|
+
## 6.2.0
|
|
39
60
|
|
|
40
61
|
* Raise `LoadError` when an adapter's dependency is missing to better support Sorbet [#387](https://github.com/kjvarga/sitemap_generator/pull/387).
|
|
41
62
|
* Update the Bing notification URL [#386](https://github.com/kjvarga/sitemap_generator/pull/386).
|
|
@@ -44,29 +65,29 @@
|
|
|
44
65
|
* `SitemapGenerator::GoogleStorageAdapter`: Support ruby 3 kwarg changes [#375](https://github.com/kjvarga/sitemap_generator/pull/375).
|
|
45
66
|
* `SitemapGenerator::S3Adapter`: Allow Fog `public` option to be Configurable [#359](https://github.com/kjvarga/sitemap_generator/pull/359).
|
|
46
67
|
|
|
47
|
-
|
|
68
|
+
## 6.1.2
|
|
48
69
|
|
|
49
70
|
* Resolve NoMethodError using URI#open for Ruby less than 2.5.0 [#353](https://github.com/kjvarga/sitemap_generator/pull/353)
|
|
50
71
|
|
|
51
|
-
|
|
72
|
+
## 6.1.1
|
|
52
73
|
|
|
53
74
|
* Resolve deprecation warning on using Kernel#open in Ruby 2.7 (use URI.open instead) [#342](https://github.com/kjvarga/sitemap_generator/pull/342)
|
|
54
75
|
* Support S3 Endpoints for S3 Compliant Providers like DigitalOcean Spaces [#325](https://github.com/kjvarga/sitemap_generator/pull/325)
|
|
55
76
|
|
|
56
|
-
|
|
77
|
+
## 6.1.0
|
|
57
78
|
|
|
58
79
|
* Support uploading files to Google Cloud Storage [#326](https://github.com/kjvarga/sitemap_generator/pull/326) and [#340](https://github.com/kjvarga/sitemap_generator/pull/340)
|
|
59
80
|
|
|
60
|
-
|
|
81
|
+
## 6.0.2
|
|
61
82
|
|
|
62
83
|
* Resolve `BigDecimal.new is deprecated` warnings in Ruby 2.5 [#305](https://github.com/kjvarga/sitemap_generator/pull/305).
|
|
63
84
|
* Resolve `instance variable not initialized`, `File.exists? is deprecated` and `'*' interpreted as argument prefix` warnings [#304](https://github.com/kjvarga/sitemap_generator/pull/304).
|
|
64
85
|
|
|
65
|
-
|
|
86
|
+
## 6.0.1
|
|
66
87
|
|
|
67
88
|
* Use `yaml_tag` instead of `yaml_as`, which was deprecated in Ruby 2.4, and removed in 2.5 [#298](https://github.com/kjvarga/sitemap_generator/pull/298).
|
|
68
89
|
|
|
69
|
-
|
|
90
|
+
## 6.0.0
|
|
70
91
|
|
|
71
92
|
*Backwards incompatible changes*
|
|
72
93
|
|
|
@@ -79,12 +100,12 @@
|
|
|
79
100
|
|
|
80
101
|
* If Rails is defined but the application is not loaded, don't include the URL helpers.
|
|
81
102
|
|
|
82
|
-
|
|
103
|
+
## 5.3.1
|
|
83
104
|
|
|
84
105
|
* Ensure files have 644 permissions when building to try to address issue [#264](https://github.com/kjvarga/sitemap_generator/issues/264)
|
|
85
106
|
* Use HTTPS in the Gemfile (PR #[#263](https://github.com/kjvarga/sitemap_generator/pull/263))
|
|
86
107
|
|
|
87
|
-
|
|
108
|
+
## 5.3.0
|
|
88
109
|
|
|
89
110
|
* Add `max_sitemap_links` option support for limiting how many links each sitemap can hold. Issue [#188](https://github.com/kjvarga/sitemap_generator/issues/188) PR [#262](https://github.com/kjvarga/sitemap_generator/pull/262)
|
|
90
111
|
* Upgrade development dependencies
|
|
@@ -95,39 +116,39 @@
|
|
|
95
116
|
* Use presence of `Rails::VERSION` to detect when running under Rails, rather than just `Rails` constant. PR [#221](https://github.com/kjvarga/sitemap_generator/pull/221)
|
|
96
117
|
* Remove gem post-install message warning about incompatible changes in version 4
|
|
97
118
|
|
|
98
|
-
|
|
119
|
+
## 5.2.0
|
|
99
120
|
|
|
100
121
|
* New `SitemapGenerator::AwsSdkAdapter` adapter using the bare aws-sdk gem.
|
|
101
122
|
* Fix Bing ping url.
|
|
102
123
|
* Support string option keys passed to `add`.
|
|
103
124
|
* In Railtie, Load the rake task instead of requiring them.
|
|
104
125
|
|
|
105
|
-
|
|
126
|
+
## 5.1.0
|
|
106
127
|
|
|
107
128
|
* Require only `fog-aws` instead of `fog` for the `S3Adapter` and support using IAM profile instead of setting access key & secret directly.
|
|
108
129
|
* Implement `respond_to?` on the `SitemapGenerator::Sitemap` pseudo class.
|
|
109
130
|
* Make `:lang` optional on alternate links so they can be used for [AppIndexing](https://developers.google.com/app-indexing/reference/deeplinks).
|
|
110
131
|
* Documented Mobile Sitemaps `:mobile` option.
|
|
111
132
|
|
|
112
|
-
|
|
133
|
+
## 5.0.5
|
|
113
134
|
|
|
114
135
|
* Use MIT licence.
|
|
115
136
|
* Fix deploys with Capistrano 3 ([#163](https://github.com/kjvarga/sitemap_generator/issues/163)).
|
|
116
137
|
* Allow any Fog storage options for S3 adapter ([#167](https://github.com/kjvarga/sitemap_generator/pull/167)).
|
|
117
138
|
|
|
118
|
-
|
|
139
|
+
## 5.0.4
|
|
119
140
|
|
|
120
141
|
* Don't include the `media` attribute on alternate links unless it's given
|
|
121
142
|
|
|
122
|
-
|
|
143
|
+
## 5.0.3
|
|
123
144
|
|
|
124
145
|
* Add support for Video sitemaps options `:live` and ':requires_subscription'
|
|
125
146
|
|
|
126
|
-
|
|
147
|
+
## 5.0.2
|
|
127
148
|
|
|
128
149
|
* Set maximum filesize to 10,000,000 bytes rather than 10,485,760 bytes.
|
|
129
150
|
|
|
130
|
-
|
|
151
|
+
## 5.0.1
|
|
131
152
|
|
|
132
153
|
* Include new `SitemapGenerator::FogAdapter` ([#138](https://github.com/kjvarga/sitemap_generator/pull/138)).
|
|
133
154
|
* Fix usage of attr_* methods in `LinkSet`
|
|
@@ -135,30 +156,30 @@
|
|
|
135
156
|
* Fix breaking spec in Ruby 2 ([#142](https://github.com/kjvarga/sitemap_generator/pull/142)).
|
|
136
157
|
* Include Capistrano 3.x tasks ([#141](https://github.com/kjvarga/sitemap_generator/pull/141)).
|
|
137
158
|
|
|
138
|
-
|
|
159
|
+
## 5.0.0
|
|
139
160
|
|
|
140
161
|
* Support new `:compress` option for customizing which files get compressed.
|
|
141
162
|
* Remove old deprecated methods:
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
163
|
+
* Removed options to `LinkSet::add()`: `:sitemaps_namer` and `:sitemap_index_namer` (use `:namer` option)
|
|
164
|
+
* Removed `LinkSet::sitemaps_namer=`, `LinkSet::sitemaps_namer` (use `LinkSet::namer=` and `LinkSet::namer`)
|
|
165
|
+
* Removed `LinkSet::sitemaps_index_namer=`, `LinkSet::sitemaps_index_namer` (use `LinkSet::namer=` and `LinkSet::namer`)
|
|
166
|
+
* Removed the `SitemapGenerator::SitemapNamer` class (use `SitemapGenerator::SimpleNamer`)
|
|
167
|
+
* Removed `LinkSet::add_links()` (use `LinkSet::create()`)
|
|
147
168
|
* Support `fog_path_style` option in the `SitemapGenerator::S3Adapter` so buckets with dots in the name work over HTTPS without SSL certificate problems.
|
|
148
169
|
|
|
149
|
-
|
|
170
|
+
## 4.3.1
|
|
150
171
|
|
|
151
172
|
* Support integer timestamps.
|
|
152
173
|
* Update README for new features added in last release.
|
|
153
174
|
|
|
154
|
-
|
|
175
|
+
## 4.3.0
|
|
155
176
|
|
|
156
177
|
* Support `media` attibute on alternate links ([#125](https://github.com/kjvarga/sitemap_generator/issues/125)).
|
|
157
178
|
* Changed `SitemapGenerator::S3Adapter` to write files in a single operation, avoiding potential permissions errors when listing a directory prior to writing ([#130](https://github.com/kjvarga/sitemap_generator/issues/130)).
|
|
158
179
|
* Remove Sitemap Writer from ping task ([#129](https://github.com/kjvarga/sitemap_generator/issues/129)).
|
|
159
180
|
* Support `url:expires` element ([#126](https://github.com/kjvarga/sitemap_generator/issues/126)).
|
|
160
181
|
|
|
161
|
-
|
|
182
|
+
## 4.2.0
|
|
162
183
|
|
|
163
184
|
* Update Google ping URL.
|
|
164
185
|
* Quote the ping URL in the output.
|
|
@@ -166,23 +187,23 @@
|
|
|
166
187
|
* Support symbols as well as strings for most arguments to `add()` ([#113](https://github.com/kjvarga/sitemap_generator/issues/113)).
|
|
167
188
|
* Ensure that `public_path` and `sitemaps_path` end with a slash (`/`) ([#113](https://github.com/kjvarga/sitemap_generator/issues/118)).
|
|
168
189
|
|
|
169
|
-
|
|
190
|
+
## 4.1.1
|
|
170
191
|
|
|
171
192
|
* Support setting the S3 region.
|
|
172
193
|
* Fixed bug where incorrect URL was being used in the ping to search engines - only affected sites with a single sitemap file and no index file.
|
|
173
194
|
* Output the URL being pinged in the verbose output.
|
|
174
195
|
* Test in Rails 4.
|
|
175
196
|
|
|
176
|
-
|
|
197
|
+
## 4.1.0
|
|
177
198
|
|
|
178
199
|
* [PageMap sitemap][using_pagemaps] support.
|
|
179
200
|
* Tested with Rails 4 pre-release.
|
|
180
201
|
|
|
181
|
-
|
|
202
|
+
## 4.0.1
|
|
182
203
|
|
|
183
204
|
* Add a post install message regarding the naming convention change.
|
|
184
205
|
|
|
185
|
-
|
|
206
|
+
## 4.0
|
|
186
207
|
|
|
187
208
|
* **NEW, NON-BACKWARDS COMPATIBLE CHANGES.**
|
|
188
209
|
* `create_index` defaults to `:auto`.
|
|
@@ -191,20 +212,20 @@
|
|
|
191
212
|
* Support `nofollow` option on alternate links.
|
|
192
213
|
* Fix formatting of `publication_date` in News sitemaps.
|
|
193
214
|
|
|
194
|
-
|
|
215
|
+
## 3.4
|
|
195
216
|
|
|
196
217
|
* Support [alternate links][alternate_links] for urls
|
|
197
218
|
* Support configurable options in the `SitemapGenerator::S3Adapter`
|
|
198
219
|
|
|
199
|
-
|
|
220
|
+
## 3.3
|
|
200
221
|
|
|
201
222
|
* Support creating sitemaps with no index file
|
|
202
223
|
|
|
203
|
-
|
|
224
|
+
## 3.2.1
|
|
204
225
|
|
|
205
226
|
* Fix syntax error in `SitemapGenerator::S3Adapter`
|
|
206
227
|
|
|
207
|
-
|
|
228
|
+
## 3.2
|
|
208
229
|
|
|
209
230
|
* Support mobile tags
|
|
210
231
|
* Add `SitemapGenerator::S3Adapter`, a simple S3 adapter which uses Fog and doesn't require CarrierWave
|
|
@@ -213,18 +234,18 @@
|
|
|
213
234
|
* Fix the news XML namespace
|
|
214
235
|
* Only include `autoplay` attribute if present
|
|
215
236
|
|
|
216
|
-
|
|
237
|
+
## 3.1.1
|
|
217
238
|
|
|
218
239
|
* Bugfix
|
|
219
240
|
* Groups inherit current adapter
|
|
220
241
|
|
|
221
|
-
|
|
242
|
+
## 3.1.0
|
|
222
243
|
|
|
223
244
|
* Add `add_to_index` method to add links to the sitemap index.
|
|
224
|
-
* Add `sitemap` method for accessing the `LinkSet instance from within `create()`.
|
|
245
|
+
* Add `sitemap` method for accessing the `LinkSet` instance from within `create()`.
|
|
225
246
|
* Don't modify options hashes passed to methods. Fix and improve `yield_sitemap` option handling.
|
|
226
247
|
|
|
227
|
-
|
|
248
|
+
## 3.0.0
|
|
228
249
|
|
|
229
250
|
* **Framework agnostic!**
|
|
230
251
|
* Fix alignment in output
|
|
@@ -234,61 +255,61 @@
|
|
|
234
255
|
* Remove tasks/ directory because it's deprecated in Rails 2
|
|
235
256
|
* Simplify dependencies.
|
|
236
257
|
|
|
237
|
-
|
|
258
|
+
## 2.2.1
|
|
238
259
|
|
|
239
260
|
* Support adding new search engines to ping and modifying the default search engines.
|
|
240
261
|
* Allow the URL of the sitemap index to be passed as an argument to `ping_search_engines`. See Pinging Search Engines in README.
|
|
241
262
|
|
|
242
|
-
|
|
263
|
+
## 2.1.8
|
|
243
264
|
|
|
244
265
|
* Extend and improve Video Sitemap support.
|
|
245
266
|
* Include sitemap docs in the README, support all element attributes, properly format values.
|
|
246
267
|
|
|
247
|
-
|
|
268
|
+
## 2.1.7
|
|
248
269
|
|
|
249
270
|
* Improve format of float priorities
|
|
250
271
|
* Remove Yahoo from ping - the Yahoo service has been shut down.
|
|
251
272
|
|
|
252
|
-
|
|
273
|
+
## 2.1.6
|
|
253
274
|
|
|
254
275
|
* Fix the `lastmod` value on sitemap file links
|
|
255
276
|
|
|
256
|
-
|
|
277
|
+
## 2.1.5
|
|
257
278
|
|
|
258
279
|
* Fix verbose setting in the rake task, it should default to true
|
|
259
280
|
|
|
260
|
-
|
|
281
|
+
## 2.1.4
|
|
261
282
|
|
|
262
283
|
* Allow special characters in URLs (don't use `URI.join` to construct URLs)
|
|
263
284
|
|
|
264
|
-
|
|
285
|
+
## 2.1.3
|
|
265
286
|
|
|
266
287
|
* Fix calling `create` with both `filename` and `sitemaps_namer` options
|
|
267
288
|
|
|
268
|
-
|
|
289
|
+
## 2.1.2
|
|
269
290
|
|
|
270
291
|
* Support multiple videos per url using the new `videos` option to `add()`.
|
|
271
292
|
|
|
272
|
-
|
|
293
|
+
## 2.1.1
|
|
273
294
|
|
|
274
295
|
* Support calling `create()` multiple times in a sitemap config
|
|
275
296
|
* Support host names with path segments so you can use a `default_host` like `'http://mysite.com/subdirectory/'`
|
|
276
297
|
* Turn off `include_index` when the `sitemaps_host` differs from `default_host`
|
|
277
298
|
* Add docs about how to upload to remote hosts.
|
|
278
299
|
|
|
279
|
-
|
|
300
|
+
## 2.1.0
|
|
280
301
|
|
|
281
302
|
* [News sitemap][sitemap_news] support
|
|
282
303
|
|
|
283
|
-
|
|
304
|
+
## 2.0.1.pre2
|
|
284
305
|
|
|
285
306
|
* Fix uploading to the (bucket) root on a remote server
|
|
286
307
|
|
|
287
|
-
|
|
308
|
+
## 2.0.1.pre1
|
|
288
309
|
|
|
289
310
|
* Support read-only filesystems like Heroku by supporting uploading to remote host
|
|
290
311
|
|
|
291
|
-
|
|
312
|
+
## 2.0.1
|
|
292
313
|
|
|
293
314
|
* Minor improvements to verbose handlig
|
|
294
315
|
* Prevent missing `Timeout` issue
|
|
@@ -297,37 +318,36 @@
|
|
|
297
318
|
|
|
298
319
|
* Introducing a new simpler API, Sitemap Groups, Sitemap Namers and more!
|
|
299
320
|
|
|
300
|
-
|
|
321
|
+
## 1.5.0
|
|
301
322
|
|
|
302
323
|
* New options `include_root`, `include_index`
|
|
303
324
|
* Major testing & refactoring
|
|
304
325
|
|
|
305
|
-
|
|
326
|
+
## 1.4.0
|
|
306
327
|
|
|
307
|
-
*
|
|
328
|
+
* Geo sitemap support
|
|
308
329
|
* Multiple sitemap support via CONFIG_FILE rake option
|
|
309
330
|
|
|
310
|
-
|
|
331
|
+
## 1.3.0
|
|
311
332
|
|
|
312
333
|
* Support setting the sitemaps path
|
|
313
334
|
|
|
314
|
-
|
|
335
|
+
## 1.2.0
|
|
315
336
|
|
|
316
337
|
* Verified working with Rails 3 stable release
|
|
317
338
|
|
|
318
|
-
|
|
339
|
+
## 1.1.0
|
|
319
340
|
|
|
320
341
|
* [Video sitemap][sitemap_video] support
|
|
321
342
|
|
|
322
|
-
|
|
343
|
+
## 0.2.6
|
|
323
344
|
|
|
324
345
|
* [Image Sitemap][sitemap_images] support
|
|
325
346
|
|
|
326
|
-
|
|
347
|
+
## 0.2.5
|
|
327
348
|
|
|
328
349
|
* Rails 3 prerelease support (beta)
|
|
329
350
|
|
|
330
|
-
[geo_tags]:http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=94555
|
|
331
351
|
[sitemap_images]:http://www.google.com/support/webmasters/bin/answer.py?answer=178636
|
|
332
352
|
[sitemap_video]:https://support.google.com/webmasters/answer/80471?hl=en&ref_topic=4581190
|
|
333
353
|
[sitemap_news]:https://support.google.com/news/publisher/topic/2527688?hl=en&ref_topic=4359874
|