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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7a5bdfa72352ea33a0db289013d086a3783a375
4
- data.tar.gz: 8b32f59604b0ebd4c527d9f45f5519c217540dfe
3
+ metadata.gz: a0633a880ef0c37f62f13a13ea78e87e914e451d
4
+ data.tar.gz: cd9cb32082a354cb6ca2858c17974834f5918188
5
5
  SHA512:
6
- metadata.gz: c956e155e2aaf382a64db9150647c70610170e0d7ee8e4db80b666ec1ad261982ddb1aee9e128ccbf51a3f3648b136dae4b71a4751c1de58997448d72bbbd40f
7
- data.tar.gz: 68d2e4d632eb78f00587ea68f6e32554d0afc3d2c2c20d52644e68e0282cf48f54c668b8d0910f26ca4c85ef7a11d23cca1632a9cfd91bf40370b1c02903bc13
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
- ![Rails-ERD-D3](https://github.com/RomanKrasavtsev/rails-erd-d3/raw/master/rails-erd-d3.gif)
11
+ ## Features
12
+ Rails-ERD-D3 contains the following functionality:
13
+
14
+ ###View models and their associations
15
+ ![Models](https://github.com/RomanKrasavtsev/rails-erd-d3/raw/master/images/models.png)
16
+
17
+ ###Preferences where you could hide any models
18
+ ![Preferences](https://github.com/RomanKrasavtsev/rails-erd-d3/raw/master/images/preferences.png)
19
+
20
+ ###View associations
21
+ ![Associations](https://github.com/RomanKrasavtsev/rails-erd-d3/raw/master/images/associations.png)
22
+
23
+ ###View table structure
24
+ ![Table structure](https://github.com/RomanKrasavtsev/rails-erd-d3/raw/master/images/table_structure.png)
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 Structure</div>
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>visible</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.1"
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.1
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