yuml 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/yuml.rb +0 -30
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d26bbbcd5645713f0d95dd6e418fd6fe1acc617f
4
- data.tar.gz: a17b1a05f2602551c70f5f94c2d49e472d70b4c7
3
+ metadata.gz: 811a4a2ebb7e0e8cdeee7e4883941b86abe70723
4
+ data.tar.gz: 33723232867eeef03a8b937fe52c45bde5cc0c78
5
5
  SHA512:
6
- metadata.gz: 81a3897f59e805c8bc2ba41c3e1f4dc1f5acde251084c541a9324273bab5871a4a9ea51a30e7c7083d8ab347232910ab99d29a7158e89ae1aed7d9000525dc24
7
- data.tar.gz: f5ffcb9409a70ce29144d6968b1cbf9613f00a5d91567f31c4e318586fcffcc27201c9f7c4680dd9194aa6eaaff04d0b3c8e24f5eb2b445a05c4dc22b8acefda
6
+ metadata.gz: 1f0d51e62b46f3db61c920cdf7bae85fa8d02f219644a3fac79f12e03e9214c2968015532b59565f0e881363d6dbc97f0fa7a7f6218c1da952ff56dde39375a4
7
+ data.tar.gz: 9590c314d085f2a58d988890bdae72ee79447ca7d5da4b7135b0992c68d082570699c9a4298e7b606e8cbcc88a2d427bca4e180333068068b1fba57b8796c0cb
data/lib/yuml.rb CHANGED
@@ -37,7 +37,6 @@ module YUML
37
37
  uml = classes.map(&:to_s).join(',')
38
38
  relationships = classes.map(&:relationships).compact
39
39
  uml << ',' << relationships.join(',') unless relationships.empty?
40
- puts uml
41
40
  URI.encode(uml, encodings)
42
41
  end
43
42
 
@@ -51,32 +50,3 @@ module YUML
51
50
  "#{ESCAPE_CHARACTERS.values.join}#{ESCAPE_COMMA}[](){}+->|,=;* "
52
51
  end
53
52
  end
54
-
55
- YUML.generate(file: 'tmp.pdf') do |uml|
56
- doc = uml.class do
57
- name 'Document'
58
- end
59
-
60
- pic = uml.class do
61
- name 'Picture'
62
- public_methods :foo
63
- end
64
-
65
- doc.has_a(pic)
66
- end
67
-
68
- YUML.generate(file: 'tmp2.pdf') do |uml|
69
- doc = uml.class do
70
- name 'Document'
71
- end
72
-
73
- pic = uml.class do
74
- name 'Picture'
75
- public_variables :fizz
76
- private_variables :buzz
77
- public_methods(foo: [:bar])
78
- private_methods(baz: ['arg = nil', 'param = {}', '*args'], lam: [:star])
79
- end
80
-
81
- doc.has_a(pic)
82
- end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yuml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Stride