lutaml 0.5.1 → 0.5.2

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: e0d36cefb8c5f6affcb0d56b44ab5d1f807608d8676c372ebea115a1dbda9bd8
4
- data.tar.gz: b1f11f6cb22a115973ada3e6bc9a86de14a22288f32c6caaef92187673e9deb2
3
+ metadata.gz: c570c69bf1b1fce5a01012f692e017bd140f3298e576f2a1ac5aa28f79389e3c
4
+ data.tar.gz: a63175e2fa1b7c2dd147116924f7767aa197ac9da40dc2389d646da5d4b6cf1c
5
5
  SHA512:
6
- metadata.gz: 1d61ed2509c43cb9e31f3b643eae02a317c0b1ccdbbf0692b81d19afbe0196141157bd5e2951b4380fd94ad2a0a0a2a644a05d98e98eeec9b9809ec1f14e19ae
7
- data.tar.gz: 7fec19ce2c1b94d81b12e0fa687d960af66d0c305d5f43afb5bbd56c6da49b3c4f77fbe5959262c33eec878082206c17e85a8266436cb73429934ca4880e0ecc
6
+ metadata.gz: aa45c7df071a37185d9b3fc7ca78fc54c288591da1cbc9e823546d108d76ddf60d86a220165939ffba6c62300a07c8cb7f6e93dbe5b18e8b39ed83c040e0f4ec
7
+ data.tar.gz: 1939181b7331780c4b894ffb096af7ca332b3f0253d38b7a6f74c6d8b1760dfcc4f6f3d3268db4fd1fdfe6f01fa2046796b2c8febf0ef1cb694dc3a98c243567
@@ -9,7 +9,7 @@ module Lutaml
9
9
 
10
10
  def serialize_document(repository)
11
11
  repository
12
- .to_hash(formatter: Formatter)['schemas']
12
+ .to_hash(formatter: Formatter)
13
13
  end
14
14
  end
15
15
  end
data/lib/lutaml/parser.rb CHANGED
@@ -29,7 +29,7 @@ module Lutaml
29
29
 
30
30
  def parse
31
31
  documents = parse_into_document
32
- return [document_wrapper(documents)] if ["exp", EXPRESS_CACHE_PARSE_TYPE].include?(parse_type)
32
+ return document_wrapper(documents) if ["exp", EXPRESS_CACHE_PARSE_TYPE].include?(parse_type)
33
33
 
34
34
  documents.map { |doc| document_wrapper(doc) }
35
35
  end
@@ -1,3 +1,3 @@
1
1
  module Lutaml
2
- VERSION = "0.5.1".freeze
2
+ VERSION = "0.5.2".freeze
3
3
  end
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.5.1
4
+ version: 0.5.2
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-14 00:00:00.000000000 Z
11
+ date: 2021-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lutaml-express