lib/negroku/config.rb in negroku-2.5.2 vs lib/negroku/config.rb in negroku-2.5.3
- old
+ new
@@ -52,10 +52,10 @@
attribute :unicorn, Negroku::Feature, default: {
name: "unicorn", enabled: loaded_in_bundler('unicorn')
}
attribute :whenever, Negroku::Feature, default: {
- name: "whenever", enabled: loaded_in_bundler('whenever')
+ name: "whenever", enabled: File.exists?('config/schedule.rb')
}
# private
end