Sha256: 696fca2b8803fcb8f3379a12fe60cda6d2076aba643b0cd0f36cb3374b412b50
Contents?: true
Size: 307 Bytes
Versions: 1
Compression:
Stored size: 307 Bytes
Contents
module <%= config[:gem_class] %> class UpgradeGenerator < Rails::Generators::Base source_root File.join(File.dirname(__FILE__), "..", "templates") desc "Upgrades previously installed <%= config[:gem_class] %> resources." def upgrade # TODO - Add your upgrade code here. end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gemsmith-0.5.0 | lib/gemsmith/templates/lib/generators/gem/upgrade/upgrade_generator.rb.tmp |