personal_blog 0.0.1 → 0.0.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9f9feaa7adef8c3c0d7092923f9ae8b88882164
|
4
|
+
data.tar.gz: de91940d7d257bc0a85f05cae8a2b4dccf2e8e2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 296a7539177bb4d869dda93d780f1f631d6910a24f63cee23b31b8bc014f3f2600451e0f4bada8a33d8782b2c72a0019a286f46e51616f3136c32f9173640d3b
|
7
|
+
data.tar.gz: 370be74a55a8b539dd6b7050499bc3cf677a9ac4b73839afef85a483e7ce51543f94c58c24a88578945a38c0df0185d07888aa15bd629ae4828bf3da770fcd47
|
@@ -1,5 +1,8 @@
|
|
1
1
|
<div class="comment-box">
|
2
2
|
<b><%= comment.author %></b>
|
3
3
|
<span class="comment-date"><%= comment.created_at.strftime('%B %e, %Y')%></span> <br>
|
4
|
-
<%= comment.text %>
|
4
|
+
<%= comment.text %>
|
5
|
+
<% if admin? %>
|
6
|
+
<%= link_to 'Delete', @post, method: :delete, data: { confirm: 'Are you sure?' }, class: 'comment-delete' %>
|
7
|
+
<% end %>
|
5
8
|
</div>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: personal_blog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nakul Pathak
|
@@ -66,8 +66,9 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description:
|
70
|
-
any
|
69
|
+
description: PersonalBlog adds a responsive and completely customizable single-user
|
70
|
+
blog to any Ruby on Rails application. It supports markdown and provides syntax
|
71
|
+
highlighting with a clean, minimalistic design.
|
71
72
|
email:
|
72
73
|
- nakulpathak3@hotmail.com
|
73
74
|
executables: []
|