draw_uml 0.0.6 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -4
- data/lib/draw_uml/version.rb +1 -1
- 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: 0743d6b5a5abbb8dd8884ee4f6fd0e84cd6d77cf
|
4
|
+
data.tar.gz: 16eef6bb817105c03073027eb518ea222ecedf22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2632ef69eda0534b003f17f1f826f88d1808cba079f0f1e9c372fee5e22745790a3681df7ea001f5dba07527baba171ac952e2d8de6632f9e06ad13ea99ee96
|
7
|
+
data.tar.gz: d9ffb33232b3d81061930e73ee1dcd8bd0dbd5a3c98346d4b851f0d73789ff959f33f736cca481a9e6b879d636e929d6c082adb201eb63ad45772dab6dc6ec73
|
data/README.md
CHANGED
@@ -20,17 +20,33 @@ $ bundle
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
###
|
23
|
+
### Rack
|
24
24
|
|
25
|
-
|
25
|
+
Put this line to your `config.ru`:
|
26
26
|
|
27
27
|
```
|
28
|
-
|
28
|
+
require 'draw_uml'
|
29
|
+
use Rack::Static, urls: ['/images'], root: 'public'
|
30
|
+
run DrawUml::Engine
|
31
|
+
```
|
32
|
+
|
33
|
+
And then execute:
|
34
|
+
|
35
|
+
```
|
36
|
+
$ rackup
|
29
37
|
```
|
30
38
|
|
31
39
|
Draw by selecting the model:
|
32
40
|
|
33
|
-
![
|
41
|
+
![sequence_diagram](http://ogom.github.io/draw_uml/assets/img/diagrams/sequence.png)
|
42
|
+
|
43
|
+
### Rails
|
44
|
+
|
45
|
+
Add this line to your `config/routes.rb`:
|
46
|
+
|
47
|
+
```
|
48
|
+
mount DrawUml::Engine, at: '/rails/draw/uml'
|
49
|
+
```
|
34
50
|
|
35
51
|
## Use
|
36
52
|
|
data/lib/draw_uml/version.rb
CHANGED
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.0
|
4
|
+
version: 0.1.0
|
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-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|