Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

eliminate 'run_after' and 'run_before' and rely on order of input to …

…set execution order of recipes
  • Loading branch information...
commit 478a94fb1caad90b82f43c06ad3cb3ed8de07900 1 parent b6575a8
@fortuity fortuity authored
View
3  lib/rails_wizard/template.rb
@@ -18,7 +18,8 @@ def render(template_name, binding = nil); self.class.render(template_name, bindi
def resolve_recipes
- @resolve_recipes ||= recipes_with_dependencies.sort
+ # @resolve_recipes ||= recipes_with_dependencies.sort
+ @resolve_recipes ||= recipes_with_dependencies
end
def recipe_classes
View
1  recipes/action_mailer.rb
@@ -37,6 +37,5 @@
description: "Configure ActionMailer to show errors during development and suppress failures when the app is deployed to production."
author: fortuity
-run_after: [mongoid]
category: other
tags: [utilities, configuration]
View
1  recipes/add_user_name.rb
@@ -71,6 +71,5 @@
author: fortuity
requires: [devise]
-run_after: [devise]
category: other
tags: [utilities, configuration]
View
1  recipes/application_layout.rb
@@ -39,6 +39,5 @@
description: "Add a default application layout with flash messages."
author: fortuity
-run_after: [css_setup]
category: other
tags: [utilities, configuration]
View
1  recipes/ban_spiders.rb
@@ -15,6 +15,5 @@
description: "Ban spiders from the site by changing robots.txt."
author: fortuity
-run_after: [cleanup]
category: other
tags: [utilities, configuration]
View
1  recipes/cleanup.rb
@@ -30,6 +30,5 @@
description: "Remove unnecessary files left over from generating a new Rails app."
author: fortuity
-run_after: [devise_navigation]
category: other
tags: [utilities, configuration]
View
1  recipes/css_setup.rb
@@ -36,6 +36,5 @@
description: "Add a stylesheet with styles for a horizontal menu and flash messages."
author: fortuity
-run_after: [users_page]
category: other
tags: [utilities, configuration]
View
1  recipes/cucumber.rb
@@ -59,7 +59,6 @@
description: "Use Cucumber for integration testing with Capybara."
author: fortuity
-run_after: [rspec]
exclusive: acceptance_testing
category: testing
tags: [acceptance]
View
2  recipes/devise.rb
@@ -31,7 +31,5 @@
description: Utilize Devise for authentication, automatically configured for your selected ORM.
author: fortuity
-run_after: [action_mailer]
-run_before: [add_user_name, devise_navigation, home_page_users, seed_database, users_page]
category: authentication
exclusive: authentication
View
3  recipes/devise_navigation.rb
@@ -90,7 +90,6 @@
description: "Add navigation links for Devise."
author: fortuity
-requires: [devise, application_layout]
-run_after: [application_layout]
+requires: [devise]
category: other
tags: [utilities, configuration]
View
1  recipes/haml.rb
@@ -10,6 +10,5 @@
description: "Utilize HAML for templating."
author: fortuity
-run_after: [jquery]
category: templating
exclusive: templating
View
1  recipes/home_page.rb
@@ -39,6 +39,5 @@
description: "Create a simple home page (with a home controller and view)."
author: fortuity
-run_after: [add_user_name]
category: other
tags: [utilities, configuration]
View
1  recipes/home_page_users.rb
@@ -46,6 +46,5 @@ def index
author: fortuity
requires: [devise]
-run_after: [home_page]
category: other
tags: [utilities, configuration]
View
1  recipes/jquery.rb
@@ -32,7 +32,6 @@
description: "Adds the latest jQuery and Rails UJS helpers for jQuery."
author: fortuity
-run_after: [git]
exclusive: javascript_framework
category: assets
tags: [javascript, framework]
View
1  recipes/mongoid.rb
@@ -22,7 +22,6 @@
description: "Utilize MongoDB with Mongoid as the ORM."
author: fortuity
-run_after: [cucumber]
category: persistence
exclusive: orm
tags: [orm, mongodb]
View
1  recipes/rspec.rb
@@ -78,7 +78,6 @@
description: "Use RSpec for unit testing for this Rails app."
author: fortuity
-run_after: [haml]
exclusive: unit_testing
category: testing
View
1  recipes/seed_database.rb
@@ -31,6 +31,5 @@
author: fortuity
requires: [devise]
-run_after: [home_page_users]
category: other
tags: [utilities, configuration]
View
1  recipes/users_page.rb
@@ -99,6 +99,5 @@ def index
author: fortuity
requires: [devise]
-run_after: [seed_database]
category: other
tags: [utilities, configuration]
Please sign in to comment.
Something went wrong with that request. Please try again.