blog-gem 0.1.3 → 0.1.4

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
2
  SHA1:
3
- metadata.gz: 218df1cb302916056d83762647758e8a15bc6d5a
4
- data.tar.gz: 568ee11a471c494364a0c6c7c4d74f1f7e28b66f
3
+ metadata.gz: 3c8be1e8a9b818f43d06abb0b07621dc08861e22
4
+ data.tar.gz: a162c1a89fabe91d31115580f481f64487e2cbc4
5
5
  SHA512:
6
- metadata.gz: 4c46f626cbdc4377ffd12c646c4523e3ccb15e7dd440d3ed851a1ef2ad09682d2b197f0402fbf04a631e68204f96b38572474ced5f99b623aa879dc10b5f3460
7
- data.tar.gz: de5ba528f977dfb55b2ddfbe6a348a9f39fc1c28484b792c76a43901134b3d8bad3698884ebf4c630287352c22aae17b9b4ec851fa8fe0721bc1e561804d3823
6
+ metadata.gz: 3a815ebbfb453880d2af5d1050df5f2be3646d9c3e4fc629435a0dc20e808bd4cac4b8f0c01bc77e55ce7c585f0b15b120b4b1a2ded88eafedae4ad451207e22
7
+ data.tar.gz: 86c06fe8d14940efae29d11974e604630807e93d53013e9bc1ff2e1343842749ce3c5bfe231c62d118a10c4a0feae0f2bb2e81c28e6d5c2c4d296f94d8b1e973
data/README.md CHANGED
@@ -86,7 +86,7 @@ Blog::Gem.setup do |config|
86
86
  config.archive_count = 13
87
87
  config.home_posts_count = 6
88
88
  config.tags_count = 24
89
- config.widget_posts_count = 6
89
+ config.widget_posts_count = 8
90
90
  config.path = "/blog"
91
91
  config.image_path = "/uploads"
92
92
  config.title_enable = true
@@ -1,6 +1,6 @@
1
1
  h2 = link_to post.title, post.to_path
2
2
  - if post.published_at > Time.now
3
- .alert
3
+ .alert.alert-warning
4
4
  h4 Warning!
5
5
  h5 = "This post will published at #{l(post.published_at)}"
6
6
  .blog-meta.clearfix
@@ -4,7 +4,7 @@
4
4
  = f.input :teaser, input_html: {rows: 5}
5
5
  = f.input :tag_list, input_html: {value: @post.tag_list.join(", ")}
6
6
  = f.input :published_at
7
- = f.input :category_id, collection: Blog::Gem.categories.each_with_index.map{ |c, i| [c.humanize, i] }
7
+ = f.input :category_id, collection: Blog::Gem.categories.map{ |name, id| [name.humanize, id] }
8
8
  = f.input :show_author
9
9
  = f.input :thumbnail
10
10
  - if @post.thumbnail.present?
data/config/routes.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  Blog::Gem::Engine.routes.draw do
2
2
 
3
3
  get "/" => "blog#index", as: :blogs
4
+ get "/feed.atom" => "blog#index", as: :blog_feed
4
5
 
5
6
  get "/tag/:tag" => "blog#index", as: :blog_tag
6
7
  get "/category/:category" => "blog#index", as: :blog_category
@@ -1,5 +1,5 @@
1
1
  module Blog
2
2
  module Gem
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blog-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Thelang