Sha256: 502dd7cf5906f281e65d3f50aaed5fecf54e4a8f50cfdd3a29f812627a7b4d14

Contents?: true

Size: 314 Bytes

Versions: 47

Compression:

Stored size: 314 Bytes

Contents

<% render_namespace do %>
  # Generator for updating existing files.
  class UpgradeGenerator < Rails::Generators::Base
    source_root File.join(File.dirname(__FILE__), "..", "templates")

    desc "Upgrades previously installed <%= config.dig(:gem, :label) %> resources."
    def upgrade
    end
  end
<% end %>

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
gemsmith-10.4.2 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/upgrade/upgrade_generator.rb.tt
gemsmith-10.4.1 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/upgrade/upgrade_generator.rb.tt
gemsmith-10.4.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/upgrade/upgrade_generator.rb.tt
gemsmith-10.3.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/upgrade/upgrade_generator.rb.tt
gemsmith-10.2.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/upgrade/upgrade_generator.rb.tt
gemsmith-10.1.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/upgrade/upgrade_generator.rb.tt
gemsmith-10.0.0 lib/gemsmith/templates/%gem_name%/lib/generators/%gem_path%/upgrade/upgrade_generator.rb.tt