spud_blog 0.9.10 → 0.9.11
Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@
|
|
23
23
|
<h3><%= link_to post.title, news_post_path(post.url_name) %></h3>
|
24
24
|
<h4>Posted by <%= post.author.full_name %> on <%= post.display_date %></h4>
|
25
25
|
<div class="spud_news_post_content">
|
26
|
-
<%= truncate_html post.
|
26
|
+
<%= truncate_html post.content_processed.html_safe, :length => 250 %>
|
27
27
|
</div>
|
28
28
|
</div>
|
29
29
|
<% end %>
|
@@ -1,18 +1,18 @@
|
|
1
|
-
xml.instruct! :xml, :version => "1.0"
|
1
|
+
xml.instruct! :xml, :version => "1.0"
|
2
2
|
xml.rss :version => "2.0" do
|
3
3
|
xml.channel do
|
4
4
|
xml.title "#{Spud::Core.site_name} News"
|
5
5
|
xml.description "News articles for #{Spud::Core.site_name}"
|
6
6
|
xml.link news_url(:format => :rss)
|
7
|
-
|
7
|
+
|
8
8
|
for article in @posts
|
9
9
|
xml.item do
|
10
10
|
xml.title article.title
|
11
|
-
xml.description article.
|
11
|
+
xml.description article.content_processed
|
12
12
|
xml.pubDate article.created_at.to_s(:rfc822)
|
13
13
|
xml.link news_post_url(article.url_name)
|
14
14
|
xml.guid news_post_url(article.url_name)
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|
18
|
-
end
|
18
|
+
end
|
data/lib/spud_blog/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spud_blog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -339,7 +339,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
339
339
|
version: '0'
|
340
340
|
segments:
|
341
341
|
- 0
|
342
|
-
hash: -
|
342
|
+
hash: -3315726289214796166
|
343
343
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
344
344
|
none: false
|
345
345
|
requirements:
|
@@ -348,10 +348,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
348
348
|
version: '0'
|
349
349
|
segments:
|
350
350
|
- 0
|
351
|
-
hash: -
|
351
|
+
hash: -3315726289214796166
|
352
352
|
requirements: []
|
353
353
|
rubyforge_project:
|
354
|
-
rubygems_version: 1.8.
|
354
|
+
rubygems_version: 1.8.25
|
355
355
|
signing_key:
|
356
356
|
specification_version: 3
|
357
357
|
summary: Spud Blog Engine.
|