wheelhouse-blog 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 59627cfdc613fe35ccea320cf56dc326836acb55
4
- data.tar.gz: ad04d5d983808d2ac51fe44ca878f274b3d5ee2b
2
+ SHA256:
3
+ metadata.gz: 464e480761973f79a0c3779ac0fcd818fccdb58a2fdfc322a91d818a3fd92d75
4
+ data.tar.gz: 2f0d41d27d6b52a6ff141a41992aaf65dda4ee49cfb17246347d2bb2242db719
5
5
  SHA512:
6
- metadata.gz: 81860936c6c180d903fb3868f9766447c8aa8d2346f9f7b185b197155a976d67cd4441c46e8e27ec36b5402e49d0ae399a330d161adc542ce850898d5fac9cd2
7
- data.tar.gz: fc0b199f4f9f837c49affa13be098cf2536f56482d8135a0adc4e020b324093c355b7f8b01f337b0d82ae21caaad1a27376f1b9edb0c098fd8cc6f958e8580af
6
+ metadata.gz: 6b6161e5ae1a1f26f1d5966ba9565afc4c637775f9ba32fa2746f627c7794ebb15299e432be7bb683eba15a6bd8b5db2fcace18cda19c2c7c4ad7703f8570203
7
+ data.tar.gz: f4a1fda1e534004af77e1b99cd3c3804f50923b9df29357e0b6000a9aafc73a814953c93fb8a06b67801fff4809c035dab658db395340852d851b39ec3d5fd77
@@ -2,7 +2,7 @@
2
2
 
3
3
  #blog-posts
4
4
  +orange-table
5
-
5
+
6
6
  .published-at
7
7
  text-align: center
8
8
 
@@ -17,14 +17,14 @@ td.published-at
17
17
  small
18
18
  display: block
19
19
  font-size: 90%
20
-
20
+
21
21
  #blog-categories
22
- +clearfix
23
-
22
+ overflow: hidden
23
+
24
24
  label
25
25
  font-weight: normal
26
26
  color: lighten(#4e6573, 10%)
27
-
27
+
28
28
  li
29
29
  margin-top: 0
30
30
  margin-bottom: 3px
@@ -33,7 +33,7 @@ td.published-at
33
33
  label
34
34
  width: 40%
35
35
  line-height: 2.5
36
-
36
+
37
37
  input[type="text"]
38
38
  width: 4em
39
39
  float: left
@@ -1,5 +1,5 @@
1
1
  class Blog::PostsController < Wheelhouse::ResourceController
2
- belongs_to :blog, :class_name => Blog::Blog
2
+ belongs_to :blog, :class_name => "Blog::Blog"
3
3
  defaults :resource_class => Blog::Post, :collection_name => :all_posts
4
4
 
5
5
  manage_site_breadcrumb
@@ -0,0 +1 @@
1
+ = render :partial => "post", :collection => @posts
@@ -2,4 +2,4 @@
2
2
  - breadcrumb @archive.format
3
3
 
4
4
  = render :layout => "layout", :locals => { :description => "Posts from: #{@archive.format}" } do
5
- = render :partial => "post", :collection => @posts
5
+ = render "list"
@@ -2,4 +2,4 @@
2
2
  - breadcrumb "Category: #{params[:category].titlecase}"
3
3
 
4
4
  = render :layout => "layout", :locals => { :description => "Posts in category: #{params[:category].titlecase}" } do
5
- = render :partial => "post", :collection => @posts
5
+ = render "list"
@@ -3,4 +3,4 @@
3
3
  - title @blog.title
4
4
 
5
5
  = render :layout => "layout" do
6
- = render :partial => "post", :collection => @posts
6
+ = render "list"
@@ -2,4 +2,4 @@
2
2
  - breadcrumb "Tag: #{params[:tag]}"
3
3
 
4
4
  = render :layout => "layout", :locals => { :description => "Posts tagged: #{params[:tag]}" } do
5
- = render :partial => "post", :collection => @posts
5
+ = render "list"
@@ -10,7 +10,7 @@ module Blog
10
10
  # Enable blog sections by default
11
11
  config.wheelhouse.blog.sections = true
12
12
 
13
- config.precompile << "wheelhouse-blog/admin.*"
13
+ config.precompile << "wheelhouse-blog/admin.*" << "wheelhouse-blog/*.png"
14
14
 
15
15
  isolate_namespace Blog
16
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wheelhouse-blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Pohlenz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-07 00:00:00.000000000 Z
11
+ date: 2018-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: wheelhouse
@@ -77,6 +77,7 @@ files:
77
77
  - app/models/blog/tag.rb
78
78
  - app/models/blog/taxonomy.rb
79
79
  - app/templates/blog/_layout.html.haml
80
+ - app/templates/blog/_list.html.haml
80
81
  - app/templates/blog/_post.html.haml
81
82
  - app/templates/blog/archive.html.haml
82
83
  - app/templates/blog/category.html.haml
@@ -111,9 +112,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
112
  version: 1.3.6
112
113
  requirements: []
113
114
  rubyforge_project:
114
- rubygems_version: 2.4.6
115
+ rubygems_version: 2.7.3
115
116
  signing_key:
116
117
  specification_version: 4
117
118
  summary: Wheelhouse CMS Blog Plugin
118
119
  test_files: []
119
- has_rdoc: