lib/configurability.rb in configurability-3.4.1 vs lib/configurability.rb in configurability-4.0.0
- old
+ new
@@ -12,11 +12,11 @@
# Loggability API -- set up a Loggability logger for the library
log_as :configurability
# Library version constant
- VERSION = '3.4.1'
+ VERSION = '4.0.0'
# Version-control revision constant
REVISION = %q$Revision$
require 'configurability/deferred_config'
@@ -299,11 +299,10 @@
if @config.respond_to?( :each_pair )
@config.each_pair do |key, value|
Configurability.log.debug "Looking for %p config attribute" % [ key ]
next unless self.respond_to?( "#{key}=" )
- Configurability.log.debug " setting %p to %p via attr_writer" %
- [ key, value ]
+ Configurability.log.debug " setting %p to %p" % [ key, value ]
self.public_send( "#{key}=", value )
end
else
Configurability.log.
debug "config object (%p) isn't iterable; skipping config attributes" % [ @config ]