sitemap_generator 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/sitemap_generator/link_set.rb +3 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.3
|
@@ -57,7 +57,9 @@ module SitemapGenerator
|
|
57
57
|
@public_path = public_path
|
58
58
|
@sitemaps_path = sitemaps_path
|
59
59
|
|
60
|
-
|
60
|
+
if @public_path.nil?
|
61
|
+
@public_path = File.join(::Rails.root, 'public/') rescue 'public/'
|
62
|
+
end
|
61
63
|
|
62
64
|
# Default host is not set yet. Set it on these objects when `add_links` is called
|
63
65
|
self.sitemap_index = SitemapGenerator::Builder::SitemapIndexFile.new(@public_path, sitemap_index_path)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sitemap_generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 1.3.
|
9
|
+
- 3
|
10
|
+
version: 1.3.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Karl Varga
|