noodall-ui 0.3.12 → 0.3.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ xml.urlset "xmlns" => "http://www.sitemaps.org/schemas/sitemap/0.9" do
4
4
  # homepage
5
5
  xml.url do
6
6
  xml.loc root_path(:only_path => false)
7
- xml.lastmod File.new("#{Rails.root.to_s}/app/views/nodes/home.html.erb").mtime.to_formatted_s(:w3c)
7
+ xml.lastmod File.new("#{Rails.root.to_s}/app/views/nodes/home.html.erb").mtime.strftime("%Y-%m-%dT%H:%M:%S%z") #w3c formatted string
8
8
  xml.changefreq "daily"
9
9
  xml.priority 1
10
10
  end
@@ -13,7 +13,7 @@ xml.urlset "xmlns" => "http://www.sitemaps.org/schemas/sitemap/0.9" do
13
13
  @nodes.each do |node|
14
14
  xml.url do
15
15
  xml.loc node_path(node,:only_path => false)
16
- xml.lastmod node.updated_at.to_formatted_s(:w3c)
16
+ xml.lastmod node.updated_at.strftime("%Y-%m-%dT%H:%M:%S%z") #w3c formatted string
17
17
  xml.changefreq "daily"
18
18
  xml.priority 1
19
19
  end
@@ -1,5 +1,5 @@
1
1
  module Noodall
2
2
  module UI
3
- VERSION = "0.3.12"
3
+ VERSION = "0.3.13"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noodall-ui
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 12
10
- version: 0.3.12
9
+ - 13
10
+ version: 0.3.13
11
11
  platform: ruby
12
12
  authors:
13
13
  - Steve England
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-13 00:00:00 +01:00
18
+ date: 2011-05-25 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency