lutaml 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lutaml/express/lutaml_path/formatter.rb +6 -6
- data/lib/lutaml/parser.rb +3 -3
- data/lib/lutaml/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e567451b5036eb1068b2b87c3b27e3536830e648020994119f4588884689d1ec
|
4
|
+
data.tar.gz: f02aeff378a3f805d455fd78d9626c6328edb08fdf56c824ac88d3a32d9734f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e3c659130912d34ca2ee7a4959ac8a5d4aef44d825bda7b9f5241185ed894c257474c4da9fa5182b3daa9012fa7c0dbd0238364f87f84501e1d6309f58e32c7
|
7
|
+
data.tar.gz: 0da4238a756bc875831991c14b77db36e471fd9c955ce4bac2c536200f54d707136d63e82e02b108f3c9f1c08786c4f8aa8502e2157cfc407056fbd5d912d039
|
@@ -1,13 +1,13 @@
|
|
1
|
-
require "expressir/
|
2
|
-
require "expressir/
|
3
|
-
require "expressir/
|
1
|
+
require "expressir/express/formatter"
|
2
|
+
require "expressir/express/schema_head_formatter"
|
3
|
+
require "expressir/express/hyperlink_formatter"
|
4
4
|
|
5
5
|
module Lutaml
|
6
6
|
module Express
|
7
7
|
module LutamlPath
|
8
|
-
class Formatter < Expressir::
|
9
|
-
include Expressir::
|
10
|
-
include Expressir::
|
8
|
+
class Formatter < Expressir::Express::Formatter
|
9
|
+
include Expressir::Express::SchemaHeadFormatter
|
10
|
+
include Expressir::Express::HyperlinkFormatter
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
data/lib/lutaml/parser.rb
CHANGED
@@ -3,7 +3,7 @@ require "lutaml/uml"
|
|
3
3
|
require "lutaml/xmi"
|
4
4
|
require "lutaml/uml/lutaml_path/document_wrapper"
|
5
5
|
require "lutaml/express/lutaml_path/document_wrapper"
|
6
|
-
require "expressir/
|
6
|
+
require "expressir/express/cache"
|
7
7
|
|
8
8
|
module Lutaml
|
9
9
|
class Parser
|
@@ -38,9 +38,9 @@ module Lutaml
|
|
38
38
|
def parse_into_document
|
39
39
|
case parse_type
|
40
40
|
when "exp"
|
41
|
-
Expressir::
|
41
|
+
Expressir::Express::Parser.from_files(file_list.map(&:path))
|
42
42
|
when EXPRESS_CACHE_PARSE_TYPE
|
43
|
-
Expressir::
|
43
|
+
Expressir::Express::Cache.from_file(file_list.first.path)
|
44
44
|
when 'xmi'
|
45
45
|
file_list.map { |file| Lutaml::XMI::Parsers::XML.parse(file) }
|
46
46
|
when "lutaml"
|
data/lib/lutaml/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lutaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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-
|
11
|
+
date: 2021-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lutaml-express
|