refinerycms-news 0.9.7.2 → 0.9.7.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ xml.rss :version => "2.0", "xmlns:atom" => "http://www.w3.org/2005/Atom" do
9
9
 
10
10
  # Feed basics.
11
11
  xml.title page_title
12
- xml.description @page[:body].gsub(/<\/?[^>]*>/, "")
12
+ xml.description @page[:body].to_s.gsub(/<\/?[^>]*>/, "") # .to_s protects from nil errors
13
13
  xml.link news_items_url(:format => 'rss')
14
14
 
15
15
  # News items.
data/lib/news.rb CHANGED
@@ -4,7 +4,7 @@ module Refinery
4
4
  MAJOR = 0
5
5
  MINOR = 9
6
6
  TINY = 7
7
- BUILD = 2
7
+ BUILD = 3
8
8
 
9
9
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
10
10
  end
metadata CHANGED
@@ -6,16 +6,13 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 9
8
8
  - 7
9
- - 2
10
- version: 0.9.7.2
9
+ - 3
10
+ version: 0.9.7.3
11
11
  platform: ruby
12
12
  authors:
13
- - Resolve
14
- - Digital
15
- - Philip
16
- - Arndt
17
- - David
18
- - Jones
13
+ - Resolve Digital
14
+ - Philip Arndt
15
+ - David Jones
19
16
  autorequire:
20
17
  bindir: bin
21
18
  cert_chain: []