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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -4
  3. data/lib/draw_uml/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd61f33a91e12c47f1a95e534cdd12c28799df53
4
- data.tar.gz: 1ae9588e9720cc9622a7c2595113eb1799e36700
3
+ metadata.gz: 0743d6b5a5abbb8dd8884ee4f6fd0e84cd6d77cf
4
+ data.tar.gz: 16eef6bb817105c03073027eb518ea222ecedf22
5
5
  SHA512:
6
- metadata.gz: aab34bc9bd3ef270800cce6e9f4553f470d04f41c92d49dc5dee0ef2913c9972f4c98e211a67ca0f25e101675f9a9f9d01745cd87662a51db8af63f1086c4bbd
7
- data.tar.gz: 0f00818298793b7a4c310df033ea0e5289cd7c469d5c6476960c8eba399d82c1e4e5ba2b4d3e9fc733d56f2df8df51ebc12878837893c566e9202f03d9040c35
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
- ### Rails
23
+ ### Rack
24
24
 
25
- Add this line to your `config/routes.rb`:
25
+ Put this line to your `config.ru`:
26
26
 
27
27
  ```
28
- mount DrawUml::Engine, at: '/rails/draw/uml'
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
- ![example_uml](http://ogom.github.io/draw_uml/assets/img/example_uml.png)
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
 
@@ -1,3 +1,3 @@
1
1
  module DrawUml
2
- VERSION = '0.0.6'
2
+ VERSION = '0.1.0'
3
3
  end
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.6
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-14 00:00:00.000000000 Z
11
+ date: 2014-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack