noodall-ui 0.3.14 → 0.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,9 @@ 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
|
-
|
7
|
+
#w3c formatted time
|
8
|
+
time = File.new("#{Rails.root.to_s}/app/views/nodes/home.html.erb").mtime
|
9
|
+
xml.lastmod "#{time.strftime("%Y-%m-%dT%H:%M:%S")}#{time.strftime("%z")[0..2]}:#{time.strftime("%z")[3..4]}"
|
8
10
|
xml.changefreq "daily"
|
9
11
|
xml.priority 1
|
10
12
|
end
|
@@ -13,7 +15,9 @@ xml.urlset "xmlns" => "http://www.sitemaps.org/schemas/sitemap/0.9" do
|
|
13
15
|
@nodes.each do |node|
|
14
16
|
xml.url do
|
15
17
|
xml.loc node_path(node,:only_path => false)
|
16
|
-
|
18
|
+
#w3c formatted time
|
19
|
+
time = File.new("#{Rails.root.to_s}/app/views/nodes/home.html.erb").mtime
|
20
|
+
xml.lastmod "#{time.strftime("%Y-%m-%dT%H:%M:%S")}#{time.strftime("%z")[0..2]}:#{time.strftime("%z")[3..4]}"
|
17
21
|
xml.changefreq "daily"
|
18
22
|
xml.priority 1
|
19
23
|
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: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 15
|
10
|
+
version: 0.3.15
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Steve England
|