lutaml-uml 0.4.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +22 -0
- data/Gemfile +1 -5
- data/README.adoc +4 -42
- data/Rakefile +0 -5
- data/lutaml-uml.gemspec +23 -38
- metadata +20 -292
- data/.github/workflows/macos.yml +0 -38
- data/.github/workflows/ubuntu.yml +0 -40
- data/.github/workflows/windows.yml +0 -51
- data/.gitignore +0 -12
- data/.rspec +0 -3
- data/.travis.yml +0 -6
- data/CODE_OF_CONDUCT.md +0 -74
- data/LUTAML.adoc +0 -372
- data/bin/console +0 -15
- data/bin/folder_yaml2lutaml.sh +0 -6
- data/bin/plantuml2lutaml +0 -59
- data/bin/setup +0 -8
- data/bin/yaml2lutaml +0 -144
- data/exe/lutaml-wsd2uml +0 -59
- data/exe/lutaml-yaml2uml +0 -144
- data/lib/lutaml/layout/engine.rb +0 -15
- data/lib/lutaml/layout/graph_viz_engine.rb +0 -19
- data/lib/lutaml/uml/abstraction.rb +0 -11
- data/lib/lutaml/uml/activity.rb +0 -11
- data/lib/lutaml/uml/actor.rb +0 -19
- data/lib/lutaml/uml/association.rb +0 -43
- data/lib/lutaml/uml/behavior.rb +0 -11
- data/lib/lutaml/uml/class.rb +0 -83
- data/lib/lutaml/uml/classifier.rb +0 -11
- data/lib/lutaml/uml/connector.rb +0 -21
- data/lib/lutaml/uml/constraint.rb +0 -12
- data/lib/lutaml/uml/constructor_end.rb +0 -16
- data/lib/lutaml/uml/data_type.rb +0 -75
- data/lib/lutaml/uml/dependency.rb +0 -21
- data/lib/lutaml/uml/diagram.rb +0 -8
- data/lib/lutaml/uml/document.rb +0 -81
- data/lib/lutaml/uml/enum.rb +0 -45
- data/lib/lutaml/uml/event.rb +0 -12
- data/lib/lutaml/uml/final_state.rb +0 -11
- data/lib/lutaml/uml/formatter/base.rb +0 -67
- data/lib/lutaml/uml/formatter/graphviz.rb +0 -334
- data/lib/lutaml/uml/formatter.rb +0 -21
- data/lib/lutaml/uml/has_attributes.rb +0 -14
- data/lib/lutaml/uml/has_members.rb +0 -30
- data/lib/lutaml/uml/instance.rb +0 -17
- data/lib/lutaml/uml/model.rb +0 -13
- data/lib/lutaml/uml/node/base.rb +0 -21
- data/lib/lutaml/uml/node/class_node.rb +0 -57
- data/lib/lutaml/uml/node/class_relationship.rb +0 -14
- data/lib/lutaml/uml/node/document.rb +0 -18
- data/lib/lutaml/uml/node/field.rb +0 -34
- data/lib/lutaml/uml/node/has_name.rb +0 -15
- data/lib/lutaml/uml/node/has_type.rb +0 -15
- data/lib/lutaml/uml/node/method.rb +0 -29
- data/lib/lutaml/uml/node/method_argument.rb +0 -16
- data/lib/lutaml/uml/node/relationship.rb +0 -28
- data/lib/lutaml/uml/opaque_behavior.rb +0 -11
- data/lib/lutaml/uml/operation.rb +0 -31
- data/lib/lutaml/uml/package.rb +0 -53
- data/lib/lutaml/uml/parsers/attribute.rb +0 -70
- data/lib/lutaml/uml/parsers/dsl.rb +0 -413
- data/lib/lutaml/uml/parsers/dsl_preprocessor.rb +0 -59
- data/lib/lutaml/uml/parsers/dsl_transform.rb +0 -27
- data/lib/lutaml/uml/parsers/yaml.rb +0 -46
- data/lib/lutaml/uml/port.rb +0 -8
- data/lib/lutaml/uml/primitive_type.rb +0 -14
- data/lib/lutaml/uml/property.rb +0 -27
- data/lib/lutaml/uml/pseudostate.rb +0 -11
- data/lib/lutaml/uml/realization.rb +0 -11
- data/lib/lutaml/uml/region.rb +0 -12
- data/lib/lutaml/uml/serializers/association.rb +0 -58
- data/lib/lutaml/uml/serializers/base.rb +0 -16
- data/lib/lutaml/uml/serializers/class.rb +0 -29
- data/lib/lutaml/uml/serializers/top_element_attribute.rb +0 -14
- data/lib/lutaml/uml/serializers/yaml_view.rb +0 -18
- data/lib/lutaml/uml/state.rb +0 -12
- data/lib/lutaml/uml/state_machine.rb +0 -12
- data/lib/lutaml/uml/top_element.rb +0 -58
- data/lib/lutaml/uml/top_element_attribute.rb +0 -38
- data/lib/lutaml/uml/transition.rb +0 -12
- data/lib/lutaml/uml/trigger.rb +0 -12
- data/lib/lutaml/uml/value.rb +0 -30
- data/lib/lutaml/uml/version.rb +0 -7
- data/lib/lutaml/uml/vertex.rb +0 -11
- data/lib/lutaml/uml.rb +0 -13
- data/spec/fixtures/datamodel/models/AddressClassProfile.yml +0 -90
- data/spec/fixtures/datamodel/models/AddressComponentProfile.yml +0 -63
- data/spec/fixtures/datamodel/models/AddressComponentSpecification.yml +0 -15
- data/spec/fixtures/datamodel/models/AddressProfile.yml +0 -36
- data/spec/fixtures/datamodel/models/AttributeProfile.yml +0 -32
- data/spec/fixtures/datamodel/models/InterchangeAddressClassProfile.yml +0 -79
- data/spec/fixtures/datamodel/models/Localization copy.yml +0 -23
- data/spec/fixtures/datamodel/models/Localization.yml +0 -23
- data/spec/fixtures/datamodel/models/ProfileCompliantAddress.yml +0 -36
- data/spec/fixtures/datamodel/models/ProfileCompliantAddressComponent.yml +0 -15
- data/spec/fixtures/datamodel/models/Signature.yml +0 -20
- data/spec/fixtures/datamodel/models/SignatureBlankDefinition.yml +0 -20
- data/spec/fixtures/datamodel/models/TextDirectionCode copy.yml +0 -16
- data/spec/fixtures/datamodel/models/TextDirectionCode.yml +0 -16
- data/spec/fixtures/datamodel/models/Validity.yml +0 -14
- data/spec/fixtures/datamodel/models/iso19160-1/Address.yml +0 -22
- data/spec/fixtures/datamodel/models/iso19160-1/AddressComponent.yml +0 -2
- data/spec/fixtures/datamodel/style.uml.inc +0 -37
- data/spec/fixtures/datamodel/views/AddressClassProfile.yml +0 -12
- data/spec/fixtures/datamodel/views/AddressProfile.yml +0 -3
- data/spec/fixtures/datamodel/views/CommonModels.yml +0 -9
- data/spec/fixtures/datamodel/views/TopDown.yml +0 -62
- data/spec/fixtures/dsl/broken_diagram.lutaml +0 -34
- data/spec/fixtures/dsl/diagram.lutaml +0 -3
- data/spec/fixtures/dsl/diagram_attributes.lutaml +0 -6
- data/spec/fixtures/dsl/diagram_blank_definion.lutaml +0 -6
- data/spec/fixtures/dsl/diagram_blank_entities.lutaml +0 -8
- data/spec/fixtures/dsl/diagram_class_assocation.lutaml +0 -29
- data/spec/fixtures/dsl/diagram_class_fields.lutaml +0 -25
- data/spec/fixtures/dsl/diagram_commented_includes.lutaml +0 -5
- data/spec/fixtures/dsl/diagram_comments.lutaml +0 -28
- data/spec/fixtures/dsl/diagram_concept_model.lutaml +0 -132
- data/spec/fixtures/dsl/diagram_data_types.lutaml +0 -44
- data/spec/fixtures/dsl/diagram_definitions.lutaml +0 -25
- data/spec/fixtures/dsl/diagram_includes.lutaml +0 -6
- data/spec/fixtures/dsl/diagram_multiply_classes.lutaml +0 -7
- data/spec/fixtures/dsl/diagram_non_existing_include.lutaml +0 -6
- data/spec/fixtures/dsl/shared.lutaml +0 -3
- data/spec/fixtures/dsl/shared1.lutaml +0 -4
- data/spec/fixtures/generated_dot/AddressClassProfile.dot +0 -170
- data/spec/fixtures/generated_dot/AddressProfile.dot +0 -34
- data/spec/lutaml/layout/graph_viz_engine_spec.rb +0 -31
- data/spec/lutaml/uml/formatter/graphviz_spec.rb +0 -41
- data/spec/lutaml/uml/parsers/dsl_spec.rb +0 -345
- data/spec/lutaml/uml/parsers/yaml_spec.rb +0 -18
- data/spec/lutaml/uml/serializers/yaml_view_spec.rb +0 -20
- data/spec/lutaml/uml_spec.rb +0 -7
- data/spec/spec_helper.rb +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0238e06ac1e2e6b8e023b40dc5d40dabda22f7abc57978f11ec926eb8b50563b'
|
4
|
+
data.tar.gz: 2884b95e65718b744f5f08237fc9c2035c53e61ab07176a613e8d19ba70d4c3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc3304260663b789bbb11d6acb121eb597a00db1264ca797d775ccb64f4d112f97e6858a3c6a526ed6827814a8559569b3fd279ae3ffc87b2046290a66d74480
|
7
|
+
data.tar.gz: 71330a547bc7a310f26920ddee61e8ae2fe54417ec12e2822f1b676765acc6d94937ed24c95e34d6ea5162b61bddfecfc74b4534bcbe45a0342a7190a77909d9
|
@@ -0,0 +1,22 @@
|
|
1
|
+
name: release
|
2
|
+
|
3
|
+
on:
|
4
|
+
workflow_dispatch:
|
5
|
+
inputs:
|
6
|
+
next_version:
|
7
|
+
description: |
|
8
|
+
Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
|
9
|
+
required: true
|
10
|
+
default: 'skip'
|
11
|
+
push:
|
12
|
+
tags: [ v* ]
|
13
|
+
|
14
|
+
jobs:
|
15
|
+
release:
|
16
|
+
uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
|
17
|
+
with:
|
18
|
+
next_version: ${{ github.event.inputs.next_version }}
|
19
|
+
secrets:
|
20
|
+
rubygems-api-key: ${{ secrets.LUTAML_CI_RUBYGEMS_API_KEY }}
|
21
|
+
pat_token: ${{ secrets.LUTAML_CI_PAT_TOKEN }}
|
22
|
+
|
data/Gemfile
CHANGED
data/README.adoc
CHANGED
@@ -1,44 +1,6 @@
|
|
1
|
-
|
1
|
+
= lutaml-uml
|
2
2
|
|
3
|
-
|
3
|
+
This repository has been merged into LutaML. See:
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
image:https://github.com/lutaml/lutaml-uml/actions/workflows/windows.yml/badge.svg["windows", link="https://github.com/lutaml/lutaml-uml/actions/workflows/windows.yml"]
|
8
|
-
|
9
|
-
Lutaml is a language for specifying UML class diagrams and a tool for converting it into various different formats.
|
10
|
-
|
11
|
-
## Install
|
12
|
-
|
13
|
-
### Bundler: `gem "lutaml-uml"`
|
14
|
-
|
15
|
-
### RubyGems: `gem install lutaml-uml`
|
16
|
-
|
17
|
-
## Language
|
18
|
-
|
19
|
-
See link:LUTAML.adoc[LUTAML.adoc]
|
20
|
-
|
21
|
-
## Usage
|
22
|
-
|
23
|
-
Converter executables are available:
|
24
|
-
|
25
|
-
* PlantUML WSD to LutaML UML: `lutaml-wsd2uml`
|
26
|
-
* LutaML YAML to LutaML UML: `lutaml-yaml2uml`
|
27
|
-
|
28
|
-
EXAMPLE: `lutaml-wsd2uml mn/metanorma-model-standoc/models/StandardDoc_Blocks_New.wsd`
|
29
|
-
|
30
|
-
|
31
|
-
## Development
|
32
|
-
|
33
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
34
|
-
|
35
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
36
|
-
|
37
|
-
## Contributing
|
38
|
-
|
39
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/lutaml-uml. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/lutaml-uml/blob/master/CODE_OF_CONDUCT.md).
|
40
|
-
|
41
|
-
|
42
|
-
## Code of Conduct
|
43
|
-
|
44
|
-
Everyone interacting in the Lutaml::Uml project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/lutaml-uml/blob/master/CODE_OF_CONDUCT.md).
|
5
|
+
* https://github.com/lutaml/lutaml/
|
6
|
+
* https://github.com/lutaml/lutaml/tree/main/lib/lutaml/uml
|
data/Rakefile
CHANGED
data/lutaml-uml.gemspec
CHANGED
@@ -1,39 +1,24 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
spec.require_paths = ["lib"]
|
25
|
-
spec.executables = %w[lutaml-wsd2uml lutaml-yaml2uml]
|
26
|
-
|
27
|
-
spec.add_runtime_dependency "hashie", "~> 4.1.0"
|
28
|
-
spec.add_runtime_dependency "parslet", "~> 2.0.0"
|
29
|
-
spec.add_runtime_dependency "ruby-graphviz", "~> 1.2"
|
30
|
-
spec.add_runtime_dependency "thor", "~> 1.0"
|
31
|
-
spec.add_runtime_dependency "nokogiri", "~> 1.10"
|
32
|
-
|
33
|
-
spec.add_development_dependency "bundler", "~> 2.0"
|
34
|
-
spec.add_development_dependency "byebug"
|
35
|
-
spec.add_development_dependency "pry", "~> 0.12.2"
|
36
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
37
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
38
|
-
spec.add_development_dependency "rubocop", "~> 0.54.0"
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = "lutaml-uml"
|
5
|
+
s.version = "1.0.0"
|
6
|
+
s.authors = ["Ribose Inc."]
|
7
|
+
s.email = ["open.source@ribose.com"]
|
8
|
+
|
9
|
+
s.homepage = "http://github.com/lutaml/lutaml"
|
10
|
+
s.summary = "Lutaml stub gem for lutaml-uml"
|
11
|
+
s.description = "Lutaml stub gem for lutaml-uml"
|
12
|
+
s.license = "BSD-2-Clause"
|
13
|
+
|
14
|
+
s.files = `git ls-files`.split("\n")
|
15
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
|
+
s.executables = `git ls-files -- exe/*`.split("\n").map do |f|
|
17
|
+
File.basename(f)
|
18
|
+
end
|
19
|
+
s.bindir = "exe"
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
s.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
|
22
|
+
|
23
|
+
s.add_dependency "lutaml", "> 0.7.7"
|
39
24
|
end
|
metadata
CHANGED
@@ -1,318 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lutaml-uml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: lutaml
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.7.7
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
27
|
-
-
|
28
|
-
name: parslet
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 2.0.0
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 2.0.0
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: ruby-graphviz
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.2'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.2'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: thor
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.0'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '1.0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: nokogiri
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '1.10'
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '1.10'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: bundler
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '2.0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '2.0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: byebug
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: pry
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 0.12.2
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 0.12.2
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rake
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '10.0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '10.0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rspec
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '3.0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '3.0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: rubocop
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: 0.54.0
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: 0.54.0
|
167
|
-
description: UML model module for LutaML.
|
26
|
+
version: 0.7.7
|
27
|
+
description: Lutaml stub gem for lutaml-uml
|
168
28
|
email:
|
169
|
-
- open.source@ribose.com
|
170
|
-
executables:
|
171
|
-
- lutaml-wsd2uml
|
172
|
-
- lutaml-yaml2uml
|
29
|
+
- open.source@ribose.com
|
30
|
+
executables: []
|
173
31
|
extensions: []
|
174
32
|
extra_rdoc_files: []
|
175
33
|
files:
|
176
|
-
- ".github/workflows/
|
177
|
-
- ".github/workflows/ubuntu.yml"
|
178
|
-
- ".github/workflows/windows.yml"
|
179
|
-
- ".gitignore"
|
180
|
-
- ".rspec"
|
181
|
-
- ".travis.yml"
|
182
|
-
- CODE_OF_CONDUCT.md
|
34
|
+
- ".github/workflows/release.yml"
|
183
35
|
- Gemfile
|
184
|
-
- LUTAML.adoc
|
185
36
|
- README.adoc
|
186
37
|
- Rakefile
|
187
|
-
- bin/console
|
188
|
-
- bin/folder_yaml2lutaml.sh
|
189
|
-
- bin/plantuml2lutaml
|
190
|
-
- bin/setup
|
191
|
-
- bin/yaml2lutaml
|
192
|
-
- exe/lutaml-wsd2uml
|
193
|
-
- exe/lutaml-yaml2uml
|
194
|
-
- lib/lutaml/layout/engine.rb
|
195
|
-
- lib/lutaml/layout/graph_viz_engine.rb
|
196
|
-
- lib/lutaml/uml.rb
|
197
|
-
- lib/lutaml/uml/abstraction.rb
|
198
|
-
- lib/lutaml/uml/activity.rb
|
199
|
-
- lib/lutaml/uml/actor.rb
|
200
|
-
- lib/lutaml/uml/association.rb
|
201
|
-
- lib/lutaml/uml/behavior.rb
|
202
|
-
- lib/lutaml/uml/class.rb
|
203
|
-
- lib/lutaml/uml/classifier.rb
|
204
|
-
- lib/lutaml/uml/connector.rb
|
205
|
-
- lib/lutaml/uml/constraint.rb
|
206
|
-
- lib/lutaml/uml/constructor_end.rb
|
207
|
-
- lib/lutaml/uml/data_type.rb
|
208
|
-
- lib/lutaml/uml/dependency.rb
|
209
|
-
- lib/lutaml/uml/diagram.rb
|
210
|
-
- lib/lutaml/uml/document.rb
|
211
|
-
- lib/lutaml/uml/enum.rb
|
212
|
-
- lib/lutaml/uml/event.rb
|
213
|
-
- lib/lutaml/uml/final_state.rb
|
214
|
-
- lib/lutaml/uml/formatter.rb
|
215
|
-
- lib/lutaml/uml/formatter/base.rb
|
216
|
-
- lib/lutaml/uml/formatter/graphviz.rb
|
217
|
-
- lib/lutaml/uml/has_attributes.rb
|
218
|
-
- lib/lutaml/uml/has_members.rb
|
219
|
-
- lib/lutaml/uml/instance.rb
|
220
|
-
- lib/lutaml/uml/model.rb
|
221
|
-
- lib/lutaml/uml/node/base.rb
|
222
|
-
- lib/lutaml/uml/node/class_node.rb
|
223
|
-
- lib/lutaml/uml/node/class_relationship.rb
|
224
|
-
- lib/lutaml/uml/node/document.rb
|
225
|
-
- lib/lutaml/uml/node/field.rb
|
226
|
-
- lib/lutaml/uml/node/has_name.rb
|
227
|
-
- lib/lutaml/uml/node/has_type.rb
|
228
|
-
- lib/lutaml/uml/node/method.rb
|
229
|
-
- lib/lutaml/uml/node/method_argument.rb
|
230
|
-
- lib/lutaml/uml/node/relationship.rb
|
231
|
-
- lib/lutaml/uml/opaque_behavior.rb
|
232
|
-
- lib/lutaml/uml/operation.rb
|
233
|
-
- lib/lutaml/uml/package.rb
|
234
|
-
- lib/lutaml/uml/parsers/attribute.rb
|
235
|
-
- lib/lutaml/uml/parsers/dsl.rb
|
236
|
-
- lib/lutaml/uml/parsers/dsl_preprocessor.rb
|
237
|
-
- lib/lutaml/uml/parsers/dsl_transform.rb
|
238
|
-
- lib/lutaml/uml/parsers/yaml.rb
|
239
|
-
- lib/lutaml/uml/port.rb
|
240
|
-
- lib/lutaml/uml/primitive_type.rb
|
241
|
-
- lib/lutaml/uml/property.rb
|
242
|
-
- lib/lutaml/uml/pseudostate.rb
|
243
|
-
- lib/lutaml/uml/realization.rb
|
244
|
-
- lib/lutaml/uml/region.rb
|
245
|
-
- lib/lutaml/uml/serializers/association.rb
|
246
|
-
- lib/lutaml/uml/serializers/base.rb
|
247
|
-
- lib/lutaml/uml/serializers/class.rb
|
248
|
-
- lib/lutaml/uml/serializers/top_element_attribute.rb
|
249
|
-
- lib/lutaml/uml/serializers/yaml_view.rb
|
250
|
-
- lib/lutaml/uml/state.rb
|
251
|
-
- lib/lutaml/uml/state_machine.rb
|
252
|
-
- lib/lutaml/uml/top_element.rb
|
253
|
-
- lib/lutaml/uml/top_element_attribute.rb
|
254
|
-
- lib/lutaml/uml/transition.rb
|
255
|
-
- lib/lutaml/uml/trigger.rb
|
256
|
-
- lib/lutaml/uml/value.rb
|
257
|
-
- lib/lutaml/uml/version.rb
|
258
|
-
- lib/lutaml/uml/vertex.rb
|
259
38
|
- lutaml-uml.gemspec
|
260
|
-
|
261
|
-
- spec/fixtures/datamodel/models/AddressComponentProfile.yml
|
262
|
-
- spec/fixtures/datamodel/models/AddressComponentSpecification.yml
|
263
|
-
- spec/fixtures/datamodel/models/AddressProfile.yml
|
264
|
-
- spec/fixtures/datamodel/models/AttributeProfile.yml
|
265
|
-
- spec/fixtures/datamodel/models/InterchangeAddressClassProfile.yml
|
266
|
-
- spec/fixtures/datamodel/models/Localization copy.yml
|
267
|
-
- spec/fixtures/datamodel/models/Localization.yml
|
268
|
-
- spec/fixtures/datamodel/models/ProfileCompliantAddress.yml
|
269
|
-
- spec/fixtures/datamodel/models/ProfileCompliantAddressComponent.yml
|
270
|
-
- spec/fixtures/datamodel/models/Signature.yml
|
271
|
-
- spec/fixtures/datamodel/models/SignatureBlankDefinition.yml
|
272
|
-
- spec/fixtures/datamodel/models/TextDirectionCode copy.yml
|
273
|
-
- spec/fixtures/datamodel/models/TextDirectionCode.yml
|
274
|
-
- spec/fixtures/datamodel/models/Validity.yml
|
275
|
-
- spec/fixtures/datamodel/models/iso19160-1/Address.yml
|
276
|
-
- spec/fixtures/datamodel/models/iso19160-1/AddressComponent.yml
|
277
|
-
- spec/fixtures/datamodel/style.uml.inc
|
278
|
-
- spec/fixtures/datamodel/views/AddressClassProfile.yml
|
279
|
-
- spec/fixtures/datamodel/views/AddressProfile.yml
|
280
|
-
- spec/fixtures/datamodel/views/CommonModels.yml
|
281
|
-
- spec/fixtures/datamodel/views/TopDown.yml
|
282
|
-
- spec/fixtures/dsl/broken_diagram.lutaml
|
283
|
-
- spec/fixtures/dsl/diagram.lutaml
|
284
|
-
- spec/fixtures/dsl/diagram_attributes.lutaml
|
285
|
-
- spec/fixtures/dsl/diagram_blank_definion.lutaml
|
286
|
-
- spec/fixtures/dsl/diagram_blank_entities.lutaml
|
287
|
-
- spec/fixtures/dsl/diagram_class_assocation.lutaml
|
288
|
-
- spec/fixtures/dsl/diagram_class_fields.lutaml
|
289
|
-
- spec/fixtures/dsl/diagram_commented_includes.lutaml
|
290
|
-
- spec/fixtures/dsl/diagram_comments.lutaml
|
291
|
-
- spec/fixtures/dsl/diagram_concept_model.lutaml
|
292
|
-
- spec/fixtures/dsl/diagram_data_types.lutaml
|
293
|
-
- spec/fixtures/dsl/diagram_definitions.lutaml
|
294
|
-
- spec/fixtures/dsl/diagram_includes.lutaml
|
295
|
-
- spec/fixtures/dsl/diagram_multiply_classes.lutaml
|
296
|
-
- spec/fixtures/dsl/diagram_non_existing_include.lutaml
|
297
|
-
- spec/fixtures/dsl/shared.lutaml
|
298
|
-
- spec/fixtures/dsl/shared1.lutaml
|
299
|
-
- spec/fixtures/generated_dot/AddressClassProfile.dot
|
300
|
-
- spec/fixtures/generated_dot/AddressProfile.dot
|
301
|
-
- spec/lutaml/layout/graph_viz_engine_spec.rb
|
302
|
-
- spec/lutaml/uml/formatter/graphviz_spec.rb
|
303
|
-
- spec/lutaml/uml/parsers/dsl_spec.rb
|
304
|
-
- spec/lutaml/uml/parsers/yaml_spec.rb
|
305
|
-
- spec/lutaml/uml/serializers/yaml_view_spec.rb
|
306
|
-
- spec/lutaml/uml_spec.rb
|
307
|
-
- spec/spec_helper.rb
|
308
|
-
homepage: https://github.com/lutaml/lutaml-uml
|
39
|
+
homepage: http://github.com/lutaml/lutaml
|
309
40
|
licenses:
|
310
|
-
-
|
311
|
-
metadata:
|
312
|
-
|
313
|
-
source_code_uri: https://github.com/lutaml/lutaml-uml
|
314
|
-
changelog_uri: https://github.com/lutaml/lutaml-uml/releases
|
315
|
-
post_install_message:
|
41
|
+
- BSD-2-Clause
|
42
|
+
metadata: {}
|
43
|
+
post_install_message:
|
316
44
|
rdoc_options: []
|
317
45
|
require_paths:
|
318
46
|
- lib
|
@@ -320,15 +48,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
320
48
|
requirements:
|
321
49
|
- - ">="
|
322
50
|
- !ruby/object:Gem::Version
|
323
|
-
version:
|
51
|
+
version: 2.7.0
|
324
52
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
325
53
|
requirements:
|
326
54
|
- - ">="
|
327
55
|
- !ruby/object:Gem::Version
|
328
56
|
version: '0'
|
329
57
|
requirements: []
|
330
|
-
rubygems_version: 3.
|
331
|
-
signing_key:
|
58
|
+
rubygems_version: 3.3.27
|
59
|
+
signing_key:
|
332
60
|
specification_version: 4
|
333
|
-
summary:
|
61
|
+
summary: Lutaml stub gem for lutaml-uml
|
334
62
|
test_files: []
|
data/.github/workflows/macos.yml
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
name: macos
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches: [ master ]
|
6
|
-
pull_request:
|
7
|
-
paths-ignore:
|
8
|
-
- .github/workflows/ubuntu.yml
|
9
|
-
- .github/workflows/windows.yml
|
10
|
-
|
11
|
-
jobs:
|
12
|
-
test-macos:
|
13
|
-
name: Test on Ruby ${{ matrix.ruby }} macOS
|
14
|
-
runs-on: macos-latest
|
15
|
-
continue-on-error: ${{ matrix.experimental }}
|
16
|
-
strategy:
|
17
|
-
fail-fast: false
|
18
|
-
matrix:
|
19
|
-
ruby: [ '2.6', '2.5', '2.4' ]
|
20
|
-
experimental: [false]
|
21
|
-
include:
|
22
|
-
- ruby: '2.7'
|
23
|
-
experimental: true
|
24
|
-
steps:
|
25
|
-
- uses: actions/checkout@master
|
26
|
-
- name: Use Ruby
|
27
|
-
uses: actions/setup-ruby@v1
|
28
|
-
with:
|
29
|
-
ruby-version: ${{ matrix.ruby }}
|
30
|
-
- name: Update gems
|
31
|
-
run: |
|
32
|
-
sudo gem install bundler --force
|
33
|
-
bundle install --jobs 4 --retry 3
|
34
|
-
- name: Install Grpahviz macOS
|
35
|
-
run: brew install graphviz
|
36
|
-
- name: Run specs
|
37
|
-
run: |
|
38
|
-
bundle exec rake
|
@@ -1,40 +0,0 @@
|
|
1
|
-
name: ubuntu
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches: [ master ]
|
6
|
-
tags:
|
7
|
-
- '*'
|
8
|
-
pull_request:
|
9
|
-
paths-ignore:
|
10
|
-
- .github/workflows/macos.yml
|
11
|
-
- .github/workflows/windows.yml
|
12
|
-
|
13
|
-
jobs:
|
14
|
-
test-linux:
|
15
|
-
name: Test on Ruby ${{ matrix.ruby }} Ubuntu
|
16
|
-
runs-on: ubuntu-latest
|
17
|
-
continue-on-error: ${{ matrix.experimental }}
|
18
|
-
strategy:
|
19
|
-
fail-fast: false
|
20
|
-
matrix:
|
21
|
-
ruby: [ '2.6', '2.5' ]
|
22
|
-
experimental: [false]
|
23
|
-
include:
|
24
|
-
- ruby: '2.7'
|
25
|
-
experimental: true
|
26
|
-
steps:
|
27
|
-
- uses: actions/checkout@master
|
28
|
-
- name: Use Ruby
|
29
|
-
uses: actions/setup-ruby@v1
|
30
|
-
with:
|
31
|
-
ruby-version: ${{ matrix.ruby }}
|
32
|
-
- name: Update gems
|
33
|
-
run: |
|
34
|
-
gem install bundler
|
35
|
-
bundle install --jobs 4 --retry 3
|
36
|
-
- name: Install Grpahviz Ubuntu
|
37
|
-
run: sudo apt-get install graphviz
|
38
|
-
- name: Run specs
|
39
|
-
run: |
|
40
|
-
bundle exec rake
|
@@ -1,51 +0,0 @@
|
|
1
|
-
name: windows
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches: [ master ]
|
6
|
-
pull_request:
|
7
|
-
paths-ignore:
|
8
|
-
- .github/workflows/macos.yml
|
9
|
-
- .github/workflows/ubuntu.yml
|
10
|
-
|
11
|
-
jobs:
|
12
|
-
test-windows:
|
13
|
-
name: Test on Ruby ${{ matrix.ruby }} Windows
|
14
|
-
runs-on: windows-latest
|
15
|
-
continue-on-error: ${{ matrix.experimental }}
|
16
|
-
strategy:
|
17
|
-
fail-fast: false
|
18
|
-
matrix:
|
19
|
-
ruby: [ '2.6', '2.5', '2.4' ]
|
20
|
-
experimental: [false]
|
21
|
-
# Does not supported yet:
|
22
|
-
# Ruby (< 2.7.dev, >= 2.3), which is required by gem 'nokogiri (~> 1.10)', is not
|
23
|
-
# available in the local ruby installation
|
24
|
-
# include:
|
25
|
-
# - ruby: '2.7'
|
26
|
-
# experimental: true
|
27
|
-
steps:
|
28
|
-
- uses: actions/checkout@master
|
29
|
-
- name: Use Ruby
|
30
|
-
uses: actions/setup-ruby@v1
|
31
|
-
with:
|
32
|
-
ruby-version: ${{ matrix.ruby }}
|
33
|
-
- name: Update gems
|
34
|
-
shell: pwsh
|
35
|
-
run: |
|
36
|
-
gem install bundler
|
37
|
-
bundle config --local path vendor/bundle
|
38
|
-
bundle install --jobs 4 --retry 3
|
39
|
-
- name: Install graphviz
|
40
|
-
uses: nick-invision/retry@v1
|
41
|
-
with:
|
42
|
-
polling_interval_seconds: 5
|
43
|
-
timeout_minutes: 5
|
44
|
-
max_attempts: 3
|
45
|
-
command: choco install --no-progress graphviz --version 2.38.0.20190211
|
46
|
-
- name: Check dot command
|
47
|
-
run: |
|
48
|
-
dot -?
|
49
|
-
- name: Run specs
|
50
|
-
run: |
|
51
|
-
bundle exec rake
|
data/.gitignore
DELETED
data/.rspec
DELETED