lib/generators/dockerfile_generator.rb in dockerfile-rails-1.6.19 vs lib/generators/dockerfile_generator.rb in dockerfile-rails-1.6.20
- old
+ new
@@ -15,11 +15,11 @@
"compose" => false,
"fullstaq" => false,
"gemfile-updates" => true,
"jemalloc" => false,
"label" => {},
- "link" => true,
+ "link" => false,
"litefs" => false,
"lock" => true,
"max-idle" => nil,
"migrate" => "",
"mysql" => false,
@@ -115,11 +115,11 @@
end
class_option :ci, type: :boolean, default: OPTION_DEFAULTS.ci,
desc: "include test gems in bundle"
- class_option :link, type: :boolean, default: OPTION_DEFAULTS.lock,
+ class_option :link, type: :boolean, default: OPTION_DEFAULTS.link,
desc: "use COPY --link whenever possible"
class_option :lock, type: :boolean, default: OPTION_DEFAULTS.lock,
desc: "lock Gemfile/package.json"
@@ -522,10 +522,10 @@
def includes_jobs?
!(Dir["app/jobs/*.rb"] - ["app/jobs/application_job.rb"]).empty?
end
def using_sidekiq?
- @gemfile.include?("sidekiq") and includes_jobs?
+ @gemfile.include?("sidekiq")
end
def using_solidq?
@gemfile.include?("solid_queue") and includes_jobs?
end