+<% end %>
\ No newline at end of file
diff --git a/app/views/blog/shared/_posts.html.erb b/app/views/blog/shared/_related_posts.html.erb
similarity index 100%
rename from app/views/blog/shared/_posts.html.erb
rename to app/views/blog/shared/_related_posts.html.erb
diff --git a/changelog.md b/changelog.md
index e6415e6..73e07ae 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,16 +1,29 @@
-## 1.6.3 [UNRELEASED]
+## 1.8.0 [UNRELEASED]
+* extraneous shared/_post partial was moved directly into posts/show [nicinabox](https://github.com/nicinabox)
+* blog archive list helper logic refactored (HTML exists in view template) [nicinabox](https://github.com/nicinabox)
+* pretty "Draft" label added to admin list of blog posts [nicinabox](https://github.com/nicinabox)
+* [See full list](https://github.com/resolve/refinerycms-blog/compare/1.7.0...1.8.0)
+
+## 1.7.0 [05 December 2011]
* Bulgarian translations [mirosr](https://github.com/mirosr)
* posts/tagged... params[:tag_name] is optional [joemsak](https://github.com/joemsak)
+* Bug Fix on Categorization relationship: destroying a post produced error because no primary key existed on join table [joemsak](https://github.com/joemsak)
+* Bug fix on archive listing, don't include draft posts [jgrevich](https://github.com/jgrevich)
+* [See full list](https://github.com/resolve/refinerycms-blog/compare/1.6.2...1.7.0)
## 1.6.2 [29 June 2011]
* Custom teaser field to overwrite the automatic truncation of the body [wikyd](https://github.com/wikyd)
* Tagging URL strategy updated again [joemsak](https://github.com/joemsak)
* Tagging bug fixed [ruprict](https://github.com/ruprict)
* Refactored specs [parndt](https://github.com/parndt)
+* * [See full list](https://github.com/resolve/refinerycms-blog/compare/1.6.1...1.6.2)
+
## 1.6.1 [21 June 2011]
* Tagging URL strategy updated for reliability /blog/posts/tagged/ID-name-parameterized [joemsak](https://github.com/joemsak)
* Heroku/PostgreSQL support for autocomplete tags [joemsak](https://github.com/joemsak)
+* [See full list](https://github.com/resolve/refinerycms-blog/compare/1.6...1.6.1)
+
## 1.6 [20 June 2011]
* Category bug fixes and cleanup [wikyd](https://github.com/wikyd)
@@ -20,11 +33,14 @@
* More testing [wakeless](https://github.com/wakeless)
* Tag list autocomplete baked in [joemsak](https://github.com/joemsak)
* Customize the URL of your blog post [wikyd](https://github.com/wikyd)
+* [See full list](https://github.com/resolve/refinerycms-blog/compare/1.5...1.6)
+
## 1.5 [28 May 2011]
* Added Gravatar support. [parndt](https://github.com/parndt)
* Added support for Refinery CMS 1.0.0 and above. [parndt](https://github.com/parndt)
+* [See full list](https://github.com/resolve/refinerycms-blog/compare/1.4...1.5)
## 1.4 [26 May 2011]
@@ -66,4 +82,4 @@
* Rails 3 Support
* Archives
* Categories
-* [See full list](https://github.com/resolve/refinerycms-blog/compare/1.0...1.1)
\ No newline at end of file
+* [See full list](https://github.com/resolve/refinerycms-blog/compare/1.0...1.1)
diff --git a/db/migrate/1_create_blog_structure.rb b/db/migrate/1_create_blog_structure.rb
index a93d2d4..197efb1 100644
--- a/db/migrate/1_create_blog_structure.rb
+++ b/db/migrate/1_create_blog_structure.rb
@@ -30,7 +30,7 @@ class CreateBlogStructure < ActiveRecord::Migration
add_index :blog_categories, :id
- create_table :blog_categories_blog_posts, :id => true do |t|
+ create_table :blog_categories_blog_posts, :id => false do |t|
t.integer :blog_category_id
t.integer :blog_post_id
end
diff --git a/lib/refinery/blog/version.rb b/lib/refinery/blog/version.rb
index 0390414..83ee0f6 100644
--- a/lib/refinery/blog/version.rb
+++ b/lib/refinery/blog/version.rb
@@ -2,8 +2,8 @@ module Refinery
module Blog
class Version
@major = 1
- @minor = 6
- @tiny = 2
+ @minor = 8
+ @tiny = 0
class << self
attr_reader :major, :minor, :tiny
@@ -14,4 +14,4 @@ module Refinery
end
end
end
-end
\ No newline at end of file
+end
diff --git a/readme.md b/readme.md
index 32bf487..bf5cac8 100644
--- a/readme.md
+++ b/readme.md
@@ -12,12 +12,13 @@ Options:
## Requirements
Refinery CMS version 1.0.0 or above.
+Your Rails 3 application should not be called "blog"
## Install
Open up your ``Gemfile`` and add at the bottom this line:
- gem 'refinerycms-blog', '~> 1.6.1'
+ gem 'refinerycms-blog', '~> 1.8.0'
Now, run ``bundle install``
@@ -27,4 +28,4 @@ Next, to install the blog plugin run:
Finally migrate your database and you're done.
- rake db:migrate
\ No newline at end of file
+ rake db:migrate
diff --git a/refinerycms-blog.gemspec b/refinerycms-blog.gemspec
index 51682fb..bcfc586 100644
--- a/refinerycms-blog.gemspec
+++ b/refinerycms-blog.gemspec
@@ -1,8 +1,8 @@
Gem::Specification.new do |s|
s.name = %q{refinerycms-blog}
- s.version = %q{1.6.2}
+ s.version = %q{1.8.0}
s.description = %q{A really straightforward open source Ruby on Rails blog engine designed for integration with RefineryCMS.}
- s.date = %q{2011-06-29}
+ s.date = %q{2011-12-08}
s.summary = %q{Ruby on Rails blogging engine for RefineryCMS.}
s.email = %q{info@refinerycms.com}
s.homepage = %q{http://refinerycms.com/blog}
@@ -99,12 +99,14 @@ Gem::Specification.new do |s|
changelog.md
config
config/locales
+ config/locales/bg.yml
config/locales/cs.yml
config/locales/de.yml
config/locales/en.yml
config/locales/es.yml
config/locales/fr.yml
config/locales/it.yml
+ config/locales/ja.yml
config/locales/nb.yml
config/locales/nl.yml
config/locales/pl.yml
@@ -122,6 +124,7 @@ Gem::Specification.new do |s|
db/migrate/5_add_cached_slugs.rb
db/migrate/6_add_custom_url_field_to_blog_posts.rb
db/migrate/7_add_custom_teaser_field_to_blog_posts.rb
+ db/migrate/8_add_primary_key_to_categorizations.rb
db/seeds
db/seeds/refinerycms_blog.rb
features
@@ -138,6 +141,8 @@ Gem::Specification.new do |s|
features/support/step_definitions/category_steps.rb
features/support/step_definitions/tags_steps.rb
features/tags.feature
+ Gemfile
+ Gemfile.lock
lib
lib/gemspec.rb
lib/generators
@@ -197,6 +202,7 @@ Gem::Specification.new do |s|
spec/models/blog_category_spec.rb
spec/models/blog_comment_spec.rb
spec/models/blog_post_spec.rb
+ todo.md
)
end