sitemap_generator 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/tasks/sitemap_generator_tasks.rake +15 -7
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
@@ -1,17 +1,26 @@
|
|
1
|
-
begin
|
1
|
+
environment = begin
|
2
|
+
|
3
|
+
# Try to require the library. If we are installed as a gem, this should work.
|
4
|
+
# We don't need to load the environment.
|
2
5
|
require 'sitemap_generator'
|
3
|
-
|
4
|
-
|
6
|
+
[]
|
7
|
+
|
8
|
+
rescue LoadError
|
9
|
+
|
10
|
+
# We must be installed as a plugin. Make sure the environment is loaded
|
11
|
+
# when running all rake tasks.
|
12
|
+
[:environment]
|
13
|
+
|
5
14
|
end
|
6
15
|
|
7
16
|
namespace :sitemap do
|
8
17
|
desc "Install a default config/sitemap.rb file"
|
9
|
-
task :install do
|
18
|
+
task :install => environment do
|
10
19
|
SitemapGenerator::Utilities.install_sitemap_rb(verbose)
|
11
20
|
end
|
12
21
|
|
13
22
|
desc "Delete all Sitemap files in public/ directory"
|
14
|
-
task :clean do
|
23
|
+
task :clean => environment do
|
15
24
|
SitemapGenerator::Utilities.clean_files
|
16
25
|
end
|
17
26
|
|
@@ -27,5 +36,4 @@ namespace :sitemap do
|
|
27
36
|
SitemapGenerator::Sitemap.verbose = verbose
|
28
37
|
SitemapGenerator::Sitemap.create
|
29
38
|
end
|
30
|
-
end
|
31
|
-
|
39
|
+
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
8
|
+
- 1
|
9
|
+
version: 1.0.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Karl Varga
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-07-
|
18
|
+
date: 2010-07-21 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|