Release Name: 0.3.0
Notes:
$ [ANN] kwatable 0.3.0 release
I have released Kwatable 0.3.0.
http://rubyforge.org/projects/kwatable/
Kwatable is a generator of SQL script, DTO class(java and ruby),
and Rails template from table definition file.
Changes:
enhancements:
- template/hibernate.eruby: add new template
- template/dto-java.eruby: support '--collection' property
- rails-controller.eruby: added
- template/*.eruby: add <template-help>
- add 'examples/ex3'
- add 'rails-model.eruby'
- add new option '-c' (check only)
- add new option '-u' (uncheck)
- add new option '-T' (not untabify)
- add validator.rb and validate datafiles in main.rb
- support multiple datafile
- property '--droptable' supported in ddl-{mysql,postgresql}.eruby
- command-line option '-hf template' shows template info
- command-line option '-hf template' shows available templates
- add new template 'rails-kwartz.eruby'
- template suffix '.eruby' is omittable
changes:
- main.rb: command-line option '-m' is removed
- dto-{java,ruby}.eruby: splitted into sub template
- main.rb: command-line option '-m' is now obsolete
- ddl-mysql: change to print 'references' clause.
- ddl-mysql, ddl-postgresql: to add 'default' constraint
- populate() is improved in dto-java and dto-ruby
- use setter method to set values in dto-java and dto-ruby
- rename 'FooBarBaz.rb' to 'foo_bar_baz.rb' in dto-ruby.rb
- rename 'kwartz/templates/' to 'kwartz/template'
bugfixes:
- template/dto-*.eruby: support command-line option '-d'
- main.rb: show available template names
- ex?/tabledef.yaml: column name 'modified_{on|at}' is changed to 'updated_{on|at}'
- add 'import java.util.List;' in dto-java
- add default constructor in dto-java
- manipulator class now detect type of column which refers forward column
- don't print column 'id' and '{created|modified}_{at|on}'
- now displays column of foreign key
- wrong argument passed to Kwatable.msg() in Manipulaotr#_error()
- fixed on dto-java.eruby
- fixed on dto-ruby.eruby
|