lib/avrolution/configuration.rb in avrolution-0.6.1 vs lib/avrolution/configuration.rb in avrolution-0.7.0

- old
+ new

@@ -1,9 +1,11 @@ +# frozen_string_literal: true + module Avrolution - COMPATIBILITY = 'compatibility'.freeze - DEPLOYMENT = 'deployment'.freeze + COMPATIBILITY = 'compatibility' + DEPLOYMENT = 'deployment' class << self # Root directory to search for schemas, and default location for # compatibility breaks file attr_writer :root @@ -33,9 +35,10 @@ ivar_value = instance_variable_set(ivar_name, ivar_value.call) if ivar_value.is_a?(Proc) ivar_value end raise "#{env_name.downcase} must be set" if result.blank? + result end end self.logger = Avrolution::PassthruLogger.new($stdout)