seotoolbox 0.9.1 → 0.9.2
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/Rakefile +1 -1
- data/lib/seo_toolbox.rb +2 -2
- metadata +9 -22
- data/Manifest +0 -10
- data/rakefile +0 -72
- data/seotoolbox.gemspec +0 -32
- data/test/temp/robots.txt +0 -3
- data/test/temp/sitemap.xml +0 -24
- data/test/temp/sitemap_data.dat +0 -3
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.2'
|
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.'
|
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.2"
|
14
14
|
|
15
15
|
#Mögliche Werte für changefreq:
|
16
16
|
#* always
|
@@ -165,7 +165,7 @@ class SeoToolbox
|
|
165
165
|
<!-- generator="seo_toolbox/#{VERSION}" -->
|
166
166
|
<!-- sitemap-generator-url="http://blog.media-scientific.com/seo_toolbox" sitemap-generator-version="#{VERSION}" -->
|
167
167
|
<!-- generated-on="#{date}" --><
|
168
|
-
<urlset xmlns
|
168
|
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
169
169
|
EOL
|
170
170
|
end
|
171
171
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philipp Petersen
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-16 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -20,31 +20,18 @@ executables: []
|
|
20
20
|
extensions: []
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
|
-
- lib/seo_toolbox.rb
|
24
|
-
- LICENSE
|
25
23
|
- README
|
24
|
+
- LICENSE
|
26
25
|
files:
|
27
|
-
- lib/seo_toolbox.rb
|
28
26
|
- LICENSE
|
29
|
-
- rakefile
|
30
27
|
- README
|
31
|
-
- test/seo_toolbox_test.rb
|
32
|
-
- test/temp/robots.txt
|
33
|
-
- test/temp/sitemap.xml
|
34
|
-
- test/temp/sitemap_data.dat
|
35
28
|
- Rakefile
|
36
|
-
-
|
37
|
-
- seotoolbox.gemspec
|
29
|
+
- lib/seo_toolbox.rb
|
38
30
|
has_rdoc: true
|
39
|
-
homepage:
|
31
|
+
homepage: http://blog.media-scientific.com/seo_toolbox/
|
40
32
|
post_install_message:
|
41
|
-
rdoc_options:
|
42
|
-
|
43
|
-
- --inline-source
|
44
|
-
- --title
|
45
|
-
- Seotoolbox
|
46
|
-
- --main
|
47
|
-
- README
|
33
|
+
rdoc_options: []
|
34
|
+
|
48
35
|
require_paths:
|
49
36
|
- lib
|
50
37
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -57,7 +44,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
44
|
requirements:
|
58
45
|
- - ">="
|
59
46
|
- !ruby/object:Gem::Version
|
60
|
-
version: "
|
47
|
+
version: "0"
|
61
48
|
version:
|
62
49
|
requirements: []
|
63
50
|
|
@@ -65,6 +52,6 @@ rubyforge_project: seotoolbox
|
|
65
52
|
rubygems_version: 1.3.1
|
66
53
|
signing_key:
|
67
54
|
specification_version: 2
|
68
|
-
summary: SeoToolbox
|
55
|
+
summary: SeoToolbox create XML Sitemaps, Google Sitemaps and generates meta-tags and the robots.txt file.
|
69
56
|
test_files:
|
70
57
|
- test/seo_toolbox_test.rb
|
data/Manifest
DELETED
data/rakefile
DELETED
@@ -1,72 +0,0 @@
|
|
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.1'
|
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.1') 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
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
Gem::Specification.new do |s|
|
4
|
-
s.name = %q{seotoolbox}
|
5
|
-
s.version = "0.9.1"
|
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-06-08}
|
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
|
data/test/temp/robots.txt
DELETED
data/test/temp/sitemap.xml
DELETED
@@ -1,24 +0,0 @@
|
|
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>
|
data/test/temp/sitemap_data.dat
DELETED