Sha256: 2a250af7cdfd7646fc802ebd0635441e0fc5a021275269ead01d7c755450b831
Contents?: true
Size: 524 Bytes
Versions: 2
Compression:
Stored size: 524 Bytes
Contents
require "zeitwerk" module TerraspaceCiCircleci class Autoloader class Inflector < Zeitwerk::Inflector def camelize(basename, _abspath) map = { version: "VERSION" } map[basename.to_sym] || super end end class << self def setup loader = Zeitwerk::Loader.new loader.inflector = Inflector.new loader.push_dir(File.dirname(__dir__)) # lib loader.log! if ENV["TERRASPACE_CI_CIRCLECI_AUTOLOAD_LOG"] loader.setup end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
terraspace_ci_circleci-0.2.0 | lib/terraspace_ci_circleci/autoloader.rb |
terraspace_ci_circleci-0.1.0 | lib/terraspace_ci_circleci/autoloader.rb |