Sha256: 0bd6ce324d022e58ff190d8ca413ff652634a0a26222614fe4ea94dbfc666934

Contents?: true

Size: 520 Bytes

Versions: 2

Compression:

Stored size: 520 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'
      template "lib/%namespaced_name%/configuration.rb"

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pluginizer-0.0.10 lib/pluginizer/plugin_builder.rb
pluginizer-0.0.9 lib/pluginizer/plugin_builder.rb