dcm_dict 0.41.0 → 0.52.0

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: a46ce2259a2f30b66a71a4f496276bad9d583d92df9f9c42b467ad6b0de10ebb
4
- data.tar.gz: c8504a84cea9995940921789f1f11a358f51f7ba9e2e27e3352ee5fc1d395917
3
+ metadata.gz: 12a0faf721aebc382d55fa030d45fb4377f72341f3fc62dc9293e7330dd87f85
4
+ data.tar.gz: f6e10da961bceaae2421e94696f61bab223d46d3ca1117ec7a41f698b46d2d38
5
5
  SHA512:
6
- metadata.gz: 54a580781aa3e1efcb388ef8c64aec94d33f04633c8e7424bc71eefa8ce152a08a947535e79a9fc187568c313a541e607ecb70fcb5fcd9814767a8452dd857db
7
- data.tar.gz: ff80e8af09912710611221616992b21e164caa60d1cd8fe3e7da528171a81038b02733023a7f90cc3e0d8bbcdcae6b8c0b6f02984c0d9d405d2ee380f79324cd
6
+ metadata.gz: bbe8869f69c3aba9d1700b55c9ee90e4ef23fe60402a6a8c0f254fa1d475c01f2eb80adeeb2982c7d8448b7c24ccc4ee652c2398917924ed23d25520fc35bd3e
7
+ data.tar.gz: 004f9bff12c4625539793091218cf701ed193d2c03832c7de61beb6b5bc39f3449eaee0007092380210d610e123bb182e9ee207744552b1f0ecce58ea2f36d6c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # DcmDict project Changelog
2
2
 
