railroady 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/Gemfile.lock +1 -1
- data/README.md +23 -5
- data/lib/railroady/version.rb +1 -1
- metadata +2 -2
- data/CHANGELOG.rdoc +0 -144
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f94824a6de9a5515d76aec6fbbbd3932c566ae3
|
4
|
+
data.tar.gz: 1b26ea8a8403e37e77854d8863038927f277833d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ef63c6fcc416fe89832fea93035b581c6b1ac775cf452ee849371275e260b5e9940e4c358aaed9971ca2b3ab04a7de379f3b2e4fd25f92284069c5e066f3c90
|
7
|
+
data.tar.gz: 847afd87f269db45084373e75e09f7fd5fad681288b0d91e4ef0e8d9e547a67e843d1abeebe2346e4b0849a82b15effd1ad7f262b5cb92151a30f65e9b9b5370
|
data/.travis.yml
ADDED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# RailRoady
|
2
2
|
|
3
|
+
[![Build Status](https://travis-ci.org/preston/railroady.svg?branch=master)](https://travis-ci.org/preston/railroady)
|
4
|
+
|
3
5
|
RailRoady generates Rails 3/4 model (ActiveRecord, Mongoid, Datamapper) and controller UML diagrams as cross-platform .svg files, as well as in the DOT language.
|
4
6
|
|
5
7
|
Code is based on the original "railroad" gem, patched and maintained over the years. Lineage can be traced via GitHub.
|
@@ -73,7 +75,7 @@ Alternatively, you may run the 'railroady' command-line program at the Rails app
|
|
73
75
|
-x, --xmi Produce XMI instead of DOT
|
74
76
|
(for UML tools)
|
75
77
|
--alphabetize Sort methods alphabetically
|
76
|
-
|
78
|
+
|
77
79
|
Models diagram options:
|
78
80
|
-a, --all Include all models
|
79
81
|
(not only ActiveRecord::Base derived)
|
@@ -89,17 +91,17 @@ Alternatively, you may run the 'railroady' command-line program at the Rails app
|
|
89
91
|
--include-concerns Include models in concerns subdirectory
|
90
92
|
-t, --transitive Include transitive associations
|
91
93
|
(through inheritance)
|
92
|
-
|
94
|
+
|
93
95
|
Controllers diagram options:
|
94
96
|
--hide-public Hide public methods
|
95
97
|
--hide-protected Hide protected methods
|
96
98
|
--hide-private Hide private methods
|
97
99
|
--engine-controllers Include engine controllers
|
98
|
-
|
100
|
+
|
99
101
|
Other options:
|
100
102
|
-h, --help Show this message
|
101
103
|
--version Show version and copyright
|
102
|
-
|
104
|
+
|
103
105
|
-c, --config FILE File to load environment (defaults to config/environment)
|
104
106
|
|
105
107
|
## Commands
|
@@ -199,4 +201,20 @@ See LICENSE for details.
|
|
199
201
|
|
200
202
|
## Authors
|
201
203
|
|
202
|
-
|
204
|
+
Authors/Contributors (in approximate order of appearance):
|
205
|
+
|
206
|
+
* Javier Smaldone (javier |at| smaldone |dot| com |dot| ar)
|
207
|
+
* Elliot Smith
|
208
|
+
* Juan Ignacio Pumarino
|
209
|
+
* Hajime Baba
|
210
|
+
* Ana Nelson
|
211
|
+
* Peter Hoeg
|
212
|
+
* John McCaffrey
|
213
|
+
* David Jones
|
214
|
+
* Mike Dalessio
|
215
|
+
* [Preston Lee](https://www.prestonlee.com) and [Lee Does](https://www.leedoes.com), the vendor providing maintenance.
|
216
|
+
* Tim Harvey
|
217
|
+
* Atli Christiansen
|
218
|
+
* John Bintz (http://www.coswellproductions.com/)
|
219
|
+
|
220
|
+
And of course, many thanks to the many patch submitters and testers that make this possible!
|
data/lib/railroady/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: railroady
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Preston Lee
|
@@ -84,8 +84,8 @@ extensions: []
|
|
84
84
|
extra_rdoc_files: []
|
85
85
|
files:
|
86
86
|
- ".gitignore"
|
87
|
+
- ".travis.yml"
|
87
88
|
- AUTHORS.rdoc
|
88
|
-
- CHANGELOG.rdoc
|
89
89
|
- Gemfile
|
90
90
|
- Gemfile.lock
|
91
91
|
- Guardfile
|
data/CHANGELOG.rdoc
DELETED
@@ -1,144 +0,0 @@
|
|
1
|
-
= Changes
|
2
|
-
|
3
|
-
== Version 1.1.1
|
4
|
-
|
5
|
-
- Merge in a Sinatra support.
|
6
|
-
- Merge in other pull requests.
|
7
|
-
- Switched from rspec to minitest specs.
|
8
|
-
- Removed jeweler dependency and updated to more recent bundler + gemspec format.
|
9
|
-
|
10
|
-
== Version 1.0.2
|
11
|
-
|
12
|
-
- Merged in John Bintz's patch to properly strip leading "::" prefixes from class names.
|
13
|
-
|
14
|
-
== Version 1.0.1
|
15
|
-
- Patch to fix bug for projects with spaces in the path. (Thanks, Tim Harvey!)
|
16
|
-
|
17
|
-
== Version 1.0.0
|
18
|
-
- 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.
|
19
|
-
- Patch for model classes not in the root module namespace.
|
20
|
-
- Documentation updates.
|
21
|
-
|
22
|
-
== Version 0.11.3
|
23
|
-
- Merge in bug fix and test cases from Tim Harvey. (Thanks!)
|
24
|
-
- Documentation updates.
|
25
|
-
|
26
|
-
== Version 0.11.2
|
27
|
-
- Bugfix for including gem version number in generated documents.
|
28
|
-
- Gem meta-data fixes.
|
29
|
-
|
30
|
-
== Version 0.11.1
|
31
|
-
- Minor bug fixes.
|
32
|
-
|
33
|
-
== Version 0.9.1
|
34
|
-
- Removal of deprecated API call.
|
35
|
-
- Documentation updates.
|
36
|
-
|
37
|
-
== Version 0.9.0
|
38
|
-
- Forked from tobias-railroad on GitHub.
|
39
|
-
- Project rebranding to reflect Rails v3 support.
|
40
|
-
- Adding railtie support for Rails 3 plugins.
|
41
|
-
- Adding rake tasks that are automatically included by Rails 3 applications.
|
42
|
-
|
43
|
-
== Version 0.8.0 (22 June 2010)
|
44
|
-
- add --specify to specify only a few model/controller files as the opposite of --exclude
|
45
|
-
- improve test coverage
|
46
|
-
|
47
|
-
== Version 0.7.0
|
48
|
-
- get tests passing, make things generally more testable, start improving coverage
|
49
|
-
- add support for ignoring a glob pattern and multiple files, simplify options
|
50
|
-
|
51
|
-
== Version 0.5.8 (May 16 2009)
|
52
|
-
- Fixed an embarassing showstopper bug introduced in 0.5.6 where no
|
53
|
-
relationships would show
|
54
|
-
|
55
|
-
== Version 0.5.7 (May 16 2009)
|
56
|
-
- Load the version automatically from VERSION.yml
|
57
|
-
|
58
|
-
== Version 0.5.1 to 0.5.6 (May 15 2009)
|
59
|
-
- Make sure the proper version tag is set everywhere
|
60
|
-
- Support showing belongs_to relationships when generating models
|
61
|
-
- Transitioned to using Jeweler for gem management
|
62
|
-
- Shuffled some file locations around
|
63
|
-
- NOTE: there are NO tests passing yet, but this gem was developed without 'em
|
64
|
-
- Fixed broken gemspec
|
65
|
-
- Added ChangeLog entries
|
66
|
-
- Added AUTHORS entry
|
67
|
-
- Updated railroad version entry
|
68
|
-
- Support rails v2.3
|
69
|
-
- Support namespaced models/controllers
|
70
|
-
|
71
|
-
== Version 0.5.0 (may 10 2008)
|
72
|
-
- Changed model relationships representation (feature request #10898)
|
73
|
-
- Added support for plugins models (-p) (feature request #12742 by
|
74
|
-
Chris Richards). Thanks to Elliot Smith.
|
75
|
-
- Added support for irregular inflexions (from patch #12384). Thanks
|
76
|
-
to Juan Ignacio Pumarino.
|
77
|
-
- Added hidding of magic fields (--hide-magic) (from patch #13351)
|
78
|
-
Thanks to Hajime Baba.
|
79
|
-
- Added -r option to set the application root path (request #12801).
|
80
|
-
- The -e flag now requires full path to excluded files.
|
81
|
-
- Added support for state machine diagram ("acts as state machine" plugin).
|
82
|
-
Thanks to Ana Nelson (she did all the work!).
|
83
|
-
|
84
|
-
== Version 0.4.1 (may 9 2008)
|
85
|
-
- Fix bug #17852 (class name treated as String).
|
86
|
-
|
87
|
-
== Version 0.4.0 (apr 25 2007)
|
88
|
-
- Draw inheritance edges in reverse way
|
89
|
-
(from superclass to subclass, with an arrow in the tail)
|
90
|
-
This improves how 'dot' renders the graph
|
91
|
-
- By default, don't draw transitive inherited associations
|
92
|
-
- Added --transitive flag to draw transitive inherited associations
|
93
|
-
- Added --exclude flag for ommiting classes (this may help to produce
|
94
|
-
diagrams for applications with broken classes)
|
95
|
-
|
96
|
-
== Version 0.3.4 (apr 12 2007)
|
97
|
-
- Add support for model abstract classes.
|
98
|
-
(don't try to get content columns, bug #10033)
|
99
|
-
- Add verbose mode
|
100
|
-
- More code cleanup.
|
101
|
-
- Using an internal representation and then
|
102
|
-
generating the DOT output. This will allow to
|
103
|
-
add more output formats in the future.
|
104
|
-
|
105
|
-
== Version 0.3.3 (apr 10 2007)
|
106
|
-
- Code cleanup
|
107
|
-
|
108
|
-
== Version 0.3.2 (apr 9 2007)
|
109
|
-
- Disable STDOUT when loading applications classes, avoiding
|
110
|
-
messing up the DOT output.
|
111
|
-
(Thanks to Sebastien Auvray, http://tnlessone.wordpress.com/)
|
112
|
-
|
113
|
-
== Version 0.3.1 (apr 9 2007)
|
114
|
-
- Release again for fix an error in .gem file
|
115
|
-
|
116
|
-
== Version 0.3.0 (apr 9 2007)
|
117
|
-
- Major code rewrite
|
118
|
-
(More OO style)
|
119
|
-
- Using Ruby's optparse to parse commandline options
|
120
|
-
- Added flags for including (excluding) controllers methods
|
121
|
-
based on visibility
|
122
|
-
- Added -o flag for file output.
|
123
|
-
- Minor cosmetic changes.
|
124
|
-
|
125
|
-
== Version 0.2.0 (apr 8 2007)
|
126
|
-
- Differentiate classes from modules
|
127
|
-
- Added "-m" flag for considering modules
|
128
|
-
- Draw double-headed arrows for habtm and has_many, :through associations
|
129
|
-
- Fix inheritance support for non ActiveRecord::Base classes on model
|
130
|
-
diagrams
|
131
|
-
|
132
|
-
== Version 0.1.2 (apr 7 2007)
|
133
|
-
- Documentation moved from script header to README
|
134
|
-
|
135
|
-
== Version 0.1.1 (apr 5 2007)
|
136
|
-
- Changed default graph label fontsize to 14.
|
137
|
-
- Better error handling.
|
138
|
-
- Minor cosmetic changes.
|
139
|
-
- New way to load classes, supporting subdirectories traversal.
|
140
|
-
(Inspired in RAV, http://rav.rubyforge.org/)
|
141
|
-
- RailRoady version included in diagrams' label.
|
142
|
-
|
143
|
-
== Version 0.1.0 (apr 2 2007)
|
144
|
-
- Initial release.
|