umlify 1.2.5 → 1.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -51,7 +51,7 @@ module Umlify
51
51
  # 3. Associations
52
52
  # Otherwise, strange behavior can happen in the downloadd graph
53
53
  def compute!
54
- class_def = /\[[\w;?|!]*\]/
54
+ class_def = /\[[\w;?|=!]*\]/
55
55
  inheritance = /\[(.*?)\]\^\[(.*?)\]/
56
56
  association = /\[.*\]-.*>\[.*\]/
57
57
 
@@ -1,3 +1,3 @@
1
1
  module Umlify
2
- VERSION = "1.2.5"
2
+ VERSION = "1.2.6"
3
3
  end
@@ -92,7 +92,7 @@ class DiagramTest < Test::Unit::TestCase
92
92
  should "sort the statements so that the class declarations are first, then
93
93
  the inheritance, then the associations" do
94
94
 
95
- @diagram.statements = ['[Foo]^[Unicorn]', '[Unicorn]-foo 1..*>[Bar]', '[Unicorn|foo_variable|bar_method]']
95
+ @diagram.statements = ['[Foo]^[Unicorn]', '[Unicorn]-foo 1..*>[Bar]', '[Unicorn|foo_variable|bar_method]']
96
96
  @diagram.compute!
97
97
  assert_equal ['[Unicorn|foo_variable|bar_method]', '[Foo]^[Unicorn]', '[Unicorn]-foo 1..*>[Bar]'], @diagram.statements
98
98
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: umlify
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.5
5
+ version: 1.2.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Michael Sokol