Sha256: 5115e4fb21674d8dd2e8d0cd81cd1d92f075725bd66026319adb4b429fbad9bc

Contents?: true

Size: 477 Bytes

Versions: 23

Compression:

Stored size: 477 Bytes

Contents

# frozen_string_literal: true

require "rubysmith"
require "zeitwerk"

Zeitwerk::Loader.new.then do |loader|
  loader.inflector.inflect "cli" => "CLI", "circle_ci" => "CircleCI", "rspec" => "RSpec"
  loader.tag = File.basename __FILE__, ".rb"
  loader.push_dir __dir__
  loader.setup
end

# Main namespace.
module Gemsmith
  def self.loader registry = Zeitwerk::Registry
    @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
gemsmith-22.10.0 lib/gemsmith.rb
gemsmith-22.9.0 lib/gemsmith.rb
gemsmith-22.8.0 lib/gemsmith.rb
gemsmith-22.7.0 lib/gemsmith.rb
gemsmith-22.6.0 lib/gemsmith.rb
gemsmith-22.5.0 lib/gemsmith.rb
gemsmith-22.4.0 lib/gemsmith.rb
gemsmith-22.3.0 lib/gemsmith.rb
gemsmith-22.2.0 lib/gemsmith.rb
gemsmith-22.1.0 lib/gemsmith.rb
gemsmith-22.0.0 lib/gemsmith.rb
gemsmith-21.10.0 lib/gemsmith.rb
gemsmith-21.9.0 lib/gemsmith.rb
gemsmith-21.6.0 lib/gemsmith.rb
gemsmith-21.5.1 lib/gemsmith.rb
gemsmith-21.5.0 lib/gemsmith.rb
gemsmith-21.4.0 lib/gemsmith.rb
gemsmith-21.3.0 lib/gemsmith.rb
gemsmith-21.2.0 lib/gemsmith.rb
gemsmith-21.1.0 lib/gemsmith.rb