lib/nanoc.rb in nanoc-4.11.0 vs lib/nanoc.rb in nanoc-4.11.1
- old
+ new
@@ -1,21 +1,14 @@
# frozen_string_literal: true
# Load external dependencies
require 'addressable'
-require 'ddmemoize'
-require 'ddmetrics'
require 'ddplugin'
-require 'hamster'
require 'json'
-require 'json_schema'
require 'parallel'
-require 'ref'
require 'slow_enumerator_tools'
-DDMemoize.enable_metrics
-
module Nanoc
# @return [String] A string containing information about this Nanoc version
# and its environment (Ruby engine and version, Rubygems version if any).
#
# @api private
@@ -44,10 +37,11 @@
require 'English'
require 'fiber'
require 'fileutils'
require 'find'
require 'forwardable'
+require 'logger'
require 'net/http'
require 'net/https'
require 'open3'
require 'pathname'
require 'pstore'
@@ -59,9 +53,12 @@
require 'timeout'
require 'tomlrb'
require 'tmpdir'
require 'uri'
require 'yaml'
+
+# Load extracted Nanoc dependencies
+require 'nanoc-core'
# Load Nanoc
require 'nanoc/version'
require 'nanoc/base'
require 'nanoc/checking'