newsmlg2 0.1.1
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 +7 -0
- data/.github/workflows/docs.yml +63 -0
- data/.github/workflows/links.yml +99 -0
- data/.github/workflows/performance.yml +25 -0
- data/.github/workflows/rake.yml +19 -0
- data/.github/workflows/release.yml +34 -0
- data/.gitignore +17 -0
- data/.rubocop.yml +51 -0
- data/CHANGELOG.md +31 -0
- data/CLAUDE.md +77 -0
- data/Gemfile +15 -0
- data/LICENSE +24 -0
- data/README.adoc +135 -0
- data/Rakefile +15 -0
- data/docs/Gemfile +6 -0
- data/docs/_config.yml +4 -0
- data/docs/index.md +15 -0
- data/docs/lychee.toml +4 -0
- data/docs/usage.md +36 -0
- data/lib/newsmlg2/base/administrative_metadata_group.rb +40 -0
- data/lib/newsmlg2/base/arbitrary_value_attributes.rb +13 -0
- data/lib/newsmlg2/base/authority_attributes.rb +14 -0
- data/lib/newsmlg2/base/common_power_attributes.rb +17 -0
- data/lib/newsmlg2/base/concept_definition_group.rb +25 -0
- data/lib/newsmlg2/base/concept_relationships_group.rb +22 -0
- data/lib/newsmlg2/base/confirmation_status_attributes.rb +13 -0
- data/lib/newsmlg2/base/deprecated_link_attributes.rb +14 -0
- data/lib/newsmlg2/base/descriptive_metadata_group.rb +54 -0
- data/lib/newsmlg2/base/entity_details_group.rb +28 -0
- data/lib/newsmlg2/base/flex_attributes.rb +13 -0
- data/lib/newsmlg2/base/i18n_attributes.rb +14 -0
- data/lib/newsmlg2/base/item_management_group.rb +59 -0
- data/lib/newsmlg2/base/media_content_characteristics1.rb +22 -0
- data/lib/newsmlg2/base/news_content_attributes.rb +18 -0
- data/lib/newsmlg2/base/news_content_characteristics.rb +30 -0
- data/lib/newsmlg2/base/news_content_type_attributes.rb +17 -0
- data/lib/newsmlg2/base/persistent_edit_attributes.rb +13 -0
- data/lib/newsmlg2/base/qualifying_attributes.rb +13 -0
- data/lib/newsmlg2/base/quantify_attributes.rb +13 -0
- data/lib/newsmlg2/base/ranking_attributes.rb +13 -0
- data/lib/newsmlg2/base/recurrence_rule_attributes.rb +18 -0
- data/lib/newsmlg2/base/target_resource_attributes.rb +20 -0
- data/lib/newsmlg2/base/time_validity_attributes.rb +13 -0
- data/lib/newsmlg2/base.rb +35 -0
- data/lib/newsmlg2/builder/node.rb +125 -0
- data/lib/newsmlg2/builder.rb +69 -0
- data/lib/newsmlg2/catalog.rb +38 -0
- data/lib/newsmlg2/catalog_cache.rb +49 -0
- data/lib/newsmlg2/catalog_ref.rb +13 -0
- data/lib/newsmlg2/catalog_store.rb +66 -0
- data/lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_32.xml +620 -0
- data/lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_33.xml +625 -0
- data/lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_34.xml +626 -0
- data/lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_35.xml +635 -0
- data/lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_36.xml +644 -0
- data/lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_37.xml +661 -0
- data/lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_38.xml +674 -0
- data/lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_39.xml +682 -0
- data/lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_40.xml +724 -0
- data/lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_41.xml +729 -0
- data/lib/newsmlg2/configuration.rb +61 -0
- data/lib/newsmlg2/document.rb +123 -0
- data/lib/newsmlg2/errors.rb +18 -0
- data/lib/newsmlg2/i18n.rb +20 -0
- data/lib/newsmlg2/items/any_item.rb +180 -0
- data/lib/newsmlg2/items/catalog_item.rb +24 -0
- data/lib/newsmlg2/items/concept_item.rb +23 -0
- data/lib/newsmlg2/items/content_meta.rb +73 -0
- data/lib/newsmlg2/items/item_ref.rb +13 -0
- data/lib/newsmlg2/items/knowledge_item.rb +68 -0
- data/lib/newsmlg2/items/news_item.rb +130 -0
- data/lib/newsmlg2/items/news_message.rb +142 -0
- data/lib/newsmlg2/items/package_item.rb +82 -0
- data/lib/newsmlg2/items/part_meta.rb +68 -0
- data/lib/newsmlg2/items/planning_item.rb +160 -0
- data/lib/newsmlg2/nar_model.rb +76 -0
- data/lib/newsmlg2/nar_namespace.rb +10 -0
- data/lib/newsmlg2/nitf_namespace.rb +9 -0
- data/lib/newsmlg2/same_as_scheme.rb +15 -0
- data/lib/newsmlg2/scheme.rb +30 -0
- data/lib/newsmlg2/types/approximate_date_time_prop_type.rb +14 -0
- data/lib/newsmlg2/types/bag.rb +16 -0
- data/lib/newsmlg2/types/block_types.rb +62 -0
- data/lib/newsmlg2/types/concept.rb +36 -0
- data/lib/newsmlg2/types/concept_id.rb +17 -0
- data/lib/newsmlg2/types/concept_name_type.rb +17 -0
- data/lib/newsmlg2/types/content_meta_types.rb +152 -0
- data/lib/newsmlg2/types/date_opt_time_prop_type.rb +12 -0
- data/lib/newsmlg2/types/date_time_or_null_prop_type.rb +12 -0
- data/lib/newsmlg2/types/date_time_prop_type.rb +12 -0
- data/lib/newsmlg2/types/event_details.rb +213 -0
- data/lib/newsmlg2/types/ext_property.rb +21 -0
- data/lib/newsmlg2/types/facet.rb +17 -0
- data/lib/newsmlg2/types/flex1_prop_type.rb +32 -0
- data/lib/newsmlg2/types/flex_location_prop_type.rb +43 -0
- data/lib/newsmlg2/types/flex_party_prop_type.rb +49 -0
- data/lib/newsmlg2/types/flex_prop2_type.rb +26 -0
- data/lib/newsmlg2/types/flex_prop_type.rb +17 -0
- data/lib/newsmlg2/types/geo.rb +92 -0
- data/lib/newsmlg2/types/hierarchy_info.rb +17 -0
- data/lib/newsmlg2/types/ids.rb +28 -0
- data/lib/newsmlg2/types/inline_types.rb +56 -0
- data/lib/newsmlg2/types/intl_string_type.rb +17 -0
- data/lib/newsmlg2/types/intl_string_type2.rb +14 -0
- data/lib/newsmlg2/types/item_management.rb +74 -0
- data/lib/newsmlg2/types/link.rb +40 -0
- data/lib/newsmlg2/types/object_details.rb +40 -0
- data/lib/newsmlg2/types/party_details.rb +258 -0
- data/lib/newsmlg2/types/poi.rb +79 -0
- data/lib/newsmlg2/types/qcode_prop_type.rb +12 -0
- data/lib/newsmlg2/types/qual_prop_type.rb +23 -0
- data/lib/newsmlg2/types/qual_rel_prop_type.rb +18 -0
- data/lib/newsmlg2/types/related_concept.rb +71 -0
- data/lib/newsmlg2/types/rights.rb +84 -0
- data/lib/newsmlg2/types/ruby_annotation.rb +55 -0
- data/lib/newsmlg2/types/same_as.rb +17 -0
- data/lib/newsmlg2/types/truncated_date_time_prop_type.rb +13 -0
- data/lib/newsmlg2/types/versioned_string_type.rb +10 -0
- data/lib/newsmlg2/types/xml_base.rb +12 -0
- data/lib/newsmlg2/types/xml_lang.rb +12 -0
- data/lib/newsmlg2/types.rb +166 -0
- data/lib/newsmlg2/utils.rb +42 -0
- data/lib/newsmlg2/version.rb +5 -0
- data/lib/newsmlg2.rb +181 -0
- data/lib/tasks/performance.rake +72 -0
- data/newsmlg2.gemspec +34 -0
- metadata +185 -0
metadata
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: newsmlg2
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Ribose Inc.
|
|
8
|
+
bindir: exe
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: lutaml-model
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: 0.8.0
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: 0.8.0
|
|
26
|
+
description: Newsmlg2 provides a lutaml-model-based Ruby object model for IPTC NewsML-G2
|
|
27
|
+
(NAR). Parse, manipulate, build and serialize NewsML-G2 XML with full round-trip
|
|
28
|
+
fidelity, including a builder DSL.
|
|
29
|
+
email:
|
|
30
|
+
- open.source@ribose.com
|
|
31
|
+
executables: []
|
|
32
|
+
extensions: []
|
|
33
|
+
extra_rdoc_files: []
|
|
34
|
+
files:
|
|
35
|
+
- ".github/workflows/docs.yml"
|
|
36
|
+
- ".github/workflows/links.yml"
|
|
37
|
+
- ".github/workflows/performance.yml"
|
|
38
|
+
- ".github/workflows/rake.yml"
|
|
39
|
+
- ".github/workflows/release.yml"
|
|
40
|
+
- ".gitignore"
|
|
41
|
+
- ".rubocop.yml"
|
|
42
|
+
- CHANGELOG.md
|
|
43
|
+
- CLAUDE.md
|
|
44
|
+
- Gemfile
|
|
45
|
+
- LICENSE
|
|
46
|
+
- README.adoc
|
|
47
|
+
- Rakefile
|
|
48
|
+
- docs/Gemfile
|
|
49
|
+
- docs/_config.yml
|
|
50
|
+
- docs/index.md
|
|
51
|
+
- docs/lychee.toml
|
|
52
|
+
- docs/usage.md
|
|
53
|
+
- lib/newsmlg2.rb
|
|
54
|
+
- lib/newsmlg2/base.rb
|
|
55
|
+
- lib/newsmlg2/base/administrative_metadata_group.rb
|
|
56
|
+
- lib/newsmlg2/base/arbitrary_value_attributes.rb
|
|
57
|
+
- lib/newsmlg2/base/authority_attributes.rb
|
|
58
|
+
- lib/newsmlg2/base/common_power_attributes.rb
|
|
59
|
+
- lib/newsmlg2/base/concept_definition_group.rb
|
|
60
|
+
- lib/newsmlg2/base/concept_relationships_group.rb
|
|
61
|
+
- lib/newsmlg2/base/confirmation_status_attributes.rb
|
|
62
|
+
- lib/newsmlg2/base/deprecated_link_attributes.rb
|
|
63
|
+
- lib/newsmlg2/base/descriptive_metadata_group.rb
|
|
64
|
+
- lib/newsmlg2/base/entity_details_group.rb
|
|
65
|
+
- lib/newsmlg2/base/flex_attributes.rb
|
|
66
|
+
- lib/newsmlg2/base/i18n_attributes.rb
|
|
67
|
+
- lib/newsmlg2/base/item_management_group.rb
|
|
68
|
+
- lib/newsmlg2/base/media_content_characteristics1.rb
|
|
69
|
+
- lib/newsmlg2/base/news_content_attributes.rb
|
|
70
|
+
- lib/newsmlg2/base/news_content_characteristics.rb
|
|
71
|
+
- lib/newsmlg2/base/news_content_type_attributes.rb
|
|
72
|
+
- lib/newsmlg2/base/persistent_edit_attributes.rb
|
|
73
|
+
- lib/newsmlg2/base/qualifying_attributes.rb
|
|
74
|
+
- lib/newsmlg2/base/quantify_attributes.rb
|
|
75
|
+
- lib/newsmlg2/base/ranking_attributes.rb
|
|
76
|
+
- lib/newsmlg2/base/recurrence_rule_attributes.rb
|
|
77
|
+
- lib/newsmlg2/base/target_resource_attributes.rb
|
|
78
|
+
- lib/newsmlg2/base/time_validity_attributes.rb
|
|
79
|
+
- lib/newsmlg2/builder.rb
|
|
80
|
+
- lib/newsmlg2/builder/node.rb
|
|
81
|
+
- lib/newsmlg2/catalog.rb
|
|
82
|
+
- lib/newsmlg2/catalog_cache.rb
|
|
83
|
+
- lib/newsmlg2/catalog_ref.rb
|
|
84
|
+
- lib/newsmlg2/catalog_store.rb
|
|
85
|
+
- lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_32.xml
|
|
86
|
+
- lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_33.xml
|
|
87
|
+
- lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_34.xml
|
|
88
|
+
- lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_35.xml
|
|
89
|
+
- lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_36.xml
|
|
90
|
+
- lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_37.xml
|
|
91
|
+
- lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_38.xml
|
|
92
|
+
- lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_39.xml
|
|
93
|
+
- lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_40.xml
|
|
94
|
+
- lib/newsmlg2/catalogs/catalog.IPTC-G2-Standards_41.xml
|
|
95
|
+
- lib/newsmlg2/configuration.rb
|
|
96
|
+
- lib/newsmlg2/document.rb
|
|
97
|
+
- lib/newsmlg2/errors.rb
|
|
98
|
+
- lib/newsmlg2/i18n.rb
|
|
99
|
+
- lib/newsmlg2/items/any_item.rb
|
|
100
|
+
- lib/newsmlg2/items/catalog_item.rb
|
|
101
|
+
- lib/newsmlg2/items/concept_item.rb
|
|
102
|
+
- lib/newsmlg2/items/content_meta.rb
|
|
103
|
+
- lib/newsmlg2/items/item_ref.rb
|
|
104
|
+
- lib/newsmlg2/items/knowledge_item.rb
|
|
105
|
+
- lib/newsmlg2/items/news_item.rb
|
|
106
|
+
- lib/newsmlg2/items/news_message.rb
|
|
107
|
+
- lib/newsmlg2/items/package_item.rb
|
|
108
|
+
- lib/newsmlg2/items/part_meta.rb
|
|
109
|
+
- lib/newsmlg2/items/planning_item.rb
|
|
110
|
+
- lib/newsmlg2/nar_model.rb
|
|
111
|
+
- lib/newsmlg2/nar_namespace.rb
|
|
112
|
+
- lib/newsmlg2/nitf_namespace.rb
|
|
113
|
+
- lib/newsmlg2/same_as_scheme.rb
|
|
114
|
+
- lib/newsmlg2/scheme.rb
|
|
115
|
+
- lib/newsmlg2/types.rb
|
|
116
|
+
- lib/newsmlg2/types/approximate_date_time_prop_type.rb
|
|
117
|
+
- lib/newsmlg2/types/bag.rb
|
|
118
|
+
- lib/newsmlg2/types/block_types.rb
|
|
119
|
+
- lib/newsmlg2/types/concept.rb
|
|
120
|
+
- lib/newsmlg2/types/concept_id.rb
|
|
121
|
+
- lib/newsmlg2/types/concept_name_type.rb
|
|
122
|
+
- lib/newsmlg2/types/content_meta_types.rb
|
|
123
|
+
- lib/newsmlg2/types/date_opt_time_prop_type.rb
|
|
124
|
+
- lib/newsmlg2/types/date_time_or_null_prop_type.rb
|
|
125
|
+
- lib/newsmlg2/types/date_time_prop_type.rb
|
|
126
|
+
- lib/newsmlg2/types/event_details.rb
|
|
127
|
+
- lib/newsmlg2/types/ext_property.rb
|
|
128
|
+
- lib/newsmlg2/types/facet.rb
|
|
129
|
+
- lib/newsmlg2/types/flex1_prop_type.rb
|
|
130
|
+
- lib/newsmlg2/types/flex_location_prop_type.rb
|
|
131
|
+
- lib/newsmlg2/types/flex_party_prop_type.rb
|
|
132
|
+
- lib/newsmlg2/types/flex_prop2_type.rb
|
|
133
|
+
- lib/newsmlg2/types/flex_prop_type.rb
|
|
134
|
+
- lib/newsmlg2/types/geo.rb
|
|
135
|
+
- lib/newsmlg2/types/hierarchy_info.rb
|
|
136
|
+
- lib/newsmlg2/types/ids.rb
|
|
137
|
+
- lib/newsmlg2/types/inline_types.rb
|
|
138
|
+
- lib/newsmlg2/types/intl_string_type.rb
|
|
139
|
+
- lib/newsmlg2/types/intl_string_type2.rb
|
|
140
|
+
- lib/newsmlg2/types/item_management.rb
|
|
141
|
+
- lib/newsmlg2/types/link.rb
|
|
142
|
+
- lib/newsmlg2/types/object_details.rb
|
|
143
|
+
- lib/newsmlg2/types/party_details.rb
|
|
144
|
+
- lib/newsmlg2/types/poi.rb
|
|
145
|
+
- lib/newsmlg2/types/qcode_prop_type.rb
|
|
146
|
+
- lib/newsmlg2/types/qual_prop_type.rb
|
|
147
|
+
- lib/newsmlg2/types/qual_rel_prop_type.rb
|
|
148
|
+
- lib/newsmlg2/types/related_concept.rb
|
|
149
|
+
- lib/newsmlg2/types/rights.rb
|
|
150
|
+
- lib/newsmlg2/types/ruby_annotation.rb
|
|
151
|
+
- lib/newsmlg2/types/same_as.rb
|
|
152
|
+
- lib/newsmlg2/types/truncated_date_time_prop_type.rb
|
|
153
|
+
- lib/newsmlg2/types/versioned_string_type.rb
|
|
154
|
+
- lib/newsmlg2/types/xml_base.rb
|
|
155
|
+
- lib/newsmlg2/types/xml_lang.rb
|
|
156
|
+
- lib/newsmlg2/utils.rb
|
|
157
|
+
- lib/newsmlg2/version.rb
|
|
158
|
+
- lib/tasks/performance.rake
|
|
159
|
+
- newsmlg2.gemspec
|
|
160
|
+
homepage: https://github.com/lutaml/newsmlg2-ruby
|
|
161
|
+
licenses:
|
|
162
|
+
- BSD-2-Clause
|
|
163
|
+
metadata:
|
|
164
|
+
homepage_uri: https://github.com/lutaml/newsmlg2-ruby
|
|
165
|
+
source_code_uri: https://github.com/lutaml/newsmlg2-ruby
|
|
166
|
+
changelog_uri: https://github.com/lutaml/newsmlg2-ruby/blob/main/CHANGELOG.md
|
|
167
|
+
rubygems_mfa_required: 'true'
|
|
168
|
+
rdoc_options: []
|
|
169
|
+
require_paths:
|
|
170
|
+
- lib
|
|
171
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
172
|
+
requirements:
|
|
173
|
+
- - ">="
|
|
174
|
+
- !ruby/object:Gem::Version
|
|
175
|
+
version: 3.3.0
|
|
176
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
|
+
requirements:
|
|
178
|
+
- - ">="
|
|
179
|
+
- !ruby/object:Gem::Version
|
|
180
|
+
version: '0'
|
|
181
|
+
requirements: []
|
|
182
|
+
rubygems_version: 4.0.16
|
|
183
|
+
specification_version: 4
|
|
184
|
+
summary: NewsML-G2 — IPTC News Architecture (NewsML-G2) for Ruby.
|
|
185
|
+
test_files: []
|