Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make generator work.

  • Loading branch information...
commit 7174f34b6aac157e79e40746d6723e517a12d63f 1 parent 536583b
@ugisozols ugisozols authored
View
8 lib/generators/refinerycms_search_generator.rb
@@ -1,8 +0,0 @@
-require 'refinery/generators'
-
-class RefinerycmsSearchGenerator < ::Refinery::Generators::EngineInstaller
-
- source_root File.expand_path('../../../', __FILE__)
- engine_name "search"
-
-end
View
10 lib/generators/search_generator.rb
@@ -0,0 +1,10 @@
+require 'refinery/generators'
+
+module Refinery
+ class SearchGenerator < ::Refinery::Generators::EngineInstaller
+
+ source_root File.expand_path('../../../', __FILE__)
+ engine_name "search"
+
+ end
+end
View
2  lib/refinerycms-search.rb
@@ -1,3 +1,5 @@
+require File.expand_path('../generators/search_generator', __FILE__)
+
module Refinery
module Search
class Engine < Rails::Engine
View
9 refinerycms-search.gemspec
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|
s.name = %q{refinerycms-search}
s.version = %q{2.0.0}
- s.date = %q{2011-08-23}
+ s.date = %q{2011-09-07}
s.summary = %q{Extra search handling for Refinery CMS}
s.description = %q{Provides extra functionality for searching your frontend website using Refinery CMS.}
s.homepage = %q{http://refinerycms.com}
@@ -33,8 +33,15 @@ Gem::Specification.new do |s|
'config/locales/bg.yml',
'config/locales/en.yml',
'config/routes.rb',
+ 'db',
+ 'db/migrate',
+ 'db/migrate/01_create_search_page.rb',
+ 'db/seeds',
+ 'db/seeds/refinerycms_search.rb',
'lib',
'lib/gemspec.rb',
+ 'lib/generators',
+ 'lib/generators/search_generator.rb',
'lib/refinerycms-search.rb',
'readme.md',
'refinerycms-search.gemspec'
Please sign in to comment.
Something went wrong with that request. Please try again.