lib/nanoc.rb in nanoc-4.8.5 vs lib/nanoc.rb in nanoc-4.8.6

- old
+ new

@@ -6,11 +6,11 @@ # # @api private def self.version_information gem_info = defined?(Gem) ? "with RubyGems #{Gem::VERSION}" : 'without RubyGems' engine = defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby' - res = String.new + res = +'' res << "Nanoc #{Nanoc::VERSION} © 2007-2017 Denis Defreyne.\n" res << "Running #{engine} #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) on #{RUBY_PLATFORM} #{gem_info}.\n" res end @@ -24,9 +24,10 @@ # Load external dependencies require 'hamster' require 'ref' require 'ddplugin' +require 'addressable' # Load general requirements require 'digest' require 'enumerator' require 'fiber'