draw_uml 0.1.0 → 0.1.1

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: 0743d6b5a5abbb8dd8884ee4f6fd0e84cd6d77cf
4
- data.tar.gz: 16eef6bb817105c03073027eb518ea222ecedf22
3
+ metadata.gz: 84d21cba27e20484e4c5bd57181d5d63298df815
4
+ data.tar.gz: 589e03563c47322ebdfcef9cfe5903bb11c5f459
5
5
  SHA512:
6
- metadata.gz: c2632ef69eda0534b003f17f1f826f88d1808cba079f0f1e9c372fee5e22745790a3681df7ea001f5dba07527baba171ac952e2d8de6632f9e06ad13ea99ee96
7
- data.tar.gz: d9ffb33232b3d81061930e73ee1dcd8bd0dbd5a3c98346d4b851f0d73789ff959f33f736cca481a9e6b879d636e929d6c082adb201eb63ad45772dab6dc6ec73
6
+ metadata.gz: a8d93af670205ea2de983c87158642680c1619b4fcfd53012b9fd3fa8f59cb54c04a4bb04488690f5ab82bf1d3977449c9c6c3c29fb6cfdc5980add44111011f
7
+ data.tar.gz: 4eb2e671842556f9f0e37a2124fed0a5a41e1030be63377454b4da5d7237a1da09bcdcbb9c61ff419c65e31998d8ed3ba2b9e49ebde251aa6a09e0308b0d3b34
data/README.md CHANGED
@@ -1,9 +1,11 @@
1
- # Draw UML
1
+ # DrawUML
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/draw_uml.png)](https://rubygems.org/gems/draw_uml) [![Build Status](https://travis-ci.org/ogom/draw_uml.png?branch=master)](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
- ### Rack
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
- $ rackup
28
+ mount DrawUml::Engine, at: '/rails/draw/uml'
37
29
  ```
38
30
 
39
31
  Draw by selecting the model:
40
32
 
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
- ```
33
+ ![example](http://ogom.github.io/draw_uml/assets/img/example.png)
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
 
@@ -1,3 +1,3 @@
1
1
  module DrawUml
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -1,6 +1,6 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
- <head><title>Diagrams</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.0
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-15 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: rack