From 23d647243813c45b759f5dda418dfa6c583f3e37 Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Thu, 26 Aug 2010 21:36:48 +1200 Subject: Time for an RC --- .../refinery_blog/refinery_blog_generator.rb | 8 +++++-- lib/refinerycms-blog.rb | 2 +- refinerycms-blog.gemspec | 27 +++++++++++++++++++--- 3 files changed, 31 insertions(+), 6 deletions(-) diff --git a/generators/refinery_blog/refinery_blog_generator.rb b/generators/refinery_blog/refinery_blog_generator.rb index 7bd4454..524868b 100644 --- a/generators/refinery_blog/refinery_blog_generator.rb +++ b/generators/refinery_blog/refinery_blog_generator.rb @@ -13,7 +13,11 @@ class RefineryBlogGenerator < Rails::Generator::NamedBase def manifest record do |m| if Rails.version < '3.0.0' - matches = Dir[File.expand_path('../../../public/images/**/*', __FILE__)] + matches = Dir[ + File.expand_path('../../../public/images/**/*', __FILE__), + File.expand_path('../../../public/stylesheets/**/*', __FILE__), + File.expand_path('../../../public/javascripts/**/*', __FILE__), + ] matches.reject{|d| !File.directory?(d)}.each do |dir| m.directory((%w(public) | dir.split('public/').last.split('/')).join('/')) end @@ -22,7 +26,7 @@ class RefineryBlogGenerator < Rails::Generator::NamedBase m.template "../../../#{path}/#{image.split('/').last}", "#{path}/#{image.split('/').last}" end end - + m.template('seed.rb', 'db/seeds/refinerycms_blog.rb') m.migration_template('migration.rb', 'db/migrate', diff --git a/lib/refinerycms-blog.rb b/lib/refinerycms-blog.rb index 32b58a7..c33493e 100644 --- a/lib/refinerycms-blog.rb +++ b/lib/refinerycms-blog.rb @@ -2,7 +2,7 @@ module Refinery module Blog class << self def version - %q{0.9.8.dev2} + %q{0.9.8.rc1} end end end diff --git a/refinerycms-blog.gemspec b/refinerycms-blog.gemspec index bd1a005..740fdf3 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{0.9.8.dev2} + s.version = %q{0.9.8.rc1} s.description = %q{A really straightforward open source Ruby on Rails blog engine designed for integration with RefineryCMS.} - s.date = %q{2010-08-18} + s.date = %q{2010-08-26} s.summary = %q{Ruby on Rails blogging engine for RefineryCMS.} s.email = %q{info@refinerycms.com} s.homepage = %q{http://refinerycms.com} @@ -30,6 +30,12 @@ Gem::Specification.new do |s| app/views/admin/blog app/views/admin/blog/_submenu.html.erb app/views/admin/blog/categories + app/views/admin/blog/categories/_category.html.erb + app/views/admin/blog/categories/_form.html.erb + app/views/admin/blog/categories/_sortable_list.html.erb + app/views/admin/blog/categories/edit.html.erb + app/views/admin/blog/categories/index.html.erb + app/views/admin/blog/categories/new.html.erb app/views/admin/blog/comments app/views/admin/blog/comments/index.html.erb app/views/admin/blog/posts @@ -42,6 +48,7 @@ Gem::Specification.new do |s| app/views/admin/blog/settings app/views/admin/blog/settings/notification_recipients.html.erb app/views/blog_posts + app/views/blog_posts/_side_bar.html.erb app/views/blog_posts/index.html.erb app/views/blog_posts/show.html.erb config @@ -63,9 +70,23 @@ Gem::Specification.new do |s| public/images public/images/refinerycms-blog public/images/refinerycms-blog/icons + public/images/refinerycms-blog/icons/cog.png + public/images/refinerycms-blog/icons/comment.png + public/images/refinerycms-blog/icons/comment_cross.png + public/images/refinerycms-blog/icons/comment_tick.png + public/images/refinerycms-blog/icons/comments.png + public/images/refinerycms-blog/icons/folder.png + public/images/refinerycms-blog/icons/folder_add.png + public/images/refinerycms-blog/icons/folder_edit.png + public/images/refinerycms-blog/icons/page.png + public/images/refinerycms-blog/icons/page_add.png + public/images/refinerycms-blog/icons/page_copy.png public/javascripts - public/javascripts/refinerycms-blog.js + public/javascripts/refinery + public/javascripts/refinery/refinerycms-blog.js public/stylesheets + public/stylesheets/refinery + public/stylesheets/refinery/refinerycms-blog.css public/stylesheets/refinerycms-blog.css rails rails/init.rb -- cgit v1.2.3