diff options
author | Philip Arndt <parndt@gmail.com> | 2010-08-26 21:36:48 +1200 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2010-08-26 21:36:48 +1200 |
commit | 23d647243813c45b759f5dda418dfa6c583f3e37 (patch) | |
tree | da6d236db1080b5b2d28d46b1d32590b3969203b | |
parent | 2a8e663495fd196286925717aa78c72e1f217a3f (diff) | |
download | refinerycms-blog-23d647243813c45b759f5dda418dfa6c583f3e37.tar.gz refinerycms-blog-23d647243813c45b759f5dda418dfa6c583f3e37.tar.bz2 refinerycms-blog-23d647243813c45b759f5dda418dfa6c583f3e37.zip |
Time for an RC
-rw-r--r-- | generators/refinery_blog/refinery_blog_generator.rb | 8 | ||||
-rw-r--r-- | lib/refinerycms-blog.rb | 2 | ||||
-rw-r--r-- | 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 |