sitemap_generator 1.2.1 → 1.2.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/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.1
1
+ 1.2.2
@@ -72,7 +72,7 @@ module SitemapGenerator
72
72
  # Add a link to the sitemap file.
73
73
  #
74
74
  # If a link cannot be added, for example if the file is too large or the link
75
- # limit has been reached, a SitemapGenerator::SitemapFull exception is raised.
75
+ # limit has been reached, a SitemapGenerator::SitemapFullError exception is raised.
76
76
  #
77
77
  # If the Sitemap has already been finalized a SitemapGenerator::SitemapFinalized
78
78
  # exception is raised.
@@ -91,7 +91,7 @@ module SitemapGenerator
91
91
  if self.finalized?
92
92
  raise SitemapGenerator::SitemapFinalized
93
93
  elsif !file_can_fit?(bytesize(xml))
94
- raise SitemapGenerator::SitemapFull
94
+ raise SitemapGenerator::SitemapFullError
95
95
  end
96
96
 
97
97
  # Add the XML
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sitemap_generator
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 1
10
- version: 1.2.1
9
+ - 2
10
+ version: 1.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Karl Varga
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-10-14 00:00:00 -07:00
19
+ date: 2010-10-18 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency