noodall-ui 0.3.13 → 0.3.14
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.strftime("%Y-%m-%dT%H:%M:%S
|
7
|
+
xml.lastmod File.new("#{Rails.root.to_s}/app/views/nodes/home.html.erb").mtime.strftime("%Y-%m-%dT%H:%M:%S") #w3c formatted string (#todo - add timezone)
|
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.strftime("%Y-%m-%dT%H:%M:%S
|
16
|
+
xml.lastmod node.updated_at.strftime("%Y-%m-%dT%H:%M:%S") #w3c formatted string (#todo - add timezone)
|
17
17
|
xml.changefreq "daily"
|
18
18
|
xml.priority 1
|
19
19
|
end
|
data/lib/noodall/ui/version.rb
CHANGED
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:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 14
|
10
|
+
version: 0.3.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Steve England
|