suma 0.2.2 → 0.2.3

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: e902246136c35ed32e6e71e792164b0582ee3612ba0e9bdf185c84f1000a5f40
4
- data.tar.gz: b2793475b6863c62f791aee2b6fa2851e6e6e8b04155271bacf8eaa92f879749
3
+ metadata.gz: 07e523947b7e2eb6249ae656db57dfaf7d25a6e6029e7ae5997a74db9a5db4f3
4
+ data.tar.gz: 7354d57f2f61a3f367c1a013586cdc412f91f6ab1e8a17a9060880a5aac21ad4
5
5
  SHA512:
6
- metadata.gz: e0854a1e32d238a03ee0887b1de2c11c525d5be4e621cee77b94213b7fd10d1de9d46b5ec5eb1d6858ca822bebd04d3c26dc2fde3c97019d057bf83d70d27607
7
- data.tar.gz: abef015ecde9b9141ea5eb67d16cdfdbbb3c0d4560daecea23e9ebc9ecbb50f45bf1377c2c8d674aa15bb21fce3fe00c7628bb413325d11488174572734b80c8
6
+ metadata.gz: 9a0f85946cd4a08e87b12d5795255da510d0405a55d4bdb5eaf7811cce6266138e6d5dcda10bd28780e4b8a0692f43a46f765fa8754a731282aa449302393c87
7
+ data.tar.gz: bf5fc88c7e19f3737b2c45365be3f7c485be260398ed9e54d3d7a692dd445901e9af75ae64b28d81b94220a657d6ccec5bcf08f922717ac4eb3a28f8fe4a281e
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2025-12-11 03:58:36 UTC using RuboCop version 1.81.1.
3
+ # on 2025-12-18 05:29:37 UTC using RuboCop version 1.81.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
@@ -18,7 +18,7 @@ Gemspec/RequiredRubyVersion:
18
18
  Exclude:
19
19
  - 'suma.gemspec'
20
20
 
21
- # Offense count: 81
21
+ # Offense count: 82
22
22
  # This cop supports safe autocorrection (--autocorrect).
23
23
  # Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
24
24
  # URISchemes: http, https
@@ -106,7 +106,7 @@ RSpec/ContextWording:
106
106
  Exclude:
107
107
  - 'spec/suma/cli/export_spec.rb'
108
108
 
109
- # Offense count: 48
109
+ # Offense count: 64
110
110
  # Configuration parameters: CountAsOne.
111
111
  RSpec/ExampleLength:
112
112
  Max: 61
@@ -137,10 +137,15 @@ RSpec/MessageSpies:
137
137
  Exclude:
138
138
  - 'spec/suma/cli/compare_spec.rb'
139
139
 
140
- # Offense count: 43
140
+ # Offense count: 47
141
141
  RSpec/MultipleExpectations:
142
142
  Max: 23
143
143
 
144
+ # Offense count: 3
145
+ # Configuration parameters: AllowedGroups.
146
+ RSpec/NestedGroups:
147
+ Max: 4
148
+
144
149
  # Offense count: 1
145
150
  # Configuration parameters: CustomTransform, IgnoreMethods, IgnoreMetadata.
146
151
  RSpec/SpecFilePathFormat:
data/Gemfile CHANGED
@@ -8,6 +8,7 @@ gemspec
8
8
  gem "canon"
9
9
  gem "metanorma-standoc"
10
10
  gem "nokogiri"
11
+ gem "openssl", "~> 3.0"
11
12
  gem "rake"
12
13
  gem "rspec"
13
14
  gem "rubocop"
@@ -55,7 +55,8 @@ module Suma
55
55
  else
56
56
  # For manifest schemas, preserve directory structure
57
57
  # Note: @output_path already contains the category (resources/modules)
58
- File.join(@output_path, @id, File.basename(@path))
58
+ parent_dir = File.basename(File.dirname(@path))
59
+ File.join(@output_path, parent_dir, File.basename(@path))
59
60
  end
60
61
  end
61
62
 
data/lib/suma/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Suma
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: suma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-12-11 00:00:00.000000000 Z
11
+ date: 2026-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: expressir