Sha256: 32d266a9d088fdb1516374f1bbe5efc82c5748253f2af9508185b68a48e1918d

Contents?: true

Size: 430 Bytes

Versions: 13

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

require "refinements/struct"

module Hanamismith
  module Builders
    module Puma
      # Builds project skeleton Puma configuration.
      class Configuration < Rubysmith::Builders::Abstract
        using Refinements::Struct

        def call
          builder.call(settings.merge(template_path: "%project_name%/config/puma.rb.erb")).render

          true
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hanamismith-0.50.0 lib/hanamismith/builders/puma/configuration.rb
hanamismith-0.49.1 lib/hanamismith/builders/puma/configuration.rb
hanamismith-0.49.0 lib/hanamismith/builders/puma/configuration.rb
hanamismith-0.48.0 lib/hanamismith/builders/puma/configuration.rb
hanamismith-0.47.0 lib/hanamismith/builders/puma/configuration.rb
hanamismith-0.46.0 lib/hanamismith/builders/puma/configuration.rb
hanamismith-0.45.0 lib/hanamismith/builders/puma/configuration.rb
hanamismith-0.44.0 lib/hanamismith/builders/puma/configuration.rb
hanamismith-0.43.0 lib/hanamismith/builders/puma/configuration.rb
hanamismith-0.42.0 lib/hanamismith/builders/puma/configuration.rb
hanamismith-0.41.0 lib/hanamismith/builders/puma/configuration.rb
hanamismith-0.40.0 lib/hanamismith/builders/puma/configuration.rb
hanamismith-0.39.0 lib/hanamismith/builders/puma/configuration.rb