sts 0.6.9 → 0.6.10
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/.rubocop_todo.yml +2 -0
- data/lib/sts/niso_sts/metadata_iso.rb +10 -9
- data/lib/sts/niso_sts/metadata_std.rb +3 -3
- data/lib/sts/niso_sts/nat_meta.rb +2 -2
- data/lib/sts/niso_sts/reg_meta.rb +2 -2
- data/lib/sts/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c16a979916895be709aeeb6e282f959d45fcab3e0e585322e9ff37bb8316b5a
|
|
4
|
+
data.tar.gz: e846de5a4db0897f902489d738200341d0dee4a19f6240ad2cd087dd5e8d42c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 97340fd485772046f023286a686756d9901f3ffde68eb1a077ec1a5ca2f9a40528334c9fd10760769df859008d4de523c0c61a4b4128c1ee02b51da09e142bd1
|
|
7
|
+
data.tar.gz: c828f1f862e29f0b661d8d28fea69ce055eabbd67515750f8ce99c3e6f8fa912fc49fdfc560d17bbc0142f4c2ed1b3c6c3f9c5ed7f46c4adfc5639c5cd18ffdd
|
data/.rubocop_todo.yml
CHANGED
|
@@ -25,6 +25,7 @@ Layout/LineLength:
|
|
|
25
25
|
- 'lib/sts/tbx_iso_tml/term_type.rb'
|
|
26
26
|
- 'spec/elements/new_elements_spec.rb'
|
|
27
27
|
- 'spec/iso_sts/schema_validation_spec.rb'
|
|
28
|
+
- 'spec/niso_sts/metadata_cardinality_spec.rb'
|
|
28
29
|
- 'spec/round_trip/reference_docs_spec.rb'
|
|
29
30
|
- 'spec/spec_helper.rb'
|
|
30
31
|
|
|
@@ -127,3 +128,4 @@ RSpec/SpecFilePathFormat:
|
|
|
127
128
|
- 'spec/iso_sts/iso_sts_spec.rb'
|
|
128
129
|
- 'spec/iso_sts/iso_sts_element_spec.rb'
|
|
129
130
|
- 'spec/iso_sts/schema_validation_spec.rb'
|
|
131
|
+
- 'spec/niso_sts/metadata_cardinality_spec.rb'
|
|
@@ -4,21 +4,22 @@ module Sts
|
|
|
4
4
|
module NisoSts
|
|
5
5
|
class MetadataIso < Lutaml::Model::Serializable
|
|
6
6
|
attribute :comm_ref, :string
|
|
7
|
-
attribute :content_language, :string
|
|
8
|
-
attribute :custom_meta_group, ::Sts::NisoSts::CustomMetaGroup
|
|
7
|
+
attribute :content_language, :string, collection: true
|
|
8
|
+
attribute :custom_meta_group, ::Sts::NisoSts::CustomMetaGroup,
|
|
9
|
+
collection: true
|
|
9
10
|
attribute :doc_ident, ::Sts::NisoSts::DocumentIdentification
|
|
10
11
|
attribute :doc_ref, :string
|
|
11
|
-
attribute :ics, :string
|
|
12
|
-
attribute :meta_date, ::Sts::NisoSts::MetaDate
|
|
12
|
+
attribute :ics, :string, collection: true
|
|
13
|
+
attribute :meta_date, ::Sts::NisoSts::MetaDate, collection: true
|
|
13
14
|
attribute :page_count, ::Sts::NisoSts::PageCount
|
|
14
|
-
attribute :permissions, ::Sts::NisoSts::Permissions
|
|
15
|
+
attribute :permissions, ::Sts::NisoSts::Permissions, collection: true
|
|
15
16
|
attribute :pub_date, :string
|
|
16
|
-
attribute :release_date, :string
|
|
17
|
+
attribute :release_date, :string, collection: true
|
|
17
18
|
attribute :secretariat, :string
|
|
18
19
|
attribute :std_ident, ::Sts::NisoSts::StandardIdentification
|
|
19
|
-
attribute :std_ref, ::Sts::NisoSts::StandardRef
|
|
20
|
-
attribute :std_xref, ::Sts::NisoSts::StdCrossReference
|
|
21
|
-
attribute :title_wrap, ::Sts::NisoSts::TitleWrap
|
|
20
|
+
attribute :std_ref, ::Sts::NisoSts::StandardRef, collection: true
|
|
21
|
+
attribute :std_xref, ::Sts::NisoSts::StdCrossReference, collection: true
|
|
22
|
+
attribute :title_wrap, ::Sts::NisoSts::TitleWrap, collection: true
|
|
22
23
|
|
|
23
24
|
xml do
|
|
24
25
|
element "iso-meta"
|
|
@@ -6,7 +6,7 @@ module Sts
|
|
|
6
6
|
attribute :id, :string
|
|
7
7
|
attribute :std_meta_type, :string
|
|
8
8
|
attribute :title_wrap, ::Sts::NisoSts::TitleWrap, collection: true
|
|
9
|
-
attribute :content_language, :string
|
|
9
|
+
attribute :content_language, :string, collection: true
|
|
10
10
|
attribute :std_ident, ::Sts::NisoSts::StandardIdentification
|
|
11
11
|
attribute :doc_ident, ::Sts::NisoSts::DocumentIdentification
|
|
12
12
|
attribute :std_ref, ::Sts::NisoSts::StandardRef, collection: true
|
|
@@ -16,14 +16,14 @@ module Sts
|
|
|
16
16
|
attribute :release_date, ::Sts::NisoSts::ReleaseDate, collection: true
|
|
17
17
|
attribute :release_version, ::Sts::NisoSts::ReleaseVersion
|
|
18
18
|
attribute :std_org, ::Sts::NisoSts::StdOrg, collection: true
|
|
19
|
-
attribute :std_org_group, ::Sts::NisoSts::StdOrgGroup
|
|
19
|
+
attribute :std_org_group, ::Sts::NisoSts::StdOrgGroup, collection: true
|
|
20
20
|
attribute :comm_ref, :string
|
|
21
21
|
attribute :secretariat, :string
|
|
22
22
|
attribute :ics, :string, collection: true
|
|
23
23
|
attribute :page_count, ::Sts::NisoSts::PageCount
|
|
24
24
|
attribute :std_xref, ::Sts::NisoSts::StdCrossReference, collection: true
|
|
25
25
|
attribute :permissions, ::Sts::NisoSts::Permissions, collection: true
|
|
26
|
-
attribute :self_uri, ::Sts::NisoSts::SelfUri
|
|
26
|
+
attribute :self_uri, ::Sts::NisoSts::SelfUri, collection: true
|
|
27
27
|
attribute :meta_note, ::Sts::NisoSts::MetaNote, collection: true
|
|
28
28
|
attribute :custom_meta_group, ::Sts::NisoSts::CustomMetaGroup,
|
|
29
29
|
collection: true
|
|
@@ -10,11 +10,11 @@ module Sts
|
|
|
10
10
|
attribute :std_ref, ::Sts::NisoSts::StandardRef, collection: true
|
|
11
11
|
attribute :doc_ref, :string
|
|
12
12
|
attribute :pub_date, :string
|
|
13
|
-
attribute :release_date, :
|
|
13
|
+
attribute :release_date, ::Sts::NisoSts::ReleaseDate, collection: true
|
|
14
14
|
attribute :release_version, :string
|
|
15
15
|
attribute :comm_ref, :string
|
|
16
16
|
attribute :secretariat, :string
|
|
17
|
-
attribute :ics, :string
|
|
17
|
+
attribute :ics, :string, collection: true
|
|
18
18
|
attribute :std_xref, ::Sts::NisoSts::StdCrossReference, collection: true
|
|
19
19
|
attribute :permissions, ::Sts::NisoSts::Permissions, collection: true
|
|
20
20
|
attribute :meta_note, ::Sts::NisoSts::MetaNote, collection: true
|
|
@@ -10,11 +10,11 @@ module Sts
|
|
|
10
10
|
attribute :std_ref, ::Sts::NisoSts::StandardRef, collection: true
|
|
11
11
|
attribute :doc_ref, :string
|
|
12
12
|
attribute :pub_date, :string
|
|
13
|
-
attribute :release_date, :
|
|
13
|
+
attribute :release_date, ::Sts::NisoSts::ReleaseDate, collection: true
|
|
14
14
|
attribute :release_version, :string
|
|
15
15
|
attribute :comm_ref, :string
|
|
16
16
|
attribute :secretariat, :string
|
|
17
|
-
attribute :ics, :string
|
|
17
|
+
attribute :ics, :string, collection: true
|
|
18
18
|
attribute :std_xref, ::Sts::NisoSts::StdCrossReference, collection: true
|
|
19
19
|
attribute :permissions, ::Sts::NisoSts::Permissions, collection: true
|
|
20
20
|
attribute :meta_note, ::Sts::NisoSts::MetaNote, collection: true
|
data/lib/sts/version.rb
CHANGED