umlify 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/umlify/runner.rb CHANGED
@@ -40,15 +40,15 @@ module Umlify
40
40
  puts "about to parse..."
41
41
  @parser = Parser.new files
42
42
 
43
- if classes = p.parse_sources!
43
+ if classes = @p.parse_sources!
44
44
  @diagram = Diagram.new
45
45
 
46
- diagram.create do
46
+ @diagram.create do
47
47
  classes.each {|c| add c}
48
48
  end
49
49
 
50
50
  File.open("uml.html", 'w') do |file|
51
- file << diagram.export
51
+ file << @diagram.export
52
52
  end
53
53
 
54
54
  puts "Saved in uml.html"
@@ -1,3 +1,3 @@
1
1
  module Umlify
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: umlify
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.1
5
+ version: 0.3.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Michael Sokol