lutaml 0.10.8 → 0.10.9

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: '051396a82ca3536e91e66975e0719e25868b3d5bd94e3af93ccc5537e10402fe'
4
- data.tar.gz: 25f158495d42220c0179ddcf978a4f9f87931e97b55e1eff3ecd5fb5a8de16a4
3
+ metadata.gz: c86294799b84e5b722bd271cba3e8f8bb47b5ca2b25a8e8a1fdfac763cc7ac42
4
+ data.tar.gz: c32950a48ea9681d0091b16f5df20e99c64c107703677467709a28353630cc92
5
5
  SHA512:
6
- metadata.gz: 4db9674d30585deac30dd924bdc5be7f2ddf4deb872dd1cc2627b6357df8f1f5a898a5615bf403107e058fbc3f247eddd89c5cf4404163af020c9fdb1339d5c6
7
- data.tar.gz: 4f0d5e16b0eb6081da73709c3988e776c2af10c050f0fc78379af319c78fc242ea149f252e784561b159a0f200773d771a77fe1c6834c8e532ef8636be9cdfd8
6
+ metadata.gz: 46ac28ea247ea946d5fa18d93824698d7b10756abb75b28992e148d22ea0e9c97e00a48b54eaa6929b1240a7732cca7edc60914edb243cbccb311de589611422
7
+ data.tar.gz: 83e71c5fd9dd4237743ca89894edbc6ecbad02d67d47f115d24e20f085531322b6e94cdcbede356665c35c2e6fec4ae81facafc1de689fa934ad1f1db06685eb
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2026-05-07 10:38:32 UTC using RuboCop version 1.86.1.
3
+ # on 2026-05-08 06:29:20 UTC using RuboCop version 1.86.1.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
@@ -93,7 +93,7 @@ Metrics/BlockLength:
93
93
  Metrics/CyclomaticComplexity:
94
94
  Enabled: false
95
95
 
96
- # Offense count: 67
96
+ # Offense count: 68
97
97
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
98
98
  Metrics/MethodLength:
99
99
  Max: 62
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lutaml
4
- VERSION = "0.10.8"
4
+ VERSION = "0.10.9"
5
5
  end
@@ -67,10 +67,10 @@ module Lutaml
67
67
  if @guidance
68
68
  col_name = "#{name_ns}:#{name}"
69
69
  attr = @guidance["attributes"].find { |a| a["name"] == col_name }
70
- return attr["used"] if attr
70
+ return attr["used"].to_s if attr
71
71
  end
72
72
 
73
- true
73
+ "true"
74
74
  end
75
75
 
76
76
  def guidance
@@ -82,7 +82,17 @@ module Lutaml
82
82
  end
83
83
 
84
84
  def children_packages
85
- @model.children_packages
85
+ @model.children_packages.map do |package|
86
+ ::Lutaml::Xmi::LiquidDrops::PackageDrop.new(
87
+ package,
88
+ @guidance,
89
+ @options.merge(
90
+ {
91
+ absolute_path: "#{@options[:absolute_path]}::#{name}",
92
+ },
93
+ ),
94
+ )
95
+ end
86
96
  end
87
97
 
88
98
  def definition
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.10.8
4
+ version: 0.10.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-05-07 00:00:00.000000000 Z
11
+ date: 2026-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: expressir