Permalink
Browse files

Rename "eycloud_scrolls_on_deploy" to "eycloud_recipes_on_deploy"

  • Loading branch information...
1 parent 4ab5ffa commit 562adbccbe76246d391dd86f32356d8af2a038f1 @drnic committed Mar 27, 2012
Showing with 9 additions and 9 deletions.
  1. +3 −3 scrolls/delayed_job.rb
  2. +1 −1 scrolls/redis.rb
  3. +3 −3 scrolls/resque.rb
  4. +2 −2 scrolls/sidekiq.rb
View
@@ -48,15 +48,15 @@ def delayed_job_admin_authentication
MD
end
-if scroll? "eycloud_scrolls_on_deploy"
+if scroll? "eycloud_recipes_on_deploy"
gem 'eycloud-scroll-delayed_job', :group => :eycloud
end
after_bundler do
generate 'delayed_job'
- if scroll? "eycloud_scrolls_on_deploy"
+ if scroll? "eycloud_recipes_on_deploy"
say_wizard 'Installing deploy hooks to restart delayed_job after deploys'
run "touch deploy/before_restart.rb"
append_file "deploy/before_restart.rb", <<-RUBY
@@ -86,7 +86,7 @@ def delayed_job_admin_authentication
category: worker
tags: [worker,background-tasks]
-run_after: [eycloud_scrolls_on_deploy]
+run_after: [eycloud_recipes_on_deploy]
config:
- admin:
View
@@ -4,7 +4,7 @@
REDIS = Redis.new
RUBY
-if scroll? "eycloud_scrolls_on_deploy"
+if scroll? "eycloud_recipes_on_deploy"
gem 'eycloud-recipe-redis', :group => :eycloud
end
View
@@ -3,7 +3,7 @@
say_wizard 'Applying fix suggested in https://github.com/defunkt/resque/pull/403...'
append_file "Rakefile", "\ntask 'resque:setup' => :environment # for https://github.com/defunkt/resque/pull/403\n"
-if scroll? "eycloud_scrolls_on_deploy"
+if scroll? "eycloud_recipes_on_deploy"
gem 'eycloud-scroll-resque', :group => :eycloud
@@ -28,7 +28,7 @@
ROUTE
end
- if scroll? "eycloud_scrolls_on_deploy"
+ if scroll? "eycloud_recipes_on_deploy"
say_wizard 'Installing deploy hooks to restart resque after deploys'
run "touch deploy/before_restart.rb"
@@ -53,7 +53,7 @@
website: https://github.com/defunkt/resque
requires: [redis]
-run_after: [redis, eycloud_scrolls_on_deploy]
+run_after: [redis, eycloud_recipes_on_deploy]
category: worker
tags: [background, worker]
View
@@ -1,6 +1,6 @@
gem "sidekiq"
-if scroll? "eycloud_scrolls_on_deploy"
+if scroll? "eycloud_recipes_on_deploy"
gem "eycloud-recipe-sidekiq", :group => :eycloud
append_file "deploy/cookbooks/main/recipes/default.rb", <<-RUBY
@@ -20,4 +20,4 @@
tags: [worker,background-tasks]
requires: [redis]
-run_after: [redis, eycloud_scrolls_on_deploy]
+run_after: [redis, eycloud_recipes_on_deploy]

0 comments on commit 562adbc

Please sign in to comment.