simple_sitemap 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -6
- data/lib/simple_sitemap/generators/sitemap.rb +2 -2
- data/lib/simple_sitemap/version.rb +1 -1
- data/simple_sitemap.gemspec +2 -2
- metadata +9 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
5
|
-
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: cad164683073dca92485f5ba105262c7928c9986
|
4
|
+
data.tar.gz: faf47f9804352bfb46e1b5407351d29b7350bf7f
|
5
|
+
!binary "U0hBNTEy":
|
6
|
+
metadata.gz: bdd44ef8b4184a4192db91f9fd13b5087ce3ce1b06ff4ce5bdb118f2e6c5ee3015857b54d5eacdff1158065e36519340e85df3006009578220c91a0660ea0f09
|
7
|
+
data.tar.gz: 5aaaebad958bb61ea726d2cbfece90130ca4f26c95a541ac75594b1698599ebd07da8713714f0329a858a1622e88f3296b73fa0d0cae0685060564bba0108d2a
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
require 'time'
|
2
2
|
require 'nokogiri'
|
3
3
|
|
4
4
|
module SimpleSitemap
|
@@ -120,7 +120,7 @@ module SimpleSitemap
|
|
120
120
|
@sitemap_data[name][:links].each do |url|
|
121
121
|
xml.url do
|
122
122
|
xml.loc url[:url]
|
123
|
-
xml.lastmod url[:lastmod].
|
123
|
+
xml.lastmod url[:lastmod].xmlschema if url[:lastmod].respond_to?(:xmlschema)
|
124
124
|
xml.changefreq url[:changefreq] if url[:changefreq]
|
125
125
|
xml.priority url[:priority] if url[:priority]
|
126
126
|
end
|
data/simple_sitemap.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |gem|
|
|
9
9
|
|
10
10
|
gem.add_dependency 'nokogiri', '~> 1.5.0'
|
11
11
|
|
12
|
-
gem.authors = ['ryanlower']
|
13
|
-
gem.email = ['rpjlower@gmail.com']
|
12
|
+
gem.authors = ['ryanlower', 'capicue']
|
13
|
+
gem.email = ['rpjlower@gmail.com', 'stacey@touset.org']
|
14
14
|
gem.description = 'A simple sitemap generator'
|
15
15
|
gem.summary = 'Simple sitemap generator'
|
16
16
|
gem.homepage = 'https://github.com/academia-edu/simple-sitemap'
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_sitemap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ryanlower
|
8
|
+
- capicue
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-27 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: nokogiri
|
@@ -28,19 +29,20 @@ dependencies:
|
|
28
29
|
name: rake
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
30
31
|
requirements:
|
31
|
-
- - '>='
|
32
|
+
- - ! '>='
|
32
33
|
- !ruby/object:Gem::Version
|
33
34
|
version: '0'
|
34
35
|
type: :development
|
35
36
|
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
|
-
- - '>='
|
39
|
+
- - ! '>='
|
39
40
|
- !ruby/object:Gem::Version
|
40
41
|
version: '0'
|
41
42
|
description: A simple sitemap generator
|
42
43
|
email:
|
43
44
|
- rpjlower@gmail.com
|
45
|
+
- stacey@touset.org
|
44
46
|
executables: []
|
45
47
|
extensions: []
|
46
48
|
extra_rdoc_files: []
|
@@ -67,12 +69,12 @@ require_paths:
|
|
67
69
|
- lib
|
68
70
|
required_ruby_version: !ruby/object:Gem::Requirement
|
69
71
|
requirements:
|
70
|
-
- - '>='
|
72
|
+
- - ! '>='
|
71
73
|
- !ruby/object:Gem::Version
|
72
74
|
version: '0'
|
73
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
76
|
requirements:
|
75
|
-
- - '>='
|
77
|
+
- - ! '>='
|
76
78
|
- !ruby/object:Gem::Version
|
77
79
|
version: '0'
|
78
80
|
requirements: []
|
@@ -82,3 +84,4 @@ signing_key:
|
|
82
84
|
specification_version: 4
|
83
85
|
summary: Simple sitemap generator
|
84
86
|
test_files: []
|
87
|
+
has_rdoc:
|