lutaml 0.4.1.pre.alpha.2 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 778331709b63955afae5ec2639758cd7d2ce68716f924552810eca11164bc2fc
|
|
4
|
+
data.tar.gz: bfcc945badadc762e377ece6d56fecb6138bcdb268837514c841fb93dc38c7d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67658e85d724a926f0487cb5441b9581800406d857c43fd3cb51fbb747e6607e188e9556a79f44a720577ae2bd8f5b93d3b5a0eebeeb89fcbfd67a66063282e3
|
|
7
|
+
data.tar.gz: 3cc650c16223c5384eb84c743c6b1f2c739adac4819ec0a8afc87be3b012938447e5cd609fbfaa6327f1fec3c4b378b1af36f065501da8a33d993b7b6e633e68
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require "lutaml/lutaml_path/document_wrapper"
|
|
2
|
-
require "
|
|
2
|
+
require "lutaml/express/lutaml_path/formatter"
|
|
3
3
|
|
|
4
4
|
module Lutaml
|
|
5
5
|
module Express
|
|
@@ -9,7 +9,7 @@ module Lutaml
|
|
|
9
9
|
|
|
10
10
|
def serialize_document(repository)
|
|
11
11
|
repository
|
|
12
|
-
.to_hash(formatter:
|
|
12
|
+
.to_hash(formatter: Formatter)['schemas']
|
|
13
13
|
end
|
|
14
14
|
end
|
|
15
15
|
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
require "expressir/express_exp/formatter"
|
|
2
|
+
require "expressir/express_exp/schema_head_formatter"
|
|
3
|
+
require "expressir/express_exp/hyperlink_formatter"
|
|
4
|
+
|
|
5
|
+
module Lutaml
|
|
6
|
+
module Express
|
|
7
|
+
module LutamlPath
|
|
8
|
+
class Formatter < Expressir::ExpressExp::Formatter
|
|
9
|
+
include Expressir::ExpressExp::SchemaHeadFormatter
|
|
10
|
+
include Expressir::ExpressExp::HyperlinkFormatter
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
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.1
|
|
4
|
+
version: 0.4.1
|
|
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-03-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lutaml-express
|
|
@@ -174,6 +174,7 @@ files:
|
|
|
174
174
|
- lib/lutaml.rb
|
|
175
175
|
- lib/lutaml/command_line.rb
|
|
176
176
|
- lib/lutaml/express/lutaml_path/document_wrapper.rb
|
|
177
|
+
- lib/lutaml/express/lutaml_path/formatter.rb
|
|
177
178
|
- lib/lutaml/formatter.rb
|
|
178
179
|
- lib/lutaml/formatter/base.rb
|
|
179
180
|
- lib/lutaml/formatter/graphviz.rb
|
|
@@ -202,9 +203,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
202
203
|
version: '0'
|
|
203
204
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
204
205
|
requirements:
|
|
205
|
-
- - "
|
|
206
|
+
- - ">="
|
|
206
207
|
- !ruby/object:Gem::Version
|
|
207
|
-
version:
|
|
208
|
+
version: '0'
|
|
208
209
|
requirements: []
|
|
209
210
|
rubygems_version: 3.0.3
|
|
210
211
|
signing_key:
|