sitemap_generator 2.1.4 → 2.1.5

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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ./
3
3
  specs:
4
- sitemap_generator (2.1.4)
4
+ sitemap_generator (2.1.5)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/README.md CHANGED
@@ -26,6 +26,7 @@ Does your website use SitemapGenerator to generate Sitemaps? Where would you be
26
26
  Changelog
27
27
  -------
28
28
 
29
+ - v2.1.5: Fix verbose setting in the rake tasks; should default to true
29
30
  - v2.1.4: Allow special characters in URLs (don't use URI.join to construct URLs)
30
31
  - v2.1.3: Fix calling create with both `filename` and `sitemaps_namer` options
31
32
  - v2.1.2: Support multiple videos per url using the new `videos` option to `add()`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.4
1
+ 2.1.5
@@ -20,7 +20,7 @@ namespace :sitemap do
20
20
 
21
21
  desc "Install a default config/sitemap.rb file"
22
22
  task :install => ['sitemap:require'] do
23
- SitemapGenerator::Utilities.install_sitemap_rb(verbose.nil? ? true : false)
23
+ SitemapGenerator::Utilities.install_sitemap_rb(verbose.nil? ? true : verbose)
24
24
  end
25
25
 
26
26
  desc "Delete all Sitemap files in public/ directory"
@@ -38,6 +38,6 @@ namespace :sitemap do
38
38
 
39
39
  desc "Generate sitemaps but don't ping search engines. Alias for refresh:no_ping."
40
40
  task :create => ['sitemap:require_environment'] do
41
- SitemapGenerator::Interpreter.run(:config_file => ENV["CONFIG_FILE"], :verbose => verbose.nil? ? true : false)
41
+ SitemapGenerator::Interpreter.run(:config_file => ENV["CONFIG_FILE"], :verbose => verbose.nil? ? true : verbose)
42
42
  end
43
43
  end
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: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 4
10
- version: 2.1.4
9
+ - 5
10
+ version: 2.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Karl Varga