Skip to content

Commit

Permalink
Refactor generators 'engine' into lib/refinery
Browse files Browse the repository at this point in the history
This is a more appropriate place for the core generators for the refinerycms project to live. The
generators engine wasn't really an engine to begin with, just a collection of core generators used
to create, update, or modify installations of refinery
  • Loading branch information
Jamie Winsor committed Sep 8, 2011
1 parent f6856fd commit b9e1c8b
Show file tree
Hide file tree
Showing 57 changed files with 293 additions and 449 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ gemspec
# Anything you put in here will be overridden when the app gets updated.

# gem 'refinerycms', '~> 2.0.0'
gem 'seo_meta', :git => 'git://github.com/parndt/seo_meta.git'

# END REFINERY CMS ============================================================

Expand Down
12 changes: 8 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ GIT
refinerycms-core (~> 2.0.0)
routing-filter (>= 0.2.3)

GIT
remote: git://github.com/parndt/seo_meta.git
revision: 151e1e83a3bb6607f6191be5410b0bec1bebe93f
specs:
seo_meta (1.2.0.rc1)
rails (>= 3.0.0)

PATH
remote: .
specs:
Expand Down Expand Up @@ -33,15 +40,13 @@ PATH
jquery-rails
rails (~> 3.1.0)
refinerycms-base (= 2.0.0)
refinerycms-generators (= 2.0.0)
refinerycms-settings (= 2.0.0)
sass-rails (~> 3.1.0)
truncate_html (~> 0.5)
uglifier
will_paginate (~> 3.0)
refinerycms-dashboard (2.0.0)
refinerycms-core (= 2.0.0)
refinerycms-generators (2.0.0)
refinerycms-images (2.0.0)
activerecord (~> 3.1.0)
dragonfly (~> 0.9.0)
Expand Down Expand Up @@ -246,8 +251,6 @@ GEM
ffi (>= 1.0.7)
json_pure
rubyzip
seo_meta (1.2.0.rc1)
refinerycms-generators (~> 2.0)
simplecov (0.4.2)
simplecov-html (~> 0.4.4)
simplecov-html (0.4.5)
Expand Down Expand Up @@ -293,6 +296,7 @@ DEPENDENCIES
refinerycms-i18n (~> 2.0.0)!
refinerycms-testing (~> 2.0.0)
sass-rails (~> 3.1.0)
seo_meta!
simplecov
spork (= 0.9.0.rc9)
sqlite3
Expand Down
2 changes: 1 addition & 1 deletion authentication/refinerycms-authentication.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Gem::Specification.new do |s|
s.version = %q{2.0.0}
s.summary = %q{Authentication engine for Refinery CMS}
s.description = %q{The default authentication engine for Refinery CMS}
s.date = %q{2011-09-06}
s.date = %q{2011-09-08}
s.email = %q{[email protected]}
s.homepage = %q{http://refinerycms.com}
s.rubyforge_project = %q{refinerycms}
Expand Down
2 changes: 1 addition & 1 deletion base/refinerycms-base.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Gem::Specification.new do |s|
s.version = %q{2.0.0}
s.summary = %q{Base engine for Refinery CMS}
s.description = %q{This provides a base for Refinery CMS which handles things like settings on the Refinery namespace.}
s.date = %q{2011-09-05}
s.date = %q{2011-09-08}
s.email = %q{[email protected]}
s.homepage = %q{http://refinerycms.com}
s.rubyforge_project = %q{refinerycms}
Expand Down
1 change: 0 additions & 1 deletion core/lib/gemspec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
s.add_dependency 'refinerycms-base', '= #{::Refinery::Version}'
s.add_dependency 'refinerycms-settings', '= #{::Refinery::Version}'
s.add_dependency 'refinerycms-generators', '= #{::Refinery::Version}'
s.add_dependency 'acts_as_indexed', '~> 0.7'
s.add_dependency 'friendly_id_globalize3', '~> 3.2.1'
s.add_dependency 'globalize3', '~> 0.2.0.beta3'
Expand Down
1 change: 0 additions & 1 deletion core/lib/refinerycms-core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ module Refinery
# These have to be specified after the autoload to correct load issues on some systems.
# As per commit 12af0e3e83a147a87c97bf7b29f343254c5fcb3c
require 'refinerycms-base'
require 'refinerycms-generators'
require 'refinerycms-settings'
require 'rails/generators'
require 'rails/generators/migration'
Expand Down
4 changes: 2 additions & 2 deletions core/refinerycms-core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Gem::Specification.new do |s|
s.version = %q{2.0.0}
s.summary = %q{Core engine for Refinery CMS}
s.description = %q{The core of Refinery CMS. This handles the common functionality and is required by most engines}
s.date = %q{2011-09-06}
s.date = %q{2011-09-08}
s.email = %q{[email protected]}
s.homepage = %q{http://refinerycms.com}
s.rubyforge_project = %q{refinerycms}
Expand All @@ -17,7 +17,6 @@ Gem::Specification.new do |s|

s.add_dependency 'refinerycms-base', '= 2.0.0'
s.add_dependency 'refinerycms-settings', '= 2.0.0'
s.add_dependency 'refinerycms-generators', '= 2.0.0'
s.add_dependency 'acts_as_indexed', '~> 0.7'
s.add_dependency 'friendly_id_globalize3', '~> 3.2.1'
s.add_dependency 'globalize3', '~> 0.2.0.beta3'
Expand Down Expand Up @@ -216,6 +215,7 @@ Gem::Specification.new do |s|
'app/assets/javascripts/wymeditor',
'app/assets/javascripts/wymeditor/jquery.refinery.wymeditor.js',
'app/assets/javascripts/wymeditor/lang',
'app/assets/javascripts/wymeditor/lang/bg.js',
'app/assets/javascripts/wymeditor/lang/ca.js',
'app/assets/javascripts/wymeditor/lang/cs.js',
'app/assets/javascripts/wymeditor/lang/da.js',
Expand Down
2 changes: 1 addition & 1 deletion dashboard/refinerycms-dashboard.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Gem::Specification.new do |s|
s.version = %q{2.0.0}
s.summary = %q{Dashboard engine for Refinery CMS}
s.description = %q{The dashboard is usually the first engine the user sees in the backend of Refinery CMS. It displays useful information and contains links to common functionality.}
s.date = %q{2011-09-06}
s.date = %q{2011-09-08}
s.email = %q{[email protected]}
s.homepage = %q{http://refinerycms.com}
s.rubyforge_project = %q{refinerycms}
Expand Down
4 changes: 0 additions & 4 deletions generators/readme.md → doc/generators.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# RefineryCMS Generators

## Dependencies

This version is targeted at RefineryCMS versions 2.0.0 and higher.

## Engine Generator

The Refinery generator is a standard Rails generator that functions just like the
Expand Down
33 changes: 0 additions & 33 deletions generators/lib/gemspec.rb

This file was deleted.

157 changes: 0 additions & 157 deletions generators/lib/generators/refinery/engine/engine_generator.rb

This file was deleted.

5 changes: 0 additions & 5 deletions generators/lib/refinery/generators.rb

This file was deleted.

51 changes: 0 additions & 51 deletions generators/lib/refinerycms-generators.rb

This file was deleted.

Loading

0 comments on commit b9e1c8b

Please sign in to comment.