effective_posts 1.0.4 → 1.0.5
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 +4 -4
- data/app/controllers/effective/posts_controller.rb +1 -1
- data/app/views/effective/posts/_layout.html.haml +3 -5
- data/app/views/effective/posts/_sidebar.html.haml +1 -4
- data/app/views/effective/posts/index.html.haml +2 -0
- data/config/effective_posts.rb +1 -1
- data/lib/effective_posts/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e0eec3e6a32e1affb92e615361fc98b4b6f6a8c5
|
|
4
|
+
data.tar.gz: b345a2785a5fbcc14688e3af0b6588d69775e9a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f5ac34eb09a891613a4749206bd6f5036b1b98a53bf523e8dfee6666f22346f70e0f942facce107c1bad1744c25b262cde8a6773ec22702d5e321e00bb9f62c
|
|
7
|
+
data.tar.gz: bc687e467cd2bf0ce31d5d6be43d15ac542315447893adeb693d4cc37cd6f4fff7dfe5cc3878a879f818d65258e8ceaad77af455f9e1f9d97e52b6374c21f99e
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
- posts = recent_posts(category: nil, limit: 5)
|
|
2
|
-
%h4.dashboard-title About
|
|
3
|
-
%p.mb-5
|
|
4
|
-
Welcome to the Tadum blog, where you can learn how to build a culture of high-value meetings.
|
|
5
2
|
|
|
6
3
|
- if EffectivePosts.categories.present?
|
|
7
4
|
- categories = EffectivePosts.categories
|
|
@@ -13,7 +10,7 @@
|
|
|
13
10
|
%li= link_to category.to_s.titleize, effective_post_category_path(category)
|
|
14
11
|
|
|
15
12
|
- posts = recent_posts(category: nil, limit: 5)
|
|
16
|
-
%h4.dashboard-title Recent
|
|
13
|
+
%h4.dashboard-title Recent
|
|
17
14
|
%ul.list-unstyled
|
|
18
15
|
- posts.each do |post|
|
|
19
16
|
%li= link_to post, effective_post_path(post)
|
data/config/effective_posts.rb
CHANGED
|
@@ -19,7 +19,7 @@ EffectivePosts.setup do |config|
|
|
|
19
19
|
# /blog is posts#index
|
|
20
20
|
# /blog/category/announcements is posts#index?category=announcements
|
|
21
21
|
# /blog/1-post-title is posts#show
|
|
22
|
-
config.use_blog_routes =
|
|
22
|
+
config.use_blog_routes = true
|
|
23
23
|
|
|
24
24
|
# Number of posts displayed per page (Kaminari)
|
|
25
25
|
config.per_page = 10
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_posts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-04-
|
|
11
|
+
date: 2019-04-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|