railroady 0.11.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/AUTHORS.rdoc CHANGED
@@ -1,10 +1,9 @@
1
- = Author
2
- Javier Smaldone - (javier |at| smaldone |dot| com |dot| ar)
3
1
 
4
2
  = Project site
5
- http://railroad.rubyforge.org
3
+ http://railroady.prestonlee.com
6
4
 
7
- = Contributors (in order of appearance)
5
+ = Authors/Contributors (in order of appearance)
6
+ * Javier Smaldone (javier |at| smaldone |dot| com |dot| ar)
8
7
  * Elliot Smith
9
8
  * Juan Ignacio Pumarino
10
9
  * Hajime Baba
@@ -13,5 +12,6 @@ http://railroad.rubyforge.org
13
12
  * John McCaffrey
14
13
  * David Jones
15
14
  * Mike Dalessio
16
- * Preston Lee
17
- * and many testers...
15
+ * Preston Lee (http://prestonlee.com)
16
+
17
+ And of course, many thanks to the many patch submitters and testers that make this possible!
data/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,10 @@
1
1
  = Changes
2
2
 
3
+ == Version 1.0.0
4
+ - After months of community testing, we're finally at 1.0.0. Woohoo! This release is 100% compatible with the last pre-1.0.0 release.
5
+ - Patch for model classes not in the root module namespace.
6
+ - Documentation updates.
7
+
3
8
  == Version 0.11.3
4
9
  - Merge in bug fix and test cases from Tim Harvey. (Thanks!)
5
10
  - Documentation updates.
data/README.rdoc CHANGED
@@ -133,7 +133,7 @@ RailRoady has been tested with the following Ruby and Rails versions
133
133
  * 1.9.2
134
134
 
135
135
  == Rails
136
- * 3.0.3
136
+ * 3.0.3+
137
137
 
138
138
  There are no additional requirements (nevertheless, all your Rails application
139
139
  requirements must be installed).
@@ -143,11 +143,11 @@ from Graphviz.
143
143
 
144
144
  = Website and Project Home
145
145
 
146
- http://github.com/preston/railroady
146
+ http://railroady.prestonlee.com
147
147
 
148
148
  = License
149
149
 
150
- RailRoady is distributed under the terms of the GNU General Public License
150
+ RailRoady is distributed under the terms of the GNU General Public License
151
151
  as published by the Free Software Foundation; either version 2 of the
152
152
  License, or (at your option) any later version.
153
153
 
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :major: 0
3
- :minor: 11
4
- :patch: 3
2
+ :major: 1
3
+ :minor: 0
4
+ :patch: 0
5
5
  :build:
@@ -129,6 +129,11 @@ class ModelsDiagram < AppDiagram
129
129
  assoc_name = assoc.name.to_s
130
130
  end
131
131
 
132
+ # Patch from "alpack" to support classes in a non-root module namespace. See: http://disq.us/yxl1v
133
+ if class_name.include?("::") && !assoc_class_name.include?("::")
134
+ assoc_class_name = class_name.split("::")[0..-2].push(assoc_class_name).join("::")
135
+ end
136
+
132
137
  if ['has_one', 'belongs_to'].include? assoc.macro.to_s
133
138
  assoc_type = 'one-one'
134
139
  elsif assoc.macro.to_s == 'has_many' && (! assoc.options[:through])
metadata CHANGED
@@ -3,10 +3,10 @@ name: railroady
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
+ - 1
6
7
  - 0
7
- - 11
8
- - 3
9
- version: 0.11.3
8
+ - 0
9
+ version: 1.0.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Preston Lee
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-01-20 00:00:00 -07:00
20
+ date: 2011-01-27 00:00:00 -07:00
21
21
  default_executable: railroady
22
22
  dependencies: []
23
23