lib/capistrano/doctor/variables_doctor.rb in capistrano-3.9.1 vs lib/capistrano/doctor/variables_doctor.rb in capistrano-3.10.0
- old
+ new
@@ -3,12 +3,19 @@
module Capistrano
module Doctor
# Prints a table of all Capistrano variables and their current values. If
# there are unrecognized variables, print warnings for them.
class VariablesDoctor
- # These are keys that have no default values in Capistrano, but are
- # nonetheless expected to be set.
- WHITELIST = %i(application repo_url repo_tree).freeze
+ # These are keys that are recognized by Capistrano, but do not have values
+ # set by default.
+ WHITELIST = %i(
+ application
+ current_directory
+ releases_directory
+ repo_url
+ repo_tree
+ shared_directory
+ ).freeze
private_constant :WHITELIST
include Capistrano::Doctor::OutputHelpers
def initialize(env=Capistrano::Configuration.env)