spud_blog 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c8df0c3da75a2797128513098093c3d5959abf2
|
4
|
+
data.tar.gz: 505ccc9a719deed54c8f72d8b4085e149eaca7e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c116ddca45393ab91f0488c46badd77b47d805115e0ac4ab73af8bc37bae0927e30ba4461dfd9ec511c600e55a6c776cb4640984ed30571d8247452cc91334f
|
7
|
+
data.tar.gz: c0e2c08d3e3eba215589c020b511134ffa678317c32eebe7da0ceb42e8b0fd59a180c09c822f09e3139c31de2288b5ae7f477a297fd17e6887f11d753be5db3a
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<% cache ["blog/index",post] do%>
|
2
2
|
<div class="spud_blog_post">
|
3
3
|
<h3><%= link_to post.title, blog_post_path(post.url_name) %></h3>
|
4
|
-
<h4>Posted by <%= post.author.full_name %> on <%= post.display_date %></h4>
|
4
|
+
<h4>Posted by <%= post.author.try(:full_name) %> on <%= post.display_date %></h4>
|
5
5
|
<div class="spud_blog_post_content">
|
6
6
|
<%= truncate_html post.content_processed.html_safe, :length => 250 %>
|
7
7
|
</div>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<%cache ['blog/show', @post] do%>
|
16
16
|
<div class="spud_blog_post">
|
17
17
|
<h3><%= @post.title %></h3>
|
18
|
-
<h4>Posted by <%= @post.author.full_name %> on <%= @post.display_date %></h4>
|
18
|
+
<h4>Posted by <%= @post.author.try(:full_name) %> on <%= @post.display_date %></h4>
|
19
19
|
<% if @post.categories.any? %>
|
20
20
|
<p id="spud_blog_post_categories">
|
21
21
|
Filed under
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<% cache ["news/index",post] do%>
|
2
2
|
<div class="spud_news_post">
|
3
3
|
<h3><%= link_to post.title, news_post_path(post.url_name) %></h3>
|
4
|
-
<h4>Posted by <%= post.author.full_name %> on <%= post.display_date %></h4>
|
4
|
+
<h4>Posted by <%= post.author.try(:full_name) %> on <%= post.display_date %></h4>
|
5
5
|
<div class="spud_news_post_content">
|
6
6
|
<%= truncate_html post.content_processed.html_safe, :length => 250 %>
|
7
7
|
</div>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<%cache ['news/show', @post] do%>
|
16
16
|
<div class="spud_news_post">
|
17
17
|
<h3><%= @post.title %></h3>
|
18
|
-
<h4>Posted by <%= @post.author.full_name %> on <%= @post.display_date %></h4>
|
18
|
+
<h4>Posted by <%= @post.author.try(:full_name) %> on <%= @post.display_date %></h4>
|
19
19
|
<% if @post.categories.any? %>
|
20
20
|
<p id="spud_news_post_categories">
|
21
21
|
Filed under
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<%end%>
|
27
27
|
<%end%>
|
28
28
|
</td>
|
29
|
-
<td><%= post.author.full_name %></td>
|
29
|
+
<td><%= post.author.try(:full_name) %></td>
|
30
30
|
<td><%= link_to(post.published_at.strftime('%m/%d/%Y'), blog_post_path(post.url_name)) %></td>
|
31
31
|
<td>
|
32
32
|
Approved: <%=link_to post.visible_comments.count, spud_admin_post_post_comments_path(:post_id => post.id) %>
|
data/lib/spud_blog/version.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spud_blog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Woods
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 4.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 4.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.0.
|
33
|
+
version: 1.0.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.0.
|
40
|
+
version: 1.0.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: spud_permalinks
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|