Allow activesupport 2.3.5+
mocha, cucumber and shoulda are development dependencies (fixes requirement for thoughtbot-shoulda too)
Forced rubigen to use activesupport 2.3.5 (as the last < 3.0 version). It will upgrade to use 3.0.0 when it is released.
Trying to remove a circular rubigen->newgem->rubigen dependency issue
Return # which was accidently removed
Moved website into gh-pages branch; thus moving homepage from rubigen.rubforge.org -> drnic.github.com/rubigen
Preparation for integration back into Rails
--git/-g option for generated files to be added via git commands
after_generate hook for generators (used as rails’ templates mechanism)
bumped activesupport requirement to 2.2.2
upgraded internal files to support latest newgem (removed config/ folder, moved config to Rakefile)
support for RAILS_ROOT as a destination root
removed references to Merb which now has its own generator system; can access any merb generators via `rubigen` helper app
RubiGen::Base.active can be changed to a RubiGen::Base subclass that will be used for lookups (e.g. RubiGen::Base.active = Rails::Generator::Base)
rubigen tests now pass against ruby 1.9.0 and ruby 1.9.1(prerelease 2)
puts are sent to an explicit # which can be STDOUT or a StringIO passed from tests; test output is now clean!
ruby_app: fixed reference to non-existent version.rb [jperkins]
prepend_sources correctly places arguments at start of sources list
removed lib/rubigen/version.rb; RubiGen::VERSION is in lib/rubigen.rb now; there is no RubiGen::VERSION::STRING
app_gen/bin - includes #!/usr/bin/env ruby
added examples of file_copy_each and template_copy_each to generators
Fixed the require statements in generated tests for rails/merb generators
Rails::Generator::Base is a valid generator superclass
Rails generators have alternate template (based on standard NamedBase)
test helpers define RAILS_ROOT for rails generators
component_generator: specific subclasses for rails + merb generators, not the generic RubiGen::Base
Remove -wKU flags from install_rubigen_scripts + ruby_app apps
Removing one File.expand_path
Fixed rake post_news/email output bug (“\n\n”)
removed bad " from generator banner strings
destination_path/root have File.expand_path applied to them to ensure base_name gives useful term
generate/destroy set APP_ROOT with expand_path too
application_generator’s bin now looks for generator within local source, not within an install gem - so the bin/foo can be run in development without requiring installation.
New collision option i - ignore all collisions; works like a which forces all collisions to overwrite existing files; i skips all collisions.
Supported test scope for install_rubigen_scripts: javascript_test
active_support is now a dependency of this gem on install (it was being used but wasn’t a dependency)
Promoted ‘application_generator’ and ‘component_generator’ to Rubigen
from NewGem project (they are available even if newgem not installed)
install_rubigen_scripts default test fixed by mapping scopes to strings
version.js uploaded to website
install_rubigen_scripts adds ‘test_unit’ to scopes unless a test-related scope is added
remove examples directory because it’s redundant. See rails gem. [Winston Tsang]
Add missing template empty_log. [Winston Tsang]
Moved test_unit generator to test_unit scope (instead of global scope)
generator_full_paths now returns the sources in reverse order [thx hassox]
Moved test_unit generator to test_unit scope (instead of global scope)
Templates can end with .erb (e.g. model.rb.erb) and template_copy_each will remove the .erb extension (create model.rb)
Added Jeremy Kemper to license/copyright/gem author list.
New manifest actions:
m.folder - copies over all files in folder into target path
helper run_generator returns generator instance (so you can assert instance variables/methods etc)
base_name method for generators - returns basename of destination_root, unless its trunk/tags/branches
/generators folder is automatically picked up by all component/app generators [bug fix]
Renamed rubigen_install_script -> install_rubigen_script
install_rubigen_script is now a component generator so can be reused by other generators to create script/generate
Added “Thanks to Jeremy Kemper” into website
Cleaned up USAGE for test_unit
If a generator does not have a USAGE file, then it is invisible from lists of available generators. This will be the mechanism for having hidden generators (e.g. install_rubigen_scripts)
Moved builtin generators into root folders, away from lib folder, to protected them from ri/rdocs processes (which didn’t like ERb <%= %> inside Ruby files)
New app: rubigen_install_script
adds script/generate and script/destroy to current folder
1 major enhancement:
Initial release
Generated with the Darkfish Rdoc Generator 1.1.6.