+<% 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/config/locales/pt-BR.yml b/config/locales/pt-BR.yml
index 6f7fd2d..856faa1 100644
--- a/config/locales/pt-BR.yml
+++ b/config/locales/pt-BR.yml
@@ -46,6 +46,10 @@ pt-BR:
toggle_advanced_options: Clique aqui para acessar as configurações de meta tag e menu
save_as_draft: Salvar como rascunho
published_at: Data de publicação
+ custom_url: Url customizada
+ custom_url_help: Gere a url para o post do blog a partir dessa ao invés de utilizar o título
+ copy_body: Copiar o Corpo do post para o Teaser
+ copy_body_helper: Copiar o corpo do post para o teaser. Deixe o teaser em branco para deixar o Refinery fazer o teaser automaticamente.
index:
no_items_yet: 'Ainda não há Posts no Blog. Clique em "%{create}" para adicionar o primeiro post.'
uncategorized:
@@ -83,6 +87,7 @@ pt-BR:
moderation: Moderação
update_notified: Quem receberá a notificação?
comments: Comentários
+ teasers: Teasers
blog:
comment_mailer:
notification:
diff --git a/config/locales/ru.yml b/config/locales/ru.yml
index 5ba2a89..aa8ffb0 100644
--- a/config/locales/ru.yml
+++ b/config/locales/ru.yml
@@ -101,6 +101,8 @@ ru:
singular: комментарий
none: нет комментариев
archives: Архивы
+ tags:
+ title: "Теги"
categories:
show:
no_posts: Записей пока нет.
@@ -122,7 +124,12 @@ ru:
add: Написать комментарий
other: Другие записи
filed_in: Категория
+ tagged: Теги
submit: Отправить комментарий
+ name: Имя
+ email: Email
+ message: Сообщение
+ by: Автор
archive:
blog_archive_for: 'Архив %{date}'
no_blog_articles_posted: 'Ни одной записи за %{date} не опубликовано. Следите за новостями.'
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/gemspec.rb b/lib/gemspec.rb
index 3562315..ae22184 100644
--- a/lib/gemspec.rb
+++ b/lib/gemspec.rb
@@ -2,7 +2,7 @@
require File.expand_path('../refinery/blog/version', __FILE__)
version = ::Refinery::Blog::Version.to_s
raise "Could not get version so gemspec can not be built" if version.nil?
-files = Dir.glob("**/*").flatten.reject{|f| f =~ %r{.gem$}}
+files = Dir.glob("**/*").flatten.reject{|f| f =~ %r{.(gem|lock)$}}
gemspec = < 1.6.1'
+# You now have two options:
+
+## Take the blue pill and stay on 1.7.x
+
+ gem 'refinerycms-blog', '~> 1.7.0'
+
+## Take the red pill and head up to 1.8.x
+## Where the previous shared/_post.html.erb partial was moved directly into show.html.erb
+## *MEANING:* If you depend on that partial, you'll have to check the changes and merge your customizations back in!
+
+ gem 'refinerycms-blog', '~> 1.8.0'
Now, run ``bundle install``
@@ -27,4 +38,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..5b26649 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{2012-01-19}
s.summary = %q{Ruby on Rails blogging engine for RefineryCMS.}
s.email = %q{info@refinerycms.com}
s.homepage = %q{http://refinerycms.com/blog}
@@ -81,16 +81,16 @@ Gem::Specification.new do |s|
app/views/blog/posts
app/views/blog/posts/_comment.html.erb
app/views/blog/posts/_nav.html.erb
- app/views/blog/posts/_post.html.erb
app/views/blog/posts/archive.html.erb
app/views/blog/posts/index.html.erb
app/views/blog/posts/index.rss.builder
app/views/blog/posts/show.html.erb
app/views/blog/posts/tagged.html.erb
app/views/blog/shared
+ app/views/blog/shared/_archive_list.html.erb
app/views/blog/shared/_categories.html.erb
app/views/blog/shared/_post.html.erb
- app/views/blog/shared/_posts.html.erb
+ app/views/blog/shared/_related_posts.html.erb
app/views/blog/shared/_rss_feed.html.erb
app/views/blog/shared/_tags.html.erb
app/views/shared
@@ -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,7 @@ Gem::Specification.new do |s|
features/support/step_definitions/category_steps.rb
features/support/step_definitions/tags_steps.rb
features/tags.feature
+ Gemfile
lib
lib/gemspec.rb
lib/generators
@@ -197,6 +201,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