Skip to content

Releases: meisyal/staruml-ruby

0.1.9

20 Jun 12:55
Compare
Choose a tag to compare

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

05 Nov 10:45
Compare
Choose a tag to compare

This release fixes an error that occurs when generating code. Please, refer to issue #8 for details.

0.1.7

30 Jun 14:31
Compare
Choose a tag to compare

This is the eighth version of staruml-ruby. This release includes API compatibility of StarUML 3 as mentioned on issue #7.

0.1.6

12 Jul 12:58
Compare
Choose a tag to compare

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

29 Apr 07:14
Compare
Choose a tag to compare

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

20 Oct 01:54
Compare
Choose a tag to compare

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

13 Jul 02:53
Compare
Choose a tag to compare

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

02 Jun 03:27
Compare
Choose a tag to compare

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

15 Mar 04:26
Compare
Choose a tag to compare

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

11 Feb 02:43
Compare
Choose a tag to compare

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