lib/rocket_job/config.rb in rocketjob-5.0.0 vs lib/rocket_job/config.rb in rocketjob-5.1.0

- old
+ new

@@ -78,12 +78,9 @@ raise(ArgumentError, "Mongo Configuration file: #{config_file} not found") unless config_file.file? logger.debug "Reading Mongo configuration from: #{config_file}" ::Mongoid.load!(config_file, environment) - # Load Encryption configuration file if present - return unless defined?(SymmetricEncryption) - config_file = if encryption_file_name Pathname.new(encryption_file_name) else Pathname.pwd.join('config/symmetric-encryption.yml')