lutaml 0.5.2 → 0.6.0

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
  SHA256:
3
- metadata.gz: c570c69bf1b1fce5a01012f692e017bd140f3298e576f2a1ac5aa28f79389e3c
4
- data.tar.gz: a63175e2fa1b7c2dd147116924f7767aa197ac9da40dc2389d646da5d4b6cf1c
3
+ metadata.gz: '02909e34c428277e9b0e79733bcb3162da4a149c4880d96d0890131f8f12115c'
4
+ data.tar.gz: d56d9a964b34c111493c7ffa0888dd2260d3d197e60bb92f4ee4aad1c236a87f
5
5
  SHA512:
6
- metadata.gz: aa45c7df071a37185d9b3fc7ca78fc54c288591da1cbc9e823546d108d76ddf60d86a220165939ffba6c62300a07c8cb7f6e93dbe5b18e8b39ed83c040e0f4ec
7
- data.tar.gz: 1939181b7331780c4b894ffb096af7ca332b3f0253d38b7a6f74c6d8b1760dfcc4f6f3d3268db4fd1fdfe6f01fa2046796b2c8febf0ef1cb694dc3a98c243567
6
+ metadata.gz: 869303f2d2cac53f2abe735f8fe1511f7cdf0443c57d8235f1e14520425b3ac3cbc5dd96d09d423a5c81d85a6539970010d880e518e4f3e48d4795a4737154a1
7
+ data.tar.gz: 1f02d2681e529d6adef066a863b0656ceb9a4c1157d094a41f3d87db04aa4edc30c984093ed5ef4b81bbbdf9fd74f09ac95a4391c039b63c72397f53e3758415
data/lib/lutaml/parser.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require "lutaml/express"
2
2
  require "lutaml/uml"
3
+ require "lutaml/xmi"
3
4
  require "lutaml/uml/lutaml_path/document_wrapper"
4
5
  require "lutaml/express/lutaml_path/document_wrapper"
5
6
  require "expressir/express_exp/cache"
@@ -40,6 +41,8 @@ module Lutaml
40
41
  Expressir::ExpressExp::Parser.from_files(file_list.map(&:path))
41
42
  when EXPRESS_CACHE_PARSE_TYPE
42
43
  Expressir::ExpressExp::Cache.from_file(file_list.first.path)
44
+ when 'xmi'
45
+ file_list.map { |file| Lutaml::XMI::Parsers::XML.parse(file) }
43
46
  when "lutaml"
44
47
  file_list.map { |file| Lutaml::Uml::Parsers::Dsl.parse(file) }
45
48
  when "yml"
@@ -1,3 +1,3 @@
1
1
  module Lutaml
2
- VERSION = "0.5.2".freeze
2
+ VERSION = "0.6.0".freeze
3
3
  end
data/lutaml.gemspec CHANGED
@@ -27,8 +27,9 @@ Gem::Specification.new do |spec|
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ["lib"]
29
29
 
30
- spec.add_runtime_dependency "lutaml-express", "~> 0.1.3"
31
- spec.add_runtime_dependency "lutaml-uml", "~> 0.2.5"
30
+ spec.add_runtime_dependency "lutaml-express"
31
+ spec.add_runtime_dependency "lutaml-uml"
32
+ spec.add_runtime_dependency "lutaml-xmi"
32
33
  spec.add_runtime_dependency "thor", "~> 1.0"
33
34
  spec.add_development_dependency "nokogiri", "~> 1.10"
34
35
 
metadata CHANGED
@@ -1,43 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lutaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-15 00:00:00.000000000 Z
11
+ date: 2021-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lutaml-express
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.3
19
+ version: '0'
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: 0.1.3
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: lutaml-uml
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.2.5
33
+ version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.2.5
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: lutaml-xmi
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: thor
43
57
  requirement: !ruby/object:Gem::Requirement