sitemap-builder 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -30,4 +30,4 @@ Jeweler::Tasks.new do |gem|
30
30
  gem.email = "franck.dagostini@gmail.com"
31
31
  gem.homepage = "http://github.com/franck/sitemap-builder"
32
32
  gem.authors = ["Franck D'agostini"]
33
- end
33
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -1,4 +1,5 @@
1
1
  require 'sitemap_builder/sitemap'
2
2
  require 'sitemap_builder/sitemap_index'
3
3
  require 'sitemap_builder/link'
4
- require 'sitemap_builder/helper'
4
+ require 'sitemap_builder/helper'
5
+ require "sitemap-builder/railtie" if defined?(Rails) && Rails.version >= "3"
@@ -0,0 +1,10 @@
1
+ module SitemapBuilder
2
+ class Railtie < Rails::Railtie
3
+ railtie_name :sitemap_builder
4
+
5
+ rake_tasks do
6
+ load "tasks/sitemap_builder_tasks.rake"
7
+ end
8
+
9
+ end
10
+ end
File without changes
@@ -0,0 +1,57 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{sitemap-builder}
8
+ s.version = "0.2.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Franck D'agostini"]
12
+ s.date = %q{2011-02-16}
13
+ s.description = %q{Rails plugins to build sitemap.xml}
14
+ s.email = %q{franck.dagostini@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "README"
17
+ ]
18
+ s.files = [
19
+ "MIT-LICENSE",
20
+ "README",
21
+ "Rakefile",
22
+ "VERSION",
23
+ "init.rb",
24
+ "install.rb",
25
+ "lib/sitemap_builder.rb",
26
+ "lib/sitemap_builder/helper.rb",
27
+ "lib/sitemap_builder/link.rb",
28
+ "lib/sitemap_builder/railtie.rb",
29
+ "lib/sitemap_builder/sitemap.rb",
30
+ "lib/sitemap_builder/sitemap_index.rb",
31
+ "lib/tasks/sitemap_builder_tasks.rake",
32
+ "sitemap-builder.gemspec",
33
+ "sitemap_example.rb",
34
+ "test/sitemap_builder_test.rb",
35
+ "test/test_helper.rb",
36
+ "uninstall.rb"
37
+ ]
38
+ s.homepage = %q{http://github.com/franck/sitemap-builder}
39
+ s.require_paths = ["lib"]
40
+ s.rubygems_version = %q{1.3.7}
41
+ s.summary = %q{Rails plugins to build sitemap.xml}
42
+ s.test_files = [
43
+ "test/sitemap_builder_test.rb",
44
+ "test/test_helper.rb"
45
+ ]
46
+
47
+ if s.respond_to? :specification_version then
48
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
+ s.specification_version = 3
50
+
51
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
+ else
53
+ end
54
+ else
55
+ end
56
+ end
57
+
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 1
7
+ - 2
8
8
  - 0
9
- version: 0.1.0
9
+ version: 0.2.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Franck D'agostini
@@ -36,10 +36,12 @@ files:
36
36
  - lib/sitemap_builder.rb
37
37
  - lib/sitemap_builder/helper.rb
38
38
  - lib/sitemap_builder/link.rb
39
+ - lib/sitemap_builder/railtie.rb
39
40
  - lib/sitemap_builder/sitemap.rb
40
41
  - lib/sitemap_builder/sitemap_index.rb
42
+ - lib/tasks/sitemap_builder_tasks.rake
43
+ - sitemap-builder.gemspec
41
44
  - sitemap_example.rb
42
- - tasks/sitemap_builder_tasks.rake
43
45
  - test/sitemap_builder_test.rb
44
46
  - test/test_helper.rb
45
47
  - uninstall.rb