sitemap 0.2b2 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +8 -1
  2. data/sitemap.gemspec +1 -1
  3. metadata +9 -9
@@ -43,7 +43,14 @@ You may change the defaults for either <tt>params</tt> or <tt>search</tt> option
43
43
 
44
44
  Sitemap.defaults[:params] = { :format => "html" }
45
45
 
46
+ == Large sites
47
+
48
+ Google imposes a limit of 50000 entries per sitemap and maximum size of 10 MB. To comply with these rules,
49
+ sitemaps having over 10.000 urls are being split into multiple files. You can change this value by overriding the max urls value:
50
+
51
+ Sitemap.defaults[:max_urls] = 50000
52
+
46
53
  == License
47
54
 
48
55
  This package is licensed under the MIT license and/or the Creative
49
- Commons Attribution-ShareAlike.
56
+ Commons Attribution-ShareAlike.
@@ -2,7 +2,7 @@ $LOAD_PATH << File.join(File.dirname(__FILE__), "lib")
2
2
 
3
3
  spec = Gem::Specification.new do |spec|
4
4
  spec.name = "sitemap"
5
- spec.version = "0.2b2"
5
+ spec.version = "0.2"
6
6
  spec.summary = "Sitemap"
7
7
  spec.description = "A simple ruby on rails sitemap generator"
8
8
 
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sitemap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2b2
5
- prerelease: 3
4
+ version: '0.2'
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Mircea
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-02 00:00:00.000000000Z
12
+ date: 2012-03-08 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sqlite3
16
- requirement: &12238460 !ruby/object:Gem::Requirement
16
+ requirement: &18070900 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *12238460
24
+ version_requirements: *18070900
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: nokogiri
27
- requirement: &12233580 !ruby/object:Gem::Requirement
27
+ requirement: &18069960 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *12233580
35
+ version_requirements: *18069960
36
36
  description: A simple ruby on rails sitemap generator
37
37
  email: daniel@viseztrance.com
38
38
  executables: []
@@ -80,9 +80,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  none: false
82
82
  requirements:
83
- - - ! '>'
83
+ - - ! '>='
84
84
  - !ruby/object:Gem::Version
85
- version: 1.3.1
85
+ version: '0'
86
86
  requirements: []
87
87
  rubyforge_project:
88
88
  rubygems_version: 1.8.10