lib/potassium/recipes/background_processor.rb in potassium-5.1.1 vs lib/potassium/recipes/background_processor.rb in potassium-5.1.2
- old
+ new
@@ -30,10 +30,10 @@
gather_gem("sidekiq")
add_adapters("sidekiq")
add_readme_section :internal_dependencies, :sidekiq
edit_procfile("bundle exec sidekiq")
append_to_file(".env.development", "DB_POOL=25\n")
- copy_file("../assets/sidekiq.rb", "config/initializers/sidekiq.rb", force: true)
+ template("../assets/sidekiq.rb.erb", "config/initializers/sidekiq.rb", force: true)
copy_file("../assets/sidekiq.yml", "config/sidekiq.yml", force: true)
copy_file("../assets/redis.yml", "config/redis.yml", force: true)
insert_into_file "config/routes.rb", after: "Rails.application.routes.draw do\n" do
<<-HERE.gsub(/^ {6}/, '')