yuml 0.1.0

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 +7 -0
  2. data/lib/yuml.rb +13 -0
  3. metadata +58 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 508fdebd5e20dd067d21bc3172fb3e4d9c3c0f17
4
+ data.tar.gz: 12bb3693b5dfadcf8fa497edb035d20afe6913d9
5
+ SHA512:
6
+ metadata.gz: 6ff3c8a87b37206505f1ae58b1ad54f6eaaff440b48988218f0ad215f1ba6f693f3ec06f2e8b23f4fa37bb7b27bea600579ea7cbbb0322008a0991dbc59ba843
7
+ data.tar.gz: ff31268654ebcfa26f32a8208fb75a090bec511f2c4f662745fc3ec7ace043e612d83b93a029652d9b5948116ecde73ea746989c90aa9a6536d8ff16d98e9ce9
data/lib/yuml.rb ADDED
@@ -0,0 +1,13 @@
1
+ # Fetches UML from yUML
2
+ require_relative 'yuml/class'
3
+ require_relative 'yuml/relationship'
4
+
5
+ module YUML
6
+ def generate_class
7
+ y = YUML::Class.new
8
+ yield y
9
+ y
10
+ end
11
+
12
+ module_function :generate_class
13
+ end
metadata ADDED
@@ -0,0 +1,58 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: yuml
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Derek Stride
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-02-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.4'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.4'
27
+ description: A Ruby DSL for generating UML built on yuml.me
28
+ email: djgstride@gmail.com
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - lib/yuml.rb
34
+ homepage: https://github.com/DerekStride/yuml
35
+ licenses:
36
+ - MIT
37
+ metadata: {}
38
+ post_install_message:
39
+ rdoc_options: []
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ requirements: []
53
+ rubyforge_project:
54
+ rubygems_version: 2.4.5.1
55
+ signing_key:
56
+ specification_version: 4
57
+ summary: A Ruby DSL for generating UML
58
+ test_files: []