oddb2xml 3.0.16 → 3.0.17
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 +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +3 -3
- data/History.txt +3 -0
- data/lib/oddb2xml/version.rb +1 -1
- data/oddb2xml.gemspec +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df4185a65a50fc628ba92bc98fb8ac378563d5653882e3e34b54d1c1265e3808
|
|
4
|
+
data.tar.gz: a62c0d6b0b643458e9885c6ba7d8c1d54c1435696a3c73da2788fd22539a9915
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3718c1c76fbced6bb1ce43350ae13b42fbf747e2dce91980be24df4b9dcea1a78448b20a344ab50685effe3a33341a20ebd520c1a70ed995c996a6fd0dfb0ff
|
|
7
|
+
data.tar.gz: e0c0dd04ccacc29933a582fd05d19ebee40ce7ae420ca632e4d6f5068ae92de5928ab1fa6daf3b9bd4894f5797dde0090fad74d8bdc25a3610f648b57624aa1c
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
oddb2xml (3.0.
|
|
4
|
+
oddb2xml (3.0.17)
|
|
5
5
|
csv
|
|
6
6
|
htmlentities
|
|
7
7
|
httpi
|
|
8
8
|
mechanize (>= 2.8.5)
|
|
9
9
|
minitar
|
|
10
10
|
multi_json
|
|
11
|
-
nokogiri (>= 1.
|
|
11
|
+
nokogiri (>= 1.18.10)
|
|
12
12
|
optimist
|
|
13
13
|
ox
|
|
14
14
|
parslet
|
|
@@ -220,7 +220,7 @@ DEPENDENCIES
|
|
|
220
220
|
bundler
|
|
221
221
|
flexmock
|
|
222
222
|
mutex_m
|
|
223
|
-
nokogiri (>= 1.
|
|
223
|
+
nokogiri (>= 1.18.10)
|
|
224
224
|
oddb2xml!
|
|
225
225
|
pry-byebug
|
|
226
226
|
pry-doc
|
data/History.txt
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
=== 3.0.17 / 08.06.2026
|
|
2
|
+
* Compatibility: relax the nokogiri requirement from ">= 1.19.3" to ">= 1.18.10" (lower bound only, no upper cap) so oddb2xml installs on Ruby 3.1 again. nokogiri 1.19.x requires Ruby >= 3.2, which made 3.0.13–3.0.16 uninstallable on Ruby 3.1.0 (the bare "gem install" crashed with the misleading RubyGems resolver error "undefined method `request' for nil:NilClass"). With a lower-bound-only floor, RubyGems still resolves the security-fixed 1.19.3 on Ruby >= 3.2, while Ruby 3.1 installs 1.18.10 (the newest 3.1-compatible release). oddb2xml uses no nokogiri 1.19-only API and runs no CSS/XSLT/C14N over untrusted input, so the 1.19.3 advisories do not apply to its usage. Note: Ruby 3.1 is EOL (since March 2025) — upgrading to Ruby >= 3.2 remains recommended.
|
|
3
|
+
|
|
1
4
|
=== 3.0.16 / 02.06.2026
|
|
2
5
|
* Refdata cleanup: two more Swissmedic-sourced, IKSNR-scoped fixes for 50-char truncation (issue #112 cases #1 and #3). fix_truncated_metoject rebuilds every truncated METOJECT Autoinjektor name ("METOJECT Autoinjektor 10 mg/0.2 ml Inj Lös 10 mg 1") from its intact "<brand> Autoinjektor <dose>/<vol>" prefix plus the authoritative Swissmedic pack size -> "METOJECT Autoinjektor 10 mg/0.2 ml Fertpen 1 Stk", localised for FR ("stylo pré … pce") and IT ("penna preriempita … pz"); it recovers the correct count even where the truncation cut the count digits. fix_truncated_volume_unit restores the lost final "l" of the VERACTIV Vitamin D3 drops volume ("… 20'000 U.I. 10m" -> "10ml"). Both are scoped to their registration (METOJECT 65672, VERACTIV Vitamin D3 57690) and idempotent. The French wording in the VERACTIV German name remains an upstream issue.
|
|
3
6
|
|
data/lib/oddb2xml/version.rb
CHANGED
data/oddb2xml.gemspec
CHANGED
|
@@ -23,7 +23,11 @@ Gem::Specification.new do |spec|
|
|
|
23
23
|
spec.add_dependency "rubyzip", '~> 3.0.1'
|
|
24
24
|
spec.add_dependency "minitar" # , '~> 0.5.2'
|
|
25
25
|
spec.add_dependency "mechanize", ">= 2.8.5"
|
|
26
|
-
|
|
26
|
+
# Lower bound only (no upper cap) so each Ruby resolves to its best nokogiri:
|
|
27
|
+
# Ruby >= 3.2 still gets the security-fixed 1.19.3 (nokogiri 1.19.x needs Ruby >= 3.2),
|
|
28
|
+
# while Ruby 3.1 (EOL but still in production) can install 1.18.10, the newest 3.1-compatible
|
|
29
|
+
# release. oddb2xml uses no nokogiri 1.19-only API and no CSS/XSLT/C14N on untrusted input.
|
|
30
|
+
spec.add_dependency "nokogiri", ">= 1.18.10"
|
|
27
31
|
spec.add_dependency "savon" , '~> 2.12.0'
|
|
28
32
|
spec.add_dependency "spreadsheet" # , '~> 1.0.0'
|
|
29
33
|
spec.add_dependency "rubyXL", "~> 3.4.0"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oddb2xml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yasuhiro Asaka, Zeno R.R. Davatz, Niklaus Giger
|
|
@@ -57,14 +57,14 @@ dependencies:
|
|
|
57
57
|
requirements:
|
|
58
58
|
- - ">="
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: 1.
|
|
60
|
+
version: 1.18.10
|
|
61
61
|
type: :runtime
|
|
62
62
|
prerelease: false
|
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
|
65
65
|
- - ">="
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: 1.
|
|
67
|
+
version: 1.18.10
|
|
68
68
|
- !ruby/object:Gem::Dependency
|
|
69
69
|
name: savon
|
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|