rails-erd-d3 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.
- checksums.yaml +4 -4
- data/README.md +15 -9
- data/images/associations.png +0 -0
- data/images/models.png +0 -0
- data/images/preferences.png +0 -0
- data/images/table_structure.png +0 -0
- data/lib/templates/modals.html.erb +2 -2
- data/rails-erd-d3.gemspec +1 -1
- metadata +5 -2
- data/rails-erd-d3.gif +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a0633a880ef0c37f62f13a13ea78e87e914e451d
|
|
4
|
+
data.tar.gz: cd9cb32082a354cb6ca2858c17974834f5918188
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b640a2fc6223387926905f4e686571b01efa1a6d9c668fd3b946d715ec184a4991fd67bb6382a324b044591c069928770c613e2365e7607cede09bfdd5f15033
|
|
7
|
+
data.tar.gz: a6151458c444b5e9f2138d75510836a377ba62b2cf9869c8b5c58f6a286df1bbc30b058eafd9b5c42c5d99621e94e34feb867d2c601dfa3770b3d82cb3df28ae
|
data/README.md
CHANGED
|
@@ -8,7 +8,20 @@
|
|
|
8
8
|
|
|
9
9
|
Create entity–relationship diagram with D3.js for your Rails application.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
## Features
|
|
12
|
+
Rails-ERD-D3 contains the following functionality:
|
|
13
|
+
|
|
14
|
+
###View models and their associations
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
###Preferences where you could hide any models
|
|
18
|
+

|
|
19
|
+
|
|
20
|
+
###View associations
|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
###View table structure
|
|
24
|
+

|
|
12
25
|
|
|
13
26
|
## Installation
|
|
14
27
|
|
|
@@ -27,13 +40,7 @@ $ bundle install
|
|
|
27
40
|
|
|
28
41
|
And then execute for creating file erd.html:
|
|
29
42
|
```shall
|
|
30
|
-
$ bundle exec erd-d3
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
Or:
|
|
34
|
-
```shall
|
|
35
|
-
$ rails c
|
|
36
|
-
> RailsErdD3.create
|
|
43
|
+
$ bundle exec rails-erd-d3
|
|
37
44
|
```
|
|
38
45
|
|
|
39
46
|
## Todo
|
|
@@ -49,7 +56,6 @@ $ rails c
|
|
|
49
56
|
- has_one :through
|
|
50
57
|
- has_and_belongs_to_many
|
|
51
58
|
- Polymorphic associations
|
|
52
|
-
- Hide model
|
|
53
59
|
- Safe as jpg, png
|
|
54
60
|
- Dependent destroy
|
|
55
61
|
|
|
Binary file
|
data/images/models.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
</div>
|
|
36
36
|
|
|
37
37
|
<div class="panel panel-primary">
|
|
38
|
-
<div class="panel-heading">Table
|
|
38
|
+
<div class="panel-heading">Table structure</div>
|
|
39
39
|
<table class="table table-hover">
|
|
40
40
|
<thead>
|
|
41
41
|
<tr>
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
<tr>
|
|
83
83
|
<th>#</th>
|
|
84
84
|
<th>name</th>
|
|
85
|
-
<th>
|
|
85
|
+
<th>show</th>
|
|
86
86
|
</tr>
|
|
87
87
|
</thead>
|
|
88
88
|
<tbody>
|
data/rails-erd-d3.gemspec
CHANGED
|
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
|
|
|
6
6
|
spec.name = "rails-erd-d3"
|
|
7
7
|
spec.authors = ["Roman Krasavtsev"]
|
|
8
8
|
spec.email = ["mr.krasavtsev@gmail.com"]
|
|
9
|
-
spec.version = "0.3.
|
|
9
|
+
spec.version = "0.3.2"
|
|
10
10
|
spec.summary = "Entity–relationship diagram with D3.js for Rails application"
|
|
11
11
|
spec.description = "This gem creates entity–relationship diagram with D3.js for your Rails application"
|
|
12
12
|
spec.homepage = "https://github.com/RomanKrasavtsev/rails-erd-d3"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails-erd-d3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Roman Krasavtsev
|
|
@@ -69,6 +69,10 @@ files:
|
|
|
69
69
|
- README.md
|
|
70
70
|
- Rakefile
|
|
71
71
|
- bin/rails-erd-d3
|
|
72
|
+
- images/associations.png
|
|
73
|
+
- images/models.png
|
|
74
|
+
- images/preferences.png
|
|
75
|
+
- images/table_structure.png
|
|
72
76
|
- lib/rails-erd-d3.rb
|
|
73
77
|
- lib/rails_erd_d3.rb
|
|
74
78
|
- lib/templates/d3.html.erb
|
|
@@ -76,7 +80,6 @@ files:
|
|
|
76
80
|
- lib/templates/modals.html.erb
|
|
77
81
|
- lib/templates/nav.html
|
|
78
82
|
- rails-erd-d3.gemspec
|
|
79
|
-
- rails-erd-d3.gif
|
|
80
83
|
homepage: https://github.com/RomanKrasavtsev/rails-erd-d3
|
|
81
84
|
licenses:
|
|
82
85
|
- MIT
|
data/rails-erd-d3.gif
DELETED
|
Binary file
|