Sha256: 03d796bf10ac7699a9c5c842ea19fe06a8af696d3668228f788fab0fd049c2b9

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 Bytes

Contents

module Pluginizer
  class PluginBuilder < Rails::PluginBuilder
    def readme
      template 'README.md'
    end

    def gemspec
      template "%name%.gemspec"
    end

    def test
    end

    def leftovers
      template '.ruby-version'

      after_bundle do
        in_root do
          git :init
          git add: '.'
          git commit: "-m 'first commit'"
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pluginizer-0.0.3 lib/pluginizer/plugin_builder.rb