admin_data 1.0.14 → 1.0.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.
@@ -15,7 +15,8 @@ xml.rss(:version => "2.0" ){
15
15
  end.join
16
16
 
17
17
  xml.description(desc)
18
- xml.pubDate(record.created_at.strftime("%a, %d %b %Y %H:%M:%S %z"))
18
+ d = record.respond_to?(:created_at) ? record.created_at : Time.now
19
+ xml.pubDate(d.strftime("%a, %d %b %Y %H:%M:%S %z"))
19
20
  xml.link(admin_data_on_k_path(:id => record, :klass => @klass.name))
20
21
  xml.guid(admin_data_on_k_path(:id => record, :klass => @klass.name))
21
22
  end
@@ -1,3 +1,3 @@
1
1
  module AdminData
2
- VERSION = '1.0.14'
2
+ VERSION = '1.0.15'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: admin_data
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 14
10
- version: 1.0.14
9
+ - 15
10
+ version: 1.0.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - Neeraj Singh
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-12 00:00:00 -04:00
18
+ date: 2010-10-21 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency