Sha256: 6ffffdf5d3964caeb9275d05cd3cf49ce88e072718c37a52229a49bea79ffe62

Contents?: true

Size: 464 Bytes

Versions: 4

Compression:

Stored size: 464 Bytes

Contents

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

    def gemspec
      template "%name%.gemspec"
    end

    def gitignore
      template '.gitignore'
    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

4 entries across 4 versions & 1 rubygems

Version Path
pluginizer-0.0.8 lib/pluginizer/plugin_builder.rb
pluginizer-0.0.7 lib/pluginizer/plugin_builder.rb
pluginizer-0.0.6 lib/pluginizer/plugin_builder.rb
pluginizer-0.0.5 lib/pluginizer/plugin_builder.rb