3
+ ___
4
+ ## v0.52.0 (2023-02-09)
5
+ * Update to 2023a Base Standard
6
+ ___
7
+ ## v0.51.0 (2023-02-09)
8
+ * Not publish on [RubyGems](https://rubygems.org/gems/dcm_dict)
9
+ * Updated gemspec requirements
10
+ #### Note for gemspec
11
+ > Required Ruby Version fixed for stable releases (>= 3.0)
12
+ > Development Dependency fixed to latest tested version
13
+ ___
14
+ ## v0.50.0 (2023-02-09)
15
+ * Not publish on [RubyGems](https://rubygems.org/gems/dcm_dict)
16
+ * Updated gemspec(dcm_dict requires Ruby version >= 2.1, < 3.2)
17
+ #### Note for gemspec
18
+ > Refinement#include is deprecated and will be removed in Ruby 3.2
3
19
  ___
4
20
  ## v0.41.0 (2023-01-14)
5
21
  * Update to 2022e Base Standard
data/README.md CHANGED
@@ -90,7 +90,14 @@ end
90
90
 
91
91
  *The main way remains **Ruby Refinements***.
92
92
 
93
- **Rubies compatibility**: at this moment the other considered rubies is only [Rubinius][4] (>= v2.2.10). In order to try to ensure a minimum compatibility there is a file under *lib/dcm_dict/rubies/* called *rb_ext.rb* able to *mask*/*simulates* the refinements by [refine gem][5] and add the required *bit_length* method to *Fixnum* class by [backports gem][6].
93
+ ### Rubies compatibility
94
+ **MRI Ruby**: from version _**v0.51.0**_ gemspec are changed: the minimum required version is _**3.0**_ in order to manage the refinements changes that occurred in version _**3.2**_:
95
+ - The include/extend in refinements never worked (ref [Bug #17429][13])
96
+ - import_methods is limited in functionality (ref [class Refinement][14])
97
+
98
+ **Other Rubies**: the other considered rubies is only [Rubinius][4] checked at version _**v2.2.10**_.
99
+
100
+ **Test Note**: In order to try to ensure a minimum compatibility there is a file under *lib/dcm_dict/rubies/* called *rb_ext.rb* able to *mask*/*simulates* the refinements by [refine gem][5] and add the required *bit_length* method to *Fixnum* class by [backports gem][6].
94
101
  This sort of extension is not loaded by default but only into *spec files* for the *'rbx' Ruby Engine*. See *spec_helper.rb* and *rb_ext.rb* for details.
95
102
 
96
103
  ## Data Element data in detail
@@ -287,7 +294,7 @@ Note: the script use the [Nokogiri][3] as XML parser if installed as gem, otherw
287
294
  Check the file for other details.
288
295
 
289
296
  ## Note
290
- Current library version is aligned to *DICOM Base Standard* **2022e**
297
+ Current library version is aligned to *DICOM Base Standard* **2023a**
291
298
 
292
299
  ## Install
293
300
 
@@ -343,3 +350,5 @@ Main source code repository on github at [henrythebuilder/dcm_dict](https://gith
343
350
  [10]: http://www.dicomstandard.org/
344
351
  [11]: http://www.dicomstandard.org/current/
345
352
  [12]: https://rubygems.org/gems/dcm_dict
353
+ [13]: https://bugs.ruby-lang.org/issues/17429
354
+ [14]: https://docs.ruby-lang.org/en/3.2/Refinement.html
@@ -25,7 +25,7 @@ module DcmDict
25
25
  module Refine
26
26
  module ArrayRefine
27
27
 
28
- refine Array do
28
+ class ::Array
29
29
  include DcmDict::Refine::DataElementRefine
30
30
  end
31
31
 
@@ -25,7 +25,7 @@ module DcmDict
25
25
  module Refine
26
26
  module StringRefine
27
27
 
28
- refine String do
28
+ class ::String
29
29
  include DcmDict::Refine::DataElementRefine
30
30
  include DcmDict::Refine::UidRefine
31
31
  end
@@ -25,7 +25,7 @@ module DcmDict
25
25
  module Refine
26
26
  module SymbolRefine
27
27
 
28
- refine Symbol do
28
+ class ::Symbol
29
29
  include DcmDict::Refine::DataElementRefine
30
30
  include DcmDict::Refine::UidRefine
31
31
  end
@@ -4952,7 +4952,7 @@ HIGH = 0001H'},
4952
4952
  { tag_ps: '(3010,0087)', tag_name: "Weekday Fraction Pattern Sequence", tag_key: 'WeekdayFractionPatternSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3010,0087)', tag_sym: :weekday_fraction_pattern_sequence, tag_ndm: '30100087', tag_ary: [0x3010,0x0087], tag_multiple: false, tag_note: ''},
4953
4953
  { tag_ps: '(3010,0088)', tag_name: "Delivery Time Structure Code Sequence", tag_key: 'DeliveryTimeStructureCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3010,0088)', tag_sym: :delivery_time_structure_code_sequence, tag_ndm: '30100088', tag_ary: [0x3010,0x0088], tag_multiple: false, tag_note: ''},
4954
4954
  { tag_ps: '(3010,0089)', tag_name: "Treatment Site Modifier Code Sequence", tag_key: 'TreatmentSiteModifierCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3010,0089)', tag_sym: :treatment_site_modifier_code_sequence, tag_ndm: '30100089', tag_ary: [0x3010,0x0089], tag_multiple: false, tag_note: ''},
4955
- { tag_ps: '(3010,0090)', tag_name: "Robotic Base Location Indicator", tag_key: 'RoboticBaseLocationIndicator', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(3010,0090)', tag_sym: :robotic_base_location_indicator, tag_ndm: '30100090', tag_ary: [0x3010,0x0090], tag_multiple: false, tag_note: ''},
4955
+ { tag_ps: '(3010,0090)', tag_name: "Robotic Base Location Indicator", tag_key: 'RoboticBaseLocationIndicator', tag_vr: [:CS], tag_vm: ["1"], tag_str: '(3010,0090)', tag_sym: :robotic_base_location_indicator, tag_ndm: '30100090', tag_ary: [0x3010,0x0090], tag_multiple: false, tag_note: 'RET (2022e)'},
4956
4956
  { tag_ps: '(3010,0091)', tag_name: "Robotic Path Node Set Code Sequence", tag_key: 'RoboticPathNodeSetCodeSequence', tag_vr: [:SQ], tag_vm: ["1"], tag_str: '(3010,0091)', tag_sym: :robotic_path_node_set_code_sequence, tag_ndm: '30100091', tag_ary: [0x3010,0x0091], tag_multiple: false, tag_note: ''},
4957
4957
  { tag_ps: '(3010,0092)', tag_name: "Robotic Node Identifier", tag_key: 'RoboticNodeIdentifier', tag_vr: [:UL], tag_vm: ["1"], tag_str: '(3010,0092)', tag_sym: :robotic_node_identifier, tag_ndm: '30100092', tag_ary: [0x3010,0x0092], tag_multiple: false, tag_note: ''},
4958
4958
  { tag_ps: '(3010,0093)', tag_name: "RT Treatment Source Coordinates", tag_key: 'RTTreatmentSourceCoordinates', tag_vr: [:FD], tag_vm: ["3"], tag_str: '(3010,0093)', tag_sym: :rt_treatment_source_coordinates, tag_ndm: '30100093', tag_ary: [0x3010,0x0093], tag_multiple: false, tag_note: ''},
@@ -22,6 +22,6 @@
22
22
  # applicable local, state, national or international regulations.
23
23
  #
24
24
  module DcmDict
25
- VERSION = "0.41.0"
26
- DICOM_DOC_VERSION = "2022e"
25
+ VERSION = "0.52.0"
26
+ DICOM_DOC_VERSION = "2023a"
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dcm_dict
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Enrico Rivarola
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-14 00:00:00.000000000 Z
11
+ date: 2023-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -16,80 +16,80 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.8'
19
+ version: '1.14'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 1.8.5
22
+ version: 1.14.0
23
23
  type: :development
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '1.8'
29
+ version: '1.14'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 1.8.5
32
+ version: 1.14.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rspec
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '3.0'
39
+ version: '3.12'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 3.0.0
42
+ version: 3.12.0
43
43
  type: :development
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '3.0'
49
+ version: '3.12'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 3.0.0
52
+ version: 3.12.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: simplecov
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
- version: '0.8'
59
+ version: '0.22'
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 0.8.2
62
+ version: 0.22.0
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '0.8'
69
+ version: '0.22'
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: 0.8.2
72
+ version: 0.22.0
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: rake
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - "~>"
78
78
  - !ruby/object:Gem::Version
79
- version: 12.3.3
79
+ version: '13.0'
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 12.3.3
82
+ version: 13.0.0
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 12.3.3
89
+ version: '13.0'
90
90
  - - ">="
91
91
  - !ruby/object:Gem::Version
92
- version: 12.3.3
92
+ version: 13.0.0
93
93
  description: DcmDict is a Ruby gem (dcm_dict) to handle in a simple way the Data Dictionary
94
94
  defined within the DICOM Standard
95
95
  email: henrythebuilder@yahoo.it
@@ -165,7 +165,7 @@ licenses:
165
165
  metadata:
166
166
  bug_tracker_uri: https://github.com/henrythebuilder/dcm_dict/issues
167
167
  changelog_uri: https://github.com/henrythebuilder/dcm_dict/blob/master/CHANGELOG.md
168
- documentation_uri: http://www.rubydoc.info/gems/dcm_dict/0.41.0
168
+ documentation_uri: http://www.rubydoc.info/gems/dcm_dict/0.52.0
169
169
  homepage_uri: http://rubygems.org/gems/dcm_dict
170
170
  source_code_uri: https://github.com/henrythebuilder/dcm_dict
171
171
  post_install_message:
@@ -176,14 +176,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
176
176
  requirements:
177
177
  - - ">="
178
178
  - !ruby/object:Gem::Version
179
- version: '2.1'
179
+ version: '3.0'
180
180
  required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  requirements:
182
182
  - - ">="
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0'
185
185
  requirements: []
186
- rubygems_version: 3.3.12
186
+ rubygems_version: 3.4.6
187
187
  signing_key:
188
188
  specification_version: 4
189
189
  summary: A simple way to handle DICOM Data Dictionary