peterhoeg-railroad 0.5.7 → 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,9 @@
1
1
  = Changes
2
2
 
3
+ == Version 0.5.8 (May 16 2009)
4
+ - Fixed an embarassing showstopper bug introduced in 0.5.6 where no
5
+ relationships would show
6
+
3
7
  == Version 0.5.7 (May 16 2009)
4
8
  - Load the version automatically from VERSION.yml
5
9
 
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 5
4
- :patch: 7
4
+ :patch: 8
@@ -125,7 +125,7 @@ class ModelsDiagram < AppDiagram
125
125
  STDERR.print "\t\tProcessing model association #{assoc.name.to_s}\n" if @options.verbose
126
126
 
127
127
  # Skip "belongs_to" associations
128
- return if assoc.macro.to_s == 'belongs_to' || !@options.show_belongs_to
128
+ return if assoc.macro.to_s == 'belongs_to' && !@options.show_belongs_to
129
129
 
130
130
  # Only non standard association names needs a label
131
131
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peterhoeg-railroad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Hoeg