From 61f77b1dcd1d5fb18ada2c9a739557ef6c49a910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Mon, 18 Jan 2010 15:04:39 +0100 Subject: More cleaning up on rails generators load path. --- .../lib/generators/active_record/fixjour/fixjour_generator.rb | 8 -------- .../fixtures/lib/generators/active_record/fixjour_generator.rb | 8 ++++++++ .../test/fixtures/lib/generators/rails/javascripts_generator.rb | 4 ---- railties/test/fixtures/lib/generators/wrong_generator.rb | 3 +++ 4 files changed, 11 insertions(+), 12 deletions(-) delete mode 100644 railties/test/fixtures/lib/generators/active_record/fixjour/fixjour_generator.rb create mode 100644 railties/test/fixtures/lib/generators/active_record/fixjour_generator.rb delete mode 100644 railties/test/fixtures/lib/generators/rails/javascripts_generator.rb create mode 100644 railties/test/fixtures/lib/generators/wrong_generator.rb (limited to 'railties/test/fixtures/lib') diff --git a/railties/test/fixtures/lib/generators/active_record/fixjour/fixjour_generator.rb b/railties/test/fixtures/lib/generators/active_record/fixjour/fixjour_generator.rb deleted file mode 100644 index a7d079a1bc..0000000000 --- a/railties/test/fixtures/lib/generators/active_record/fixjour/fixjour_generator.rb +++ /dev/null @@ -1,8 +0,0 @@ -require 'rails/generators/active_record' - -module ActiveRecord - module Generators - class FixjourGenerator < Base - end - end -end diff --git a/railties/test/fixtures/lib/generators/active_record/fixjour_generator.rb b/railties/test/fixtures/lib/generators/active_record/fixjour_generator.rb new file mode 100644 index 0000000000..7a4edb8bcb --- /dev/null +++ b/railties/test/fixtures/lib/generators/active_record/fixjour_generator.rb @@ -0,0 +1,8 @@ +require 'generators/active_record' + +module ActiveRecord + module Generators + class FixjourGenerator < Base + end + end +end diff --git a/railties/test/fixtures/lib/generators/rails/javascripts_generator.rb b/railties/test/fixtures/lib/generators/rails/javascripts_generator.rb deleted file mode 100644 index cad5e96784..0000000000 --- a/railties/test/fixtures/lib/generators/rails/javascripts_generator.rb +++ /dev/null @@ -1,4 +0,0 @@ -module Rails::Generators - class JavascriptsGenerator < Rails::Generators::NamedBase - end -end diff --git a/railties/test/fixtures/lib/generators/wrong_generator.rb b/railties/test/fixtures/lib/generators/wrong_generator.rb new file mode 100644 index 0000000000..6aa7cb052e --- /dev/null +++ b/railties/test/fixtures/lib/generators/wrong_generator.rb @@ -0,0 +1,3 @@ +# Old generator version +class WrongGenerator < Rails::Generator::NamedBase +end -- cgit v1.2.3