Sha256: 40cba6b4fff3ba67f6f3f4b20966db3965b9fc411cf379dfa7960392ee082328
Contents?: true
Size: 527 Bytes
Versions: 21
Compression:
Stored size: 527 Bytes
Contents
#!/usr/bin/env ruby require 'pathname' source_path = (Pathname.new(__FILE__).dirname + '../lib').expand_path $LOAD_PATH << source_path require 'pluginizer' if ['-v', '--version'].include? ARGV[0] puts Pluginizer::VERSION exit 0 end templates_root = File.expand_path(File.join("..", "templates"), File.dirname(__FILE__)) Pluginizer::PluginGenerator.source_root templates_root Pluginizer::PluginGenerator.source_paths << templates_root << Rails::Generators::PluginGenerator.source_root Pluginizer::PluginGenerator.start
Version data entries
21 entries across 21 versions & 1 rubygems