Releases: meisyal/staruml-ruby
Releases · meisyal/staruml-ruby
0.1.9
Changes:
- Added a feature to generate default value of class attributes (#10).
- Refactored
writeAssociation
function to remove duplication of writing import files.
0.1.8
This release fixes an error that occurs when generating code. Please, refer to issue #8 for details.
0.1.7
This is the eighth version of staruml-ruby. This release includes API compatibility of StarUML 3 as mentioned on issue #7.
0.1.6
Changes:
- Added feature to generate interface (#3).
- Fixed requiring another files for class association and generalization (#4)
- Changed generated package name (a folder) to lower snake case. This feature only supports package with upper camel case.
0.1.5
Changes:
- Removed long attribute accessor method and replaced by
attr_accessor
or attr_reader
(#1).
- Removed an option to generate either long or short attribute accessor in extension configuration.
- Updated class attribute rules (#2).
0.1.4
Changes:
- Fixed duplicate code when generating set and get methods for class attributes.
- Fixed duplicate code when generating attribute accessor via
attr_accessor :attribute_name
.
- Added class associations.
The associated classes will be included in constructor of a class that has association with those classes. Associated class file is imported using require_relative
.
0.1.3
Changes:
- Added class constants (both public and private constants).
- Added read only attributes (written as
attr_reader: attribute_name
or setter method).
An attribute that is set as static attribute will be converted as class constant.
0.1.2
Changes:
- Added TODO comment on unimplemented methods.
- Added Ruby module when a class belongs to a package.
- Grouped setter and getter methods or attribute accessors by theirs visibility.
- Fixed some indentations of generated source code.
Now, you can generate code documentation if there is a documentation on class element. This code documentation can be turned on or off on extension configuration.
0.1.1
Changes:
- Fixed indentation of generated source code.
- Added extension configuration.
Now, you can configure the extension for code generation. The supported configurations are:
- Using tab for code indentation.
- Set indentation spaces.
- Set or unset the initialize and
to_s
methods.
- Using attribute accessor,
attr_accessor:
, for set and get attributes.
0.1.0
This is the first release of staruml-ruby 🎉
Currently, staruml-ruby supports standard Ruby code generation from a UML class diagram. It includes
- Classes
- Methods of classes
- Method Parameters
- Generalization