beef-articles 0.3.29 → 0.3.30
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.
- data/VERSION +1 -1
- data/app/helpers/comments_helper.rb +1 -1
- data/app/views/comments/_comment.html.erb +1 -1
- data/articles.gemspec +2 -5
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.30
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module CommentsHelper
|
|
2
2
|
|
|
3
3
|
def comments_list(commentable)
|
|
4
|
-
content_tag :ul, render(:partial => commentable.comments
|
|
4
|
+
content_tag :ul, render(:partial => commentable.comments), :id => 'comment-list' unless commentable.comments.empty?
|
|
5
5
|
end
|
|
6
6
|
|
|
7
7
|
end
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
<li id="comment-<%= comment.id %>">
|
|
2
2
|
<span class="comment"><%= sanitize comment.comment, :tags => Settings.allowed_html_tags_for_UGC.to_s.split(' '), :attributes => Settings.allowed_html_attributes_for_UGC.to_s.split(' ') %></span>
|
|
3
|
-
<%= link_to comment.created_at.to_formatted_s(:short_dot),
|
|
3
|
+
<%= link_to comment.created_at.to_formatted_s(:short_dot), "#{url_for(comment.commentable)}#comment-#{comment.id}", :title => "Permalink to this comment" %> | posted by <%= link_to_unless comment.website.blank?, comment.name, "http://#{comment.website}" %>
|
|
4
4
|
</li>
|
data/articles.gemspec
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
# Generated by jeweler
|
|
2
|
-
# DO NOT EDIT THIS FILE
|
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
|
4
1
|
# -*- encoding: utf-8 -*-
|
|
5
2
|
|
|
6
3
|
Gem::Specification.new do |s|
|
|
7
4
|
s.name = %q{articles}
|
|
8
|
-
s.version = "0.3.
|
|
5
|
+
s.version = "0.3.30"
|
|
9
6
|
|
|
10
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
8
|
s.authors = ["Steve England"]
|
|
12
|
-
s.date = %q{2009-09-
|
|
9
|
+
s.date = %q{2009-09-09}
|
|
13
10
|
s.email = %q{steve@wearebeef.co.uk}
|
|
14
11
|
s.extra_rdoc_files = [
|
|
15
12
|
"LICENSE",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beef-articles
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.30
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steve England
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-09-
|
|
12
|
+
date: 2009-09-09 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|