Sha256: 4e5164666d430a1b5871deffcaae0d6b78580f520727f0c40e4bc30b0cd9c532
Contents?: true
Size: 1.44 KB
Versions: 1
Compression:
Stored size: 1.44 KB
Contents
# frozen_string_literal: true # Load external dependencies require 'addressable' require 'ddplugin' require 'hamster' require 'ref' require 'slow_enumerator_tools' require 'ddmemoize' require 'ddtelemetry' 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 def self.version_information "Nanoc #{Nanoc::VERSION} © 2007-2017 Denis Defreyne.\n" \ "Running #{RUBY_ENGINE} #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) on #{RUBY_PLATFORM} with RubyGems #{Gem::VERSION}.\n" end # @return [Boolean] True if the current platform is Windows, false otherwise. # # @api private def self.on_windows? RUBY_PLATFORM =~ /windows|bccwin|cygwin|djgpp|mingw|mswin|wince/i end MEMOIZATION_TELEMETRY = DDTelemetry.new end # Load general requirements require 'cgi' require 'digest' require 'English' require 'fiber' require 'fileutils' require 'find' require 'forwardable' require 'net/http' require 'net/https' require 'open3' require 'pathname' require 'pstore' require 'set' require 'singleton' require 'tempfile' require 'time' require 'timeout' require 'tmpdir' require 'uri' require 'yaml' # Load Nanoc require 'nanoc/version' require 'nanoc/base' require 'nanoc/checking' require 'nanoc/deploying' require 'nanoc/extra' require 'nanoc/data_sources' require 'nanoc/filters' require 'nanoc/helpers' require 'nanoc/rule_dsl'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nanoc-4.8.17 | lib/nanoc.rb |