seotoolbox 0.9.2 → 0.9.3
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.
- data/Manifest +10 -0
- data/Rakefile +2 -2
- data/lib/seo_toolbox.rb +2 -2
- data/rakefile +72 -0
- data/seotoolbox.gemspec +32 -0
- data/test/temp/robots.txt +3 -0
- data/test/temp/sitemap.xml +24 -0
- data/test/temp/sitemap_data.dat +3 -0
- metadata +21 -8
data/Manifest
ADDED
data/Rakefile
CHANGED
@@ -19,7 +19,7 @@ spec = Gem::Specification.new do |s|
|
|
19
19
|
s.homepage = "http://blog.media-scientific.com/seo_toolbox/"
|
20
20
|
s.platform = Gem::Platform::RUBY
|
21
21
|
s.rubyforge_project = 'seotoolbox'
|
22
|
-
s.version = '0.9.
|
22
|
+
s.version = '0.9.3'
|
23
23
|
s.has_rdoc = true
|
24
24
|
s.extra_rdoc_files = ['README', 'LICENSE']
|
25
25
|
s.summary = 'SeoToolbox create XML Sitemaps, Google Sitemaps and generates meta-tags and the robots.txt file.'
|
@@ -58,7 +58,7 @@ Spec::Rake::SpecTask.new do |t|
|
|
58
58
|
end
|
59
59
|
|
60
60
|
|
61
|
-
Echoe.new('seotoolbox', '0.9.
|
61
|
+
Echoe.new('seotoolbox', '0.9.3') do |p|
|
62
62
|
p.description = "SeoToolbox can be used in combination with Rails. It helps in the creation of meta tags, robots.txt and the Google Sitemaps, XML Sitemaps."
|
63
63
|
p.url = "cvs.seotoolbox.rubyforge.org"
|
64
64
|
p.author = "Philipp Petersen"
|
data/lib/seo_toolbox.rb
CHANGED
@@ -10,7 +10,7 @@ class SeoToolbox
|
|
10
10
|
require 'date'
|
11
11
|
attr_reader :path_to_sitemap, :url, :changefreq, :priority, :path_to_data
|
12
12
|
|
13
|
-
VERSION="0.9.
|
13
|
+
VERSION="0.9.3"
|
14
14
|
|
15
15
|
#Mögliche Werte für changefreq:
|
16
16
|
#* always
|
@@ -164,7 +164,7 @@ class SeoToolbox
|
|
164
164
|
<?xml version="1.0" encoding="UTF-8"?>
|
165
165
|
<!-- generator="seo_toolbox/#{VERSION}" -->
|
166
166
|
<!-- sitemap-generator-url="http://blog.media-scientific.com/seo_toolbox" sitemap-generator-version="#{VERSION}" -->
|
167
|
-
<!-- generated-on="#{date}"
|
167
|
+
<!-- generated-on="#{date}" -->
|
168
168
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
169
169
|
EOL
|
170
170
|
end
|
data/rakefile
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
=begin
|
2
|
+
@author: Philipp Petersen
|
3
|
+
=end
|
4
|
+
|
5
|
+
|
6
|
+
require 'rubygems'
|
7
|
+
require 'rake'
|
8
|
+
require 'rake/clean'
|
9
|
+
require 'rake/gempackagetask'
|
10
|
+
require 'rake/rdoctask'
|
11
|
+
require 'rake/testtask'
|
12
|
+
require 'spec/rake/spectask'
|
13
|
+
require 'echoe'
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
spec = Gem::Specification.new do |s|
|
18
|
+
s.name = 'seotoolbox'
|
19
|
+
s.homepage = "http://blog.media-scientific.com/seo_toolbox/"
|
20
|
+
s.platform = Gem::Platform::RUBY
|
21
|
+
s.rubyforge_project = 'seotoolbox'
|
22
|
+
s.version = '0.9.3'
|
23
|
+
s.has_rdoc = true
|
24
|
+
s.extra_rdoc_files = ['README', 'LICENSE']
|
25
|
+
s.summary = 'SeoToolbox create XML Sitemaps, Google Sitemaps and generates meta-tags and the robots.txt file.'
|
26
|
+
s.description = "SeoToolbox can be used in combination with Rails. It helps in the creation of meta tags, robots.txt and the Google Sitemaps, XML Sitemaps."
|
27
|
+
s.author = 'Philipp Petersen'
|
28
|
+
s.email = 'philipp.petersen@gmail.com'
|
29
|
+
s.files = %w(LICENSE README Rakefile) + Dir.glob("{bin,lib,spec}/**/*")
|
30
|
+
s.require_path = "lib"
|
31
|
+
s.test_files = Dir.glob('test/*.rb')
|
32
|
+
end
|
33
|
+
|
34
|
+
Rake::GemPackageTask.new(spec) do |p|
|
35
|
+
p.gem_spec = spec
|
36
|
+
p.need_tar = true
|
37
|
+
p.need_zip = true
|
38
|
+
end
|
39
|
+
|
40
|
+
Rake::RDocTask.new do |rdoc|
|
41
|
+
files =['README', 'LICENSE', 'lib/**/*.rb', 'test/*.rb']
|
42
|
+
rdoc.rdoc_files.add(files)
|
43
|
+
rdoc.main = "README" # page to start on
|
44
|
+
rdoc.title = "rails_toolbox Docs"
|
45
|
+
rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder
|
46
|
+
rdoc.options << '--line-numbers'
|
47
|
+
rdoc.options << '--all'
|
48
|
+
rdoc.options << '--charset=UTF-8'
|
49
|
+
end
|
50
|
+
|
51
|
+
Rake::TestTask.new do |t|
|
52
|
+
FileUtils.mkdir_p 'test/temp'
|
53
|
+
t.test_files = FileList['test/**/*.rb']
|
54
|
+
end
|
55
|
+
|
56
|
+
Spec::Rake::SpecTask.new do |t|
|
57
|
+
t.spec_files = FileList['spec/**/*.rb']
|
58
|
+
end
|
59
|
+
|
60
|
+
|
61
|
+
Echoe.new('seotoolbox', '0.9.3') do |p|
|
62
|
+
p.description = "SeoToolbox can be used in combination with Rails. It helps in the creation of meta tags, robots.txt and the Google Sitemaps, XML Sitemaps."
|
63
|
+
p.url = "cvs.seotoolbox.rubyforge.org"
|
64
|
+
p.author = "Philipp Petersen"
|
65
|
+
p.email = "philipp.petersen@gmail.com"
|
66
|
+
p.ignore_pattern = ["svn_user.yml", "svn_project.rake"]
|
67
|
+
p.project = "seotoolbox"
|
68
|
+
end
|
69
|
+
|
70
|
+
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
|
71
|
+
|
72
|
+
|
data/seotoolbox.gemspec
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{seotoolbox}
|
5
|
+
s.version = "0.9.3"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Philipp Petersen"]
|
9
|
+
s.date = %q{2009-07-16}
|
10
|
+
s.description = %q{SeoToolbox can be used in combination with Rails. It helps in the creation of meta tags, robots.txt and the Google Sitemaps, XML Sitemaps.}
|
11
|
+
s.email = %q{philipp.petersen@gmail.com}
|
12
|
+
s.extra_rdoc_files = ["lib/seo_toolbox.rb", "LICENSE", "README"]
|
13
|
+
s.files = ["lib/seo_toolbox.rb", "LICENSE", "rakefile", "README", "test/seo_toolbox_test.rb", "test/temp/robots.txt", "test/temp/sitemap.xml", "test/temp/sitemap_data.dat", "Rakefile", "Manifest", "seotoolbox.gemspec"]
|
14
|
+
s.has_rdoc = true
|
15
|
+
s.homepage = %q{cvs.seotoolbox.rubyforge.org}
|
16
|
+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Seotoolbox", "--main", "README"]
|
17
|
+
s.require_paths = ["lib"]
|
18
|
+
s.rubyforge_project = %q{seotoolbox}
|
19
|
+
s.rubygems_version = %q{1.3.1}
|
20
|
+
s.summary = %q{SeoToolbox can be used in combination with Rails. It helps in the creation of meta tags, robots.txt and the Google Sitemaps, XML Sitemaps.}
|
21
|
+
s.test_files = ["test/seo_toolbox_test.rb"]
|
22
|
+
|
23
|
+
if s.respond_to? :specification_version then
|
24
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
25
|
+
s.specification_version = 2
|
26
|
+
|
27
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
28
|
+
else
|
29
|
+
end
|
30
|
+
else
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- generator="seo_toolbox/0.9.1" -->
|
3
|
+
<!-- sitemap-generator-url="http://blog.media-scientific.com/seo_toolbox" sitemap-generator-version="0.9.1" -->
|
4
|
+
<!-- generated-on="2009-06-08 10:18" --><
|
5
|
+
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9" url="http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
6
|
+
<url>
|
7
|
+
<loc>http://blog.media-scientific.com</loc>
|
8
|
+
<lastmod>2009-06-05</lastmod>
|
9
|
+
<changefreq>weekly</changefreq>
|
10
|
+
<priority>1.0</priority>
|
11
|
+
</url>
|
12
|
+
<url>
|
13
|
+
<loc>http://blog.media-scientific.com/erster_test.html</loc>
|
14
|
+
<lastmod>2009-06-08 10:18</lastmod>
|
15
|
+
<changefreq>daily</changefreq>
|
16
|
+
<priority>0.5</priority>
|
17
|
+
</url>
|
18
|
+
<url>
|
19
|
+
<loc>http://blog.media-scientific.com/noch_ein_test.html</loc>
|
20
|
+
<lastmod>2009-06-08 10:18</lastmod>
|
21
|
+
<changefreq>daily</changefreq>
|
22
|
+
<priority>0.5</priority>
|
23
|
+
</url>
|
24
|
+
</urlset>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seotoolbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philipp Petersen
|
@@ -20,18 +20,31 @@ executables: []
|
|
20
20
|
extensions: []
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
|
-
-
|
23
|
+
- lib/seo_toolbox.rb
|
24
24
|
- LICENSE
|
25
|
+
- README
|
25
26
|
files:
|
27
|
+
- lib/seo_toolbox.rb
|
26
28
|
- LICENSE
|
29
|
+
- rakefile
|
27
30
|
- README
|
31
|
+
- test/seo_toolbox_test.rb
|
32
|
+
- test/temp/robots.txt
|
33
|
+
- test/temp/sitemap.xml
|
34
|
+
- test/temp/sitemap_data.dat
|
28
35
|
- Rakefile
|
29
|
-
-
|
36
|
+
- Manifest
|
37
|
+
- seotoolbox.gemspec
|
30
38
|
has_rdoc: true
|
31
|
-
homepage:
|
39
|
+
homepage: cvs.seotoolbox.rubyforge.org
|
32
40
|
post_install_message:
|
33
|
-
rdoc_options:
|
34
|
-
|
41
|
+
rdoc_options:
|
42
|
+
- --line-numbers
|
43
|
+
- --inline-source
|
44
|
+
- --title
|
45
|
+
- Seotoolbox
|
46
|
+
- --main
|
47
|
+
- README
|
35
48
|
require_paths:
|
36
49
|
- lib
|
37
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -44,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
44
57
|
requirements:
|
45
58
|
- - ">="
|
46
59
|
- !ruby/object:Gem::Version
|
47
|
-
version: "
|
60
|
+
version: "1.2"
|
48
61
|
version:
|
49
62
|
requirements: []
|
50
63
|
|
@@ -52,6 +65,6 @@ rubyforge_project: seotoolbox
|
|
52
65
|
rubygems_version: 1.3.1
|
53
66
|
signing_key:
|
54
67
|
specification_version: 2
|
55
|
-
summary: SeoToolbox
|
68
|
+
summary: SeoToolbox can be used in combination with Rails. It helps in the creation of meta tags, robots.txt and the Google Sitemaps, XML Sitemaps.
|
56
69
|
test_files:
|
57
70
|
- test/seo_toolbox_test.rb
|