go_blog 0.1.10 → 0.2.1
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: 2cf944e4493c1b9ae8768e2dedc83797a20cff83
|
|
4
|
+
data.tar.gz: 884423812b3cb7207cb9e13d32e6696765283fff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 500ee9d2e60c8534714d5eb2f610a7e89659a01e7cc8402e597ceccff777507be4d9199f8670e13d7325733898573b4307a46971c3ddb9a22b61913b0d247a4c
|
|
7
|
+
data.tar.gz: 8475f92d7e1acd64dc715b838ac07de96631a8e99dc6a60d7886ab4d85fd842ac348c527d248a5190627c97e2a27fc7ef9954bda50c5c4a45710ec65db877108
|
|
@@ -14,7 +14,13 @@
|
|
|
14
14
|
</div>
|
|
15
15
|
<h4 class="text-uppercase push-10">
|
|
16
16
|
<%= resource.decorate.link_to_title %></h4>
|
|
17
|
-
<p
|
|
17
|
+
<p>
|
|
18
|
+
<% if resource.teaser.present? %>
|
|
19
|
+
<%= raw resource.text %>
|
|
20
|
+
<% else %>
|
|
21
|
+
<%= raw Truncato.truncate resource.text, max_length: 150, count_tags: false%>
|
|
22
|
+
<% end %>
|
|
23
|
+
</p>
|
|
18
24
|
<div class="btn-group btn-group-sm">
|
|
19
25
|
<!--<a class="btn btn-default" href="javascript:void(0)"><i class="fa fa-share-alt push-5-r"></i> Compartilhar</a>-->
|
|
20
26
|
<%= resource.decorate.link_to_read_more %>
|
|
@@ -11,10 +11,7 @@
|
|
|
11
11
|
<div class="bg-white">
|
|
12
12
|
<section class="content content-boxed">
|
|
13
13
|
<div class="text-center">
|
|
14
|
-
<%= @blog_post.decorate.link_to_author %> - <%=
|
|
15
|
-
<i class="fa fa-clock-o"></i>
|
|
16
|
-
<span><%=pluralize(@blog_post.reading_time, 'minuto')%></span>
|
|
17
|
-
</div></em>
|
|
14
|
+
<%= @blog_post.decorate.link_to_author %> <% if @blog_post.published_at or (current_user and current_user.admin?) %> - <% end %> <%= converte_timestamp(@blog_post.published_at) %> <% if current_user and current_user.admin? %><em>visualizado <%=@blog_post.access_count%> <% end %></em>
|
|
18
15
|
</div>
|
|
19
16
|
<div class="row push-50-t push-50 nice-copy-story">
|
|
20
17
|
<div class="col-sm-8 col-sm-offset-2">
|
data/config/locales/en/en.yml
CHANGED
data/lib/go_blog/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: go_blog
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- João Carlos Ottobboni
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-10-
|
|
11
|
+
date: 2017-10-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: draper
|
|
@@ -38,20 +38,6 @@ dependencies:
|
|
|
38
38
|
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
|
-
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: pg
|
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
|
44
|
-
requirements:
|
|
45
|
-
- - ">="
|
|
46
|
-
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0'
|
|
48
|
-
type: :runtime
|
|
49
|
-
prerelease: false
|
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
-
requirements:
|
|
52
|
-
- - ">="
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: '0'
|
|
55
41
|
description: blog engine
|
|
56
42
|
email:
|
|
57
43
|
- jcottobboni@gmail.com
|