draw_erd 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 361694cfa9e1723292cd4da1979dc995d4f602a5
4
- data.tar.gz: a87facd4851fd70f3e0e3b5fa1ddec6cbcdc56e0
3
+ metadata.gz: 7117e9be400735c3a0cde05e9961d27794670054
4
+ data.tar.gz: d6a1f4fdc09e9865b504b642cc9c8b969ab484d3
5
5
  SHA512:
6
- metadata.gz: b7647034cce2f4234a18df184423ce64b2a1fa38caa9aa6a1d624c81553cefc7b95626650bef11eb9c672a5c1568d8589bebfe11a98ccc44c3b22cf703c9215b
7
- data.tar.gz: 8715022cdd5937caf9963525f0a5dc521721dd3b3e448a6a1b8c933ba6f5ffc274c5da0826b4286fb8b4580ce09d6f7c85cdd7bc91ec1532046a0d4c6ee9d17d
6
+ metadata.gz: e4779878762acc6859e0a5579f2384fd663d124a8d7bca94d4dd0d9e49f77d144b4e7f90fbeba3cd8787b22776aec75a115291e9e9504c7745335abcbd3db4aa
7
+ data.tar.gz: 9e33d33f15a3d02d82e97ca6bd8391490fd187c8bff9f70e0999de3f5a1f8caf113dddf3f4b57e8f64721ec00897d7a576d6320ac1b6efd94f9018aa934192d6
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Draw ERD
1
+ # DrawERD
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/draw_erd.png)](https://rubygems.org/gems/draw_erd) [![Build Status](https://travis-ci.org/ogom/draw_erd.png?branch=master)](https://travis-ci.org/ogom/draw_erd)
4
4
 
@@ -23,12 +23,12 @@ $ bundle
23
23
  Add this line to your `config/routes.rb`:
24
24
 
25
25
  ```
26
- mount DrawErd::Engine, at: '/rails/info/schemas'
26
+ mount DrawErd::Engine, at: '/rails/draw/erd'
27
27
  ```
28
28
 
29
- Draw by selecting the schemas:
29
+ Draw by selecting the models:
30
30
 
31
- ![example_erd](http://ogom.github.io/draw_erd/assets/img/example_erd.png)
31
+ ![example](http://ogom.github.io/draw_erd/assets/img/example.png)
32
32
 
33
33
  ## Use
34
34
 
@@ -36,6 +36,8 @@ input.bottom {
36
36
  }
37
37
 
38
38
  div.schemas {
39
- padding-top: 18px;
40
39
  float:left;
40
+ padding-top: 36px;
41
+ padding-bottom: 20px;
42
+ border-right: solid #eee;
41
43
  }
@@ -1,14 +1,11 @@
1
- <h2>Schemas</h2>
1
+ <h2>Models</h2>
2
2
  <p>Drawing the Entity-Relationship Diagram</p>
3
3
 
4
4
  <div class='schemas'>
5
5
  <%= form_tag({}, method: :get, name: 'form_schema') do %>
6
6
  <table id='schema_table' class='schema_table'>
7
7
  <thead>
8
- <tr>
9
- <th>Schema</th>
10
- </tr>
11
- <tr class='bottom'>
8
+ <tr class='bottom'>
12
9
  <th>
13
10
  <%= submit_tag :draw, class: 'bottom' %>
14
11
  </th>
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <title>Schemas</title>
4
+ <title>Models</title>
5
5
  <%= stylesheet_link_tag "draw_erd/application", media: "all" %>
6
6
  <%= javascript_include_tag "draw_erd/application" %>
7
7
  <%= csrf_meta_tags %>
@@ -1,3 +1,3 @@
1
1
  module DrawErd
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: draw_erd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ogom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-31 00:00:00.000000000 Z
11
+ date: 2014-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails