mn2pdf 2.65 → 2.66

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: 2648bddd83095565778f669f896387d507a43f5124663f515b0f81d4e5d104ce
4
- data.tar.gz: f356355f2150510bdd7beca49978a9d9f1a45a246a2c2f5c7ecfde26a3335dec
3
+ metadata.gz: 9c4dedcc1063cedd63654a09664ea54c7c64ef4d03a073e92a7d43b297b02f5b
4
+ data.tar.gz: 26673c96499fbbc4d5c556be917f738d8334e96109197e1daaef71a077957dd4
5
5
  SHA512:
6
- metadata.gz: a1d060221a5a0c359eaacce0f91a2b6d0692fd3d8f0a3274faee873ed7c41027003377a9a4db1aab9e7ab7090bfbefe9f75787a99406378a7d46dab962e7b7d4
7
- data.tar.gz: f6f32d9067616e68686eecd8134dafb5a75fd3667a7a5ec12cfb879a614a75fcd9a39f96487276b150f923522adc1cf746b98d3679d5d2bc1f1d1db01e6b55fb
6
+ metadata.gz: 20767334a62b5b4a8d6f1fb281f2c11a5c65278806c47cc9301e9655a9f9c530886366531c87038b5e46564f3954bb011c49c6d16f398f10cd1d3cdfec418ba2
7
+ data.tar.gz: 60fdd4ebec35e805f1ceda302f04a79f2225d656346b3278893f876b68dec2762cff083f0b29256fc47c5edd363e7b37142d7d98c7738761e904a77f1cab60b8
data/.rubocop.yml CHANGED
@@ -2,9 +2,30 @@
2
2
  # See https://github.com/metanorma/cimas
3
3
  inherit_from:
4
4
  - https://raw.githubusercontent.com/riboseinc/oss-guides/main/ci/rubocop.yml
5
+ # .rubocop_todo.yml MUST be the last entry. inherit_from is last-wins:
6
+ # if listed before oss-guides, the shared config's stricter Metrics/
7
+ # (MethodLength, BlockLength, etc.) rules override the todo's per-file
8
+ # grandfathering, and the todo becomes inert on those cops. Empirically
9
+ # verified on suma 2026-07-06: with todo listed first, 34 Metrics/* offenses
10
+ # remained; moved last, cleared. Every gem in the metanorma-org fleet
11
+ # already ships a `.rubocop_todo.yml` on its live tree (audited 2026-07-06,
12
+ # 54/54 have it), so this reference is safe to emit unconditionally.
13
+ - .rubocop_todo.yml
14
+
15
+ # Rubocop plugins enabled centrally so every metanorma-org gem picks them up
16
+ # on cimas sync — best practice belongs at the shared-template layer, not
17
+ # per-repo. Per ronaldtse feedback on metanorma/ci#332.
18
+ plugins:
19
+ - rubocop-rspec
20
+ - rubocop-performance
21
+ - rubocop-rake
5
22
 
6
23
  # local repo-specific modifications
7
24
  # ...
8
25
 
9
26
  AllCops:
10
- TargetRubyVersion: 3.4
27
+ # 3.3 matches the org-wide minimum being pushed via #274 (Raise minimum
28
+ # Ruby version to 3.3 due to EOL of 3.2 on 2026-03-31). Was 3.4 before
29
+ # this commit — 3.4 was above the org's stated minimum and would have
30
+ # applied Rubocop rules that fail-close on gems still targeting 3.3.
31
+ TargetRubyVersion: 3.3
data/bin/mn2pdf.jar CHANGED
Binary file
@@ -1,4 +1,4 @@
1
1
  module Mn2pdf
2
- VERSION = "2.65".freeze
3
- MN2PDF_JAR_VERSION = "2.65"
2
+ VERSION = "2.66".freeze
3
+ MN2PDF_JAR_VERSION = "2.66"
4
4
  end
data/mn2pdf.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ["lib"]
21
21
  spec.files = `git ls-files`.split("\n")
22
22
  spec.test_files = `git ls-files -- {spec}/*`.split("\n") << "bin/mn2pdf.jar"
23
- spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
23
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.3.0")
24
24
 
25
25
  # Specify which files should be added to the gem when it is released.
26
26
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mn2pdf
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.65'
4
+ version: '2.66'
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-08-10 00:00:00.000000000 Z
11
+ date: 2026-08-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  mn2pdf converts Metanorma XML into PDF.
@@ -51,7 +51,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 2.7.0
54
+ version: 3.3.0
55
55
  required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - ">="