adding rails engine stuff
Oleg
committed Oct 14, 2010
commit 43f0e310f581070fa88401f7a5f6c6ee7725a94e
Showing 3
changed files with
12 additions
and 1 deletions
comfortable_mexican_sofa.gemspec
+1
-1
| @@ | @@ -9,7 +9,7 @@ Gem::Specification.new do |s| |
| s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | |
| s.authors = ["Oleg Khabarov", "The Working Group Inc"] | |
| - | s.date = %q{2010-10-13} |
| + | s.date = %q{2010-10-14} |
| s.description = %q{} | |
| s.email = %q{oleg@theworkinggroup.ca} | |
| s.extra_rdoc_files = [ | |
comfortable_mexican_sofa.rb b/lib/comfortable_mexican_sofa.rb
+4
-0
| @@ | @@ -1,3 +1,7 @@ |
| + | if defined?(Rails) && Rails::VERSION::MAJOR == 3 |
| + | require File.expand_path('comfortable_mexican_sofa/cms_engine', File.dirname(__FILE__)) |
| + | end |
| + | |
| [ 'comfortable_mexican_sofa/cms_rails_extensions', | |
| 'comfortable_mexican_sofa/cms_form_builder', | |
| 'comfortable_mexican_sofa/cms_acts_as_tree', | |
comfortable_mexican_sofa/cms_engine.rb b/lib/comfortable_mexican_sofa/cms_engine.rb
+7
-0
| @@ | @@ -0,0 +1,7 @@ |
| + | require 'comfortable_mexican_sofa' |
| + | require 'rails' |
| + | |
| + | class ComfortableMexicanSofa::CMSEngine < ::Rails::Engine |
| + | |
| + | end |
| + | |