tkh_content 0.9.19 → 0.9.20

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ad6c9673434459734cf5a85aebc1cb2a434c831
4
- data.tar.gz: 86691890e07898f9dd391b42e275ae93bc7aa872
3
+ metadata.gz: 3438fde3cb7eb81330eaf594c3446ed8fed05335
4
+ data.tar.gz: 7ebb20b7e4524f964f4acf8120b446a26b6ad111
5
5
  SHA512:
6
- metadata.gz: 971f656aee973ca024169481b4c09557c1ffe65367bde98aa8de4803c3f297c475bf39443eaedbcb36ea5e5168652936f28408c8e0a297ffd7f4a25e11e591dd
7
- data.tar.gz: b2de450d8294a5e2cb730ef13d01a97965a3947460b9b32935895484d01b1d87f9034d8783972be87c1015c0f3725c21745f1d05407bbb4ba76945bcd9b14855
6
+ metadata.gz: 4059e07ed02549609a2387609b76254997e727f3bdef2d082b3217632b497f14f8cbe72a67b476518bdd87c6e8a0df63c8cdb0fb7af58df1279994b3ae30e3f9
7
+ data.tar.gz: 905a69cf03011f4e68c747fa23e9fdc33300a850a26a70fb63ec9ac8e5df65e1760ed5fb700f6e3dd6c29a7bd3de5e399a0ee4d112f2242f08e96772e41e206b
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
 
4
4
 
5
+ ## 0.9.20
6
+
7
+ * In comments, author names link to their public profiles
8
+
9
+
5
10
  ## 0.9.19
6
11
 
7
12
  * Fixed up glyphicons in pages index view
@@ -2,7 +2,7 @@
2
2
  <div id="comment-<%= comment.id %>" class="individual-comment<%= " by-page-author" if comment.author_id == comment.commentable.try(:author_id) %>">
3
3
  <p>
4
4
  <span class="comment-index"><%= index + 1 %></span>
5
- <span class="comment-author-name"><%= comment.author.name %></span>
5
+ <span class="comment-author-name"><%= comment.author.present? ? link_to(comment.author.spiritual_name, member_path(comment.author)) : 'anonymous' %></span>
6
6
  <span class="comment-created-date"><%= l comment.created_at, format: :tkh_default %></span>
7
7
  <span class="comment-body"><%= sanitize comment.body.gsub(/\r\n?/, "<br>"), :tags => %w(br), :attributes => %w() %></span>
8
8
  </p>
@@ -1,3 +1,3 @@
1
1
  module TkhContent
2
- VERSION = "0.9.19"
2
+ VERSION = "0.9.20"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.19
4
+ version: 0.9.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swami Atma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-01 00:00:00.000000000 Z
11
+ date: 2014-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails