lib/gemirro/configuration.rb in gemirro-0.13.3 vs lib/gemirro/configuration.rb in gemirro-0.13.4
- old
+ new
@@ -23,16 +23,16 @@
class Configuration < Confstruct::Configuration
attr_reader :mirror_gems_directory, :mirror_gemspecs_directory
attr_accessor :source, :ignored_gems, :logger
LOGGER_LEVEL = {
- 'debug' => Logger::DEBUG,
+ 'debug' => Logger::DEBUG,
'warning' => Logger::WARN,
'info' => Logger::INFO,
'unknown' => Logger::UNKNOWN,
'error' => Logger::ERROR,
'fatal' => Logger::FATAL
- }
+ }.freeze
##
# Returns the logger
#
# @return [Logger]