simple_sitemap 0.1.2 → 0.1.3

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: e57b6a05b3e55046a83e8fe60bc77decaf8668b9
4
+ data.tar.gz: d94ac34f41f12814745b7d80a0cf7cea8485f948
5
+ SHA512:
6
+ metadata.gz: d7adcbd7c43e5cd334e1d3ce791249b172fcf09244121579d41c3451e10e9f5cc1bde7c77458c6a563cf9123adcaee78f9ae9e87b12e35b68c98c035c5b1dbef
7
+ data.tar.gz: 72e0cabb8826bb37e00007978ab80f666c5de747ae7694bc34a3a734f43d27dfc240f9cb46c37a979efa367b610adc2f3b7d16c237a776454fd264eaf7ee0cac
@@ -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].utc if url[:lastmod]
123
+ xml.lastmod url[:lastmod].utc if url[:lastmod].respond_to?(:utc)
124
124
  xml.changefreq url[:changefreq] if url[:changefreq]
125
125
  xml.priority url[:priority] if url[:priority]
126
126
  end
@@ -1,3 +1,3 @@
1
1
  module SimpleSitemap
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
@@ -20,4 +20,5 @@ Gem::Specification.new do |gem|
20
20
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
21
21
  gem.require_paths = ['lib']
22
22
 
23
+ gem.add_development_dependency "rake"
23
24
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_sitemap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
5
- prerelease:
4
+ version: 0.1.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - ryanlower
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-07-16 00:00:00.000000000 Z
11
+ date: 2013-06-12 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: nokogiri
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,11 +20,24 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.5.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
30
41
  description: A simple sitemap generator
31
42
  email:
32
43
  - rpjlower@gmail.com
@@ -49,26 +60,25 @@ files:
49
60
  - simple_sitemap.gemspec
50
61
  homepage: https://github.com/academia-edu/simple-sitemap
51
62
  licenses: []
63
+ metadata: {}
52
64
  post_install_message:
53
65
  rdoc_options: []
54
66
  require_paths:
55
67
  - lib
56
68
  required_ruby_version: !ruby/object:Gem::Requirement
57
- none: false
58
69
  requirements:
59
- - - ! '>='
70
+ - - '>='
60
71
  - !ruby/object:Gem::Version
61
72
  version: '0'
62
73
  required_rubygems_version: !ruby/object:Gem::Requirement
63
- none: false
64
74
  requirements:
65
- - - ! '>='
75
+ - - '>='
66
76
  - !ruby/object:Gem::Version
67
77
  version: '0'
68
78
  requirements: []
69
79
  rubyforge_project:
70
- rubygems_version: 1.8.23
80
+ rubygems_version: 2.0.2
71
81
  signing_key:
72
- specification_version: 3
82
+ specification_version: 4
73
83
  summary: Simple sitemap generator
74
84
  test_files: []