Sha256: e1aa6c93a3686e8ca468eef7c6f9a7b9e75561c595ece4206b5f070acb09f464

Contents?: true

Size: 331 Bytes

Versions: 31

Compression:

Stored size: 331 Bytes

Contents

<% render_namespace do %>
  # Gem identity information.
  module Identity
    def self.name
      "<%= config.dig(:gem, :name) %>"
    end

    def self.label
      "<%= config.dig(:gem, :label) %>"
    end

    def self.version
      "0.1.0"
    end

    def self.version_label
      "#{label} #{version}"
    end
  end
<% end %>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
gemsmith-11.2.0 lib/gemsmith/templates/%gem_name%/lib/%gem_path%/identity.rb.tt
gemsmith-11.1.0 lib/gemsmith/templates/%gem_name%/lib/%gem_path%/identity.rb.tt
gemsmith-11.0.1 lib/gemsmith/templates/%gem_name%/lib/%gem_path%/identity.rb.tt
gemsmith-11.0.0 lib/gemsmith/templates/%gem_name%/lib/%gem_path%/identity.rb.tt
gemsmith-10.4.2 lib/gemsmith/templates/%gem_name%/lib/%gem_path%/identity.rb.tt
gemsmith-10.4.1 lib/gemsmith/templates/%gem_name%/lib/%gem_path%/identity.rb.tt
gemsmith-10.4.0 lib/gemsmith/templates/%gem_name%/lib/%gem_path%/identity.rb.tt
gemsmith-10.3.0 lib/gemsmith/templates/%gem_name%/lib/%gem_path%/identity.rb.tt
gemsmith-10.2.0 lib/gemsmith/templates/%gem_name%/lib/%gem_path%/identity.rb.tt
gemsmith-10.1.0 lib/gemsmith/templates/%gem_name%/lib/%gem_path%/identity.rb.tt
gemsmith-10.0.0 lib/gemsmith/templates/%gem_name%/lib/%gem_path%/identity.rb.tt