sitemap_generator 5.0.1 → 5.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c3448cc5fa76c8cc3ebe6378d63d73aef830be9b
4
+ data.tar.gz: 343fa85358ff9bf7c81dd7003aa3214029405811
5
+ SHA512:
6
+ metadata.gz: 21d60e9e98e6f5d63389cd1a774346fa19ce98a45041f0944711d45bad62766060dfb60ed93664470ed9a0bf98769cd065b3848bcfb9ffd1aa4f35d59953106e
7
+ data.tar.gz: b53df5b3e572050b9b4db1ca26d98d3fba0ffda724c3f1af79588b13d8981e1c5c6ca14a8dbfa99b4a812286f99120ab6288b50b1112620e289b262b29ec22c4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ./
3
3
  specs:
4
- sitemap_generator (5.0.1)
4
+ sitemap_generator (5.0.2)
5
5
  builder
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -117,6 +117,7 @@ That's it! Welcome to the future!
117
117
 
118
118
  ## Changelog
119
119
 
120
+ * v5.0.2: Set maximum filesize to 10,000,000 bytes rather than 10,485,760 bytes.
120
121
  * v5.0.1: Include new `SitemapGenerator::FogAdapter` ([#138](https://github.com/kjvarga/sitemap_generator/pull/138)). Fix usage of attr_* methods in LinkSet; don't override custom getters/setters ([#144](https://github.com/kjvarga/sitemap_generator/pull/144)). Fix breaking spec in Ruby 2 ([#142](https://github.com/kjvarga/sitemap_generator/pull/142)). Include Capistrano 3.x tasks ([#141](https://github.com/kjvarga/sitemap_generator/pull/141)).
121
122
  * v5.0.0: Support new `:compress` option for customizing which files get compressed. Remove old deprecated methods (see deprecation notices above). Support `fog_path_style` option in the `SitemapGenerator::S3Adapter` so buckets with dots in the name work over HTTPS without SSL certificate problems.
122
123
  * v4.3.1: Support integer timestamps. Update README for new features added in last release.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.0.1
1
+ 5.0.2
@@ -26,7 +26,7 @@ module SitemapGenerator
26
26
  MAX_SITEMAP_LINKS = 50_000 # max links per sitemap
27
27
  MAX_SITEMAP_IMAGES = 1_000 # max images per url
28
28
  MAX_SITEMAP_NEWS = 1_000 # max news sitemap per index_file
29
- MAX_SITEMAP_FILESIZE = SitemapGenerator::Numeric.new(10).megabytes # bytes
29
+ MAX_SITEMAP_FILESIZE = 10_000_000 # bytes
30
30
  SCHEMAS = {
31
31
  'geo' => 'http://www.google.com/geo/schemas/sitemap/1.0',
32
32
  'image' => 'http://www.google.com/schemas/sitemap-image/1.1',
@@ -35,7 +35,7 @@ module SitemapGenerator
35
35
  'pagemap' => 'http://www.google.com/schemas/sitemap-pagemap/1.0',
36
36
  'video' => 'http://www.google.com/schemas/sitemap-video/1.1'
37
37
  }
38
-
38
+
39
39
  # Lazy-initialize the LinkSet instance
40
40
  Sitemap = (Class.new do
41
41
  def method_missing(*args, &block)
metadata CHANGED
@@ -1,83 +1,80 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sitemap_generator
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 5
7
- - 0
8
- - 1
9
- version: 5.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 5.0.2
10
5
  platform: ruby
11
- authors:
6
+ authors:
12
7
  - Karl Varga
13
8
  autorequire:
14
9
  bindir: bin
15
10
  cert_chain: []
16
-
17
- date: 2014-03-04 00:00:00 -08:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2014-04-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: mocha
22
- requirement: &id001 !ruby/object:Gem::Requirement
23
- none: false
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 0
29
- version: "0"
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
30
20
  type: :development
31
21
  prerelease: false
32
- version_requirements: *id001
33
- - !ruby/object:Gem::Dependency
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
34
28
  name: nokogiri
35
- requirement: &id002 !ruby/object:Gem::Requirement
36
- none: false
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- segments:
41
- - 0
42
- version: "0"
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
43
34
  type: :development
44
35
  prerelease: false
45
- version_requirements: *id002
46
- - !ruby/object:Gem::Dependency
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
47
42
  name: rspec
48
- requirement: &id003 !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- segments:
54
- - 0
55
- version: "0"
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
56
48
  type: :development
57
49
  prerelease: false
58
- version_requirements: *id003
59
- - !ruby/object:Gem::Dependency
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
60
56
  name: builder
61
- requirement: &id004 !ruby/object:Gem::Requirement
62
- none: false
63
- requirements:
64
- - - ">="
65
- - !ruby/object:Gem::Version
66
- segments:
67
- - 0
68
- version: "0"
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
69
62
  type: :runtime
70
63
  prerelease: false
71
- version_requirements: *id004
72
- description: SitemapGenerator is a framework-agnostic XML Sitemap generator written in Ruby with automatic Rails integration. It supports Video, News, Image, Geo, Mobile, PageMap and Alternate Links sitemap extensions and includes Rake tasks for managing your sitemaps, as well as many other great features.
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: SitemapGenerator is a framework-agnostic XML Sitemap generator written
70
+ in Ruby with automatic Rails integration. It supports Video, News, Image, Geo,
71
+ Mobile, PageMap and Alternate Links sitemap extensions and includes Rake tasks for
72
+ managing your sitemaps, as well as many other great features.
73
73
  email: kjvarga@gmail.com
74
74
  executables: []
75
-
76
75
  extensions: []
77
-
78
76
  extra_rdoc_files: []
79
-
80
- files:
77
+ files:
81
78
  - Gemfile
82
79
  - Gemfile.lock
83
80
  - MIT-LICENSE
@@ -155,49 +152,37 @@ files:
155
152
  - spec/support/schemas/sitemap-video.xsd
156
153
  - spec/support/schemas/sitemap.xsd
157
154
  - spec/support/xml_macros.rb
158
- has_rdoc: true
159
155
  homepage: http://github.com/kjvarga/sitemap_generator
160
156
  licenses: []
161
-
157
+ metadata: {}
162
158
  post_install_message: |
163
159
  NOTE: SitemapGenerator 4.x uses a new file naming scheme which is more standards-compliant.
164
160
  If you're upgrading from 3.x, please see the release note in the README:
165
-
161
+
166
162
  https://github.com/kjvarga/sitemap_generator#important-changes-in-version-4
167
-
163
+
168
164
  The simple answer is that your index file is now called sitemap.xml.gz
169
165
  and not sitemap_index.xml.gz, but please take a look and see what else has changed.
170
-
171
166
  rdoc_options: []
172
-
173
- require_paths:
167
+ require_paths:
174
168
  - lib
175
- required_ruby_version: !ruby/object:Gem::Requirement
176
- none: false
177
- requirements:
178
- - - ">="
179
- - !ruby/object:Gem::Version
180
- hash: 3343341669011167258
181
- segments:
182
- - 0
183
- version: "0"
184
- required_rubygems_version: !ruby/object:Gem::Requirement
185
- none: false
186
- requirements:
187
- - - ">="
188
- - !ruby/object:Gem::Version
189
- hash: 3343341669011167258
190
- segments:
191
- - 0
192
- version: "0"
169
+ required_ruby_version: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ required_rubygems_version: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - '>='
177
+ - !ruby/object:Gem::Version
178
+ version: '0'
193
179
  requirements: []
194
-
195
180
  rubyforge_project:
196
- rubygems_version: 1.3.7.1
181
+ rubygems_version: 2.1.11
197
182
  signing_key:
198
- specification_version: 3
183
+ specification_version: 4
199
184
  summary: Easily generate XML Sitemaps
200
- test_files:
185
+ test_files:
201
186
  - spec/blueprint.rb
202
187
  - spec/files/sitemap.create.rb
203
188
  - spec/files/sitemap.groups.rb