draw_uml 0.1.0 → 0.1.1
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 +8 -23
- data/lib/draw_uml/version.rb +1 -1
- data/lib/templates/layouts/application.html.erb +1 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 84d21cba27e20484e4c5bd57181d5d63298df815
|
|
4
|
+
data.tar.gz: 589e03563c47322ebdfcef9cfe5903bb11c5f459
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a8d93af670205ea2de983c87158642680c1619b4fcfd53012b9fd3fa8f59cb54c04a4bb04488690f5ab82bf1d3977449c9c6c3c29fb6cfdc5980add44111011f
|
|
7
|
+
data.tar.gz: 4eb2e671842556f9f0e37a2124fed0a5a41e1030be63377454b4da5d7237a1da09bcdcbb9c61ff419c65e31998d8ed3ba2b9e49ebde251aa6a09e0308b0d3b34
|
data/README.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# DrawUML
|
|
2
2
|
|
|
3
3
|
[](https://rubygems.org/gems/draw_uml) [](https://travis-ci.org/ogom/draw_uml)
|
|
4
4
|
|
|
5
5
|
Drawing the Unified Modeling Language of Rack.
|
|
6
6
|
|
|
7
|
+
[Browse the documentation.](http://ogom.github.io/draw_uml/docs)
|
|
8
|
+
|
|
7
9
|
## Installation
|
|
8
10
|
|
|
9
11
|
Add this line to your application's Gemfile:
|
|
@@ -20,37 +22,20 @@ $ bundle
|
|
|
20
22
|
|
|
21
23
|
## Usage
|
|
22
24
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Put this line to your `config.ru`:
|
|
26
|
-
|
|
27
|
-
```
|
|
28
|
-
require 'draw_uml'
|
|
29
|
-
use Rack::Static, urls: ['/images'], root: 'public'
|
|
30
|
-
run DrawUml::Engine
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
And then execute:
|
|
25
|
+
Add this line to your `config/routes.rb`:
|
|
34
26
|
|
|
35
27
|
```
|
|
36
|
-
|
|
28
|
+
mount DrawUml::Engine, at: '/rails/draw/uml'
|
|
37
29
|
```
|
|
38
30
|
|
|
39
31
|
Draw by selecting the model:
|
|
40
32
|
|
|
41
|
-

|
|
50
34
|
|
|
51
35
|
## Use
|
|
52
36
|
|
|
53
|
-
* [PlantUML](http://plantuml.sourceforge.net
|
|
37
|
+
* [PlantUML](http://plantuml.sourceforge.net)
|
|
38
|
+
* [PlantUML Cheat Sheet](http://ogom.github.io/draw_uml/plantuml)
|
|
54
39
|
|
|
55
40
|
## License
|
|
56
41
|
|
data/lib/draw_uml/version.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html>
|
|
3
|
-
<head><title>
|
|
3
|
+
<head><title>Models</title>
|
|
4
4
|
<style type="text/css">
|
|
5
5
|
|
|
6
6
|
body { background-color: #fff; color: #333; }
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
|
|
41
41
|
<script type="text/ecmascript">
|
|
42
42
|
function check_branch(id) {
|
|
43
|
-
console.log(id);
|
|
44
43
|
var element = document.getElementById(id);
|
|
45
44
|
if (element.style.display == 'none') {
|
|
46
45
|
element.style.display = 'block';
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: draw_uml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ogom
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-09-
|
|
11
|
+
date: 2014-09-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rack
|