Sha256: c1b0bdcf46300fe0c3c8c2f3a265f97242449b18922655074b23ec048a234133
Contents?: true
Size: 663 Bytes
Versions: 13
Compression:
Stored size: 663 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Gemsmith module Builders # Builds project skeleton gem specification for use by RubyGems. class Specification < Rubysmith::Builders::Abstract using Refinements::Struct def call config = settings.merge template_path: "%project_name%/%project_name%.gemspec.erb" builder.call(config) .render .replace(" \n", "") .replace(" ", " ") .replace(" \n", "") .replace(" spec", " spec") .replace(/\}\s+s/m, "}\n\n s") true end end end end
Version data entries
13 entries across 13 versions & 1 rubygems