comfy_blog 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/views/admin/blog/posts/_form.html.erb +2 -1
- data/app/views/admin/blog/posts/_post.html.erb +12 -6
- data/comfy_blog.gemspec +2 -2
- metadata +9 -9
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<li>
|
2
2
|
<div class='item'>
|
3
|
-
<div class='icon'></div>
|
3
|
+
<div class='icon <%= post.is_published?? 'published' : 'draft' %>'></div>
|
4
4
|
<div class='action_links'>
|
5
5
|
<% unless ComfyBlog.disqus_enabled? %>
|
6
6
|
<%= link_to pluralize(post.comments.count, 'comment'), admin_blog_post_comments_path(post) %>
|
@@ -11,11 +11,17 @@
|
|
11
11
|
<div class='label'>
|
12
12
|
<%= link_to post.title.titleize, edit_admin_blog_post_path(post) %>
|
13
13
|
<div class='sublabel'>
|
14
|
-
Published <%= time_ago_in_words(post.
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
Published <%= time_ago_in_words(post.created_at) %> ago
|
15
|
+
|
16
|
+
<% if post.author.present? %>
|
17
|
+
by <strong><%= post.author %></strong>
|
18
|
+
<% end %>
|
19
|
+
|
20
|
+
<% if post.tags.count > 0 %>
|
21
|
+
Tagged with:
|
22
|
+
<% post.tags.each do |tag| %>
|
23
|
+
<span class="tag"><%= tag.name %></span>
|
24
|
+
<% end %>
|
19
25
|
<% end %>
|
20
26
|
</div>
|
21
27
|
</div>
|
data/comfy_blog.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "comfy_blog"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Oleg Khabarov", "The Working Group Inc."]
|
12
|
-
s.date = "2012-02-
|
12
|
+
s.date = "2012-02-08"
|
13
13
|
s.description = ""
|
14
14
|
s.email = "oleg@twg.ca"
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comfy_blog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-02-
|
13
|
+
date: 2012-02-08 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
17
|
-
requirement: &
|
17
|
+
requirement: &70142006297860 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: 3.1.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70142006297860
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rails_autolink
|
28
|
-
requirement: &
|
28
|
+
requirement: &70142006285420 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: 1.0.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70142006285420
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: jquery-rails
|
39
|
-
requirement: &
|
39
|
+
requirement: &70142006283080 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ! '>='
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
version: 1.0.0
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *70142006283080
|
48
48
|
description: ''
|
49
49
|
email: oleg@twg.ca
|
50
50
|
executables: []
|
@@ -156,7 +156,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
156
156
|
version: '0'
|
157
157
|
segments:
|
158
158
|
- 0
|
159
|
-
hash:
|
159
|
+
hash: 3837321012385897029
|
160
160
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
161
|
none: false
|
162
162
|
requirements:
|