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 CHANGED
@@ -1 +1 @@
1
- 1.3.2
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
- @public_path = File.join(::Rails.root, 'public/') if @public_path.nil?
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: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 2
10
- version: 1.3.2
9
+ - 3
10
+ version: 1.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Karl Varga