Sha256: f629354f94e00b0c434bb4cd34b758c907b31cb3815b39c42feba1c161057bf4
Contents?: true
Size: 477 Bytes
Versions: 6
Compression:
Stored size: 477 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'rubigen' if %w(-v --version).include? ARGV.first require '<%= name %>' puts "#{File.basename($0)} #{<%= app_model_name %>::VERSION}" exit(0) end require 'rubigen/scripts/generate' source = RubiGen::PathSource.new(:application, File.join(File.dirname(__FILE__), "../app_generators")) RubiGen::Base.reset_sources RubiGen::Base.append_sources source RubiGen::Scripts::Generate.new.run(ARGV, :generator => '<%= name %>')
Version data entries
6 entries across 6 versions & 1 rubygems