lutaml-express 0.1.3 → 0.1.4

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: f34f7644f589ec8fee5d8d08c8bc1a94b9633b9981c86e786f0d01175d583daf
4
- data.tar.gz: 3b2ea7c09bd9021152b855a69a61fc8330162c745ec1f18f23bbe8733d44b6b6
3
+ metadata.gz: 2afd4694b629baf6292d7af41eae646965d6ec62a25ca3f6aef0421fd78d6662
4
+ data.tar.gz: bf3746f7f4ef3d07a639ece05c187c0e02a3cf0f73880eafa2bc735607a5798e
5
5
  SHA512:
6
- metadata.gz: a79138319ca3b397630ef34b0bd5e9841258eb2b7f51258b79aed99894aa7fe1351877d5c3b377b4e9a795ddcb7c7d88dbf3ab6bb0e923264ab3690a8a1cf7b2
7
- data.tar.gz: 571a88b4784eefc9e24ce2e23886d15d2fdde06c6b986a1b6da55e3924113f3ef6738d698d485f1e3ba91fc917180586d6659b67052be652a05204d165964d08
6
+ metadata.gz: 2342c4721df180a7d15edbc46ddd10b42cc24333a55e347b12e8cbdb9021530c526a08f273684404217c8b21e57754212d052a04e850977978cf84d3583249b4
7
+ data.tar.gz: 9de725fc639ec77e601c9b2433fd72b2bb3e9448547d48aa482d7c8d7b723da9326f293c62d311c1c2556e8bda54d2f125cc662b2f29cb7722eed3a0e23ff66e
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lutaml
4
4
  module Express
5
- VERSION = "0.1.3"
5
+ VERSION = "0.1.4"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lutaml-express
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -130,7 +130,6 @@ files:
130
130
  - lib/lutaml/express/version.rb
131
131
  - lutaml-express.gemspec
132
132
  - spec/express/express_spec.rb
133
- - spec/express/lutaml_path/document_wrapper_spec.rb
134
133
  - spec/express/parsers/exp_spec.rb
135
134
  - spec/fixtures/test.exp
136
135
  - spec/spec_helper.rb
@@ -1,38 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "spec_helper"
4
-
5
- RSpec.describe Lutaml::Express::LutamlPath::DocumentWrapper do
6
- describe ".parse" do
7
- subject(:lutaml_path) { described_class.new(repository) }
8
- subject(:serialized_document) do
9
- lutaml_path.serialized_document
10
- end
11
-
12
- context "when simple diagram without attributes" do
13
- let(:repository) do
14
- Lutaml::Express::Parsers::Exp.parse(File.new(fixtures_path("test.exp")))
15
- end
16
- let(:schema) { 'annotated_3d_model_data_quality_criteria_schema' }
17
- let(:entities_names) do
18
- %w[
19
- a3m_data_quality_criteria_representation
20
- a3m_data_quality_criterion
21
- a3m_data_quality_criterion_specific_applied_value
22
- a3m_data_quality_target_accuracy_association
23
- a3m_detailed_report_request
24
- a3m_summary_report_request_with_representative_value]
25
- end
26
-
27
- it "serializes repository attributes" do
28
- expect(serialized_document.keys).to(eq(['schemas', schema]))
29
- expect(serialized_document['schemas'].map {|n| n['id'] }).to(eq([schema]))
30
- end
31
-
32
- it "correctly finds elements by jmespath expression" do
33
- expect(serialized_document['schemas'].first['entities']
34
- .map {|n| n['id'] }).to(eq(entities_names))
35
- end
36
- end
37
- end
38
- end