aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2010-11-22 15:23:25 +1300
committerPhilip Arndt <parndt@gmail.com>2010-11-22 15:26:53 +1300
commite5b9af1054bbd259bde0265acf4386cdaab0ca41 (patch)
treea5a89e83d262aab943c7e3f5d22dc52788de24d8 /lib
parentebb4c59cef0eb4e89700275e23579ca6dd18d619 (diff)
parent6d94a0ba7b781f93519183c96bbc718465dccdb4 (diff)
downloadrefinerycms-blog-e5b9af1054bbd259bde0265acf4386cdaab0ca41.tar.gz
refinerycms-blog-e5b9af1054bbd259bde0265acf4386cdaab0ca41.tar.bz2
refinerycms-blog-e5b9af1054bbd259bde0265acf4386cdaab0ca41.zip
Merged in Joe's and Steven's forks and updated for compatibility with < 0.9.9. Also, specs now work by including the factories and I have also laid the foundation for cucumber features. Fixed an issue where the javascript file was clashing with the same code we merged to core from this engine relating to submenus. Regenerated gemspec.
Diffstat (limited to 'lib')
-rw-r--r--lib/generators/refinerycms_blog/templates/db/migrate/migration_number_create_singular_name.rb (renamed from lib/generators/refinery_blog/templates/db/migrate/migration_number_create_singular_name.rb)0
-rw-r--r--lib/generators/refinerycms_blog/templates/db/seeds/seed.rb (renamed from lib/generators/refinery_blog/templates/db/seeds/seed.rb)0
-rw-r--r--lib/generators/refinerycms_blog_generator.rb (renamed from lib/generators/refinery_blog_generator.rb)4
3 files changed, 2 insertions, 2 deletions
diff --git a/lib/generators/refinery_blog/templates/db/migrate/migration_number_create_singular_name.rb b/lib/generators/refinerycms_blog/templates/db/migrate/migration_number_create_singular_name.rb
index badb213..badb213 100644
--- a/lib/generators/refinery_blog/templates/db/migrate/migration_number_create_singular_name.rb
+++ b/lib/generators/refinerycms_blog/templates/db/migrate/migration_number_create_singular_name.rb
diff --git a/lib/generators/refinery_blog/templates/db/seeds/seed.rb b/lib/generators/refinerycms_blog/templates/db/seeds/seed.rb
index f958fab..f958fab 100644
--- a/lib/generators/refinery_blog/templates/db/seeds/seed.rb
+++ b/lib/generators/refinerycms_blog/templates/db/seeds/seed.rb
diff --git a/lib/generators/refinery_blog_generator.rb b/lib/generators/refinerycms_blog_generator.rb
index 4f0cbe6..ba21e9f 100644
--- a/lib/generators/refinery_blog_generator.rb
+++ b/lib/generators/refinerycms_blog_generator.rb
@@ -1,9 +1,9 @@
require 'rails/generators/migration'
-class RefineryBlogGenerator < Rails::Generators::NamedBase
+class RefinerycmsBlogGenerator < Rails::Generators::NamedBase
include Rails::Generators::Migration
- source_root File.expand_path('../refinery_blog/templates/', __FILE__)
+ source_root File.expand_path('../refinerycms_blog/templates/', __FILE__)
argument :name, :type => :string, :default => 'blog_structure', :banner => ''
def generate