ieee-idams 0.2.12 → 0.2.14
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/lib/ieee/idams/affiliation_group.rb +1 -1
- data/lib/ieee/idams/article_info.rb +3 -3
- data/lib/ieee/idams/article_page_nums.rb +2 -2
- data/lib/ieee/idams/author_group.rb +1 -1
- data/lib/ieee/idams/conf_group.rb +1 -1
- data/lib/ieee/idams/copyright_group.rb +1 -1
- data/lib/ieee/idams/ics_codes.rb +1 -1
- data/lib/ieee/idams/keyword_set.rb +1 -1
- data/lib/ieee/idams/package_member_set.rb +1 -1
- data/lib/ieee/idams/pub_sponsor.rb +1 -1
- data/lib/ieee/idams/pub_sponsoring_committee_set.rb +1 -1
- data/lib/ieee/idams/pub_topical_browse_set.rb +1 -1
- data/lib/ieee/idams/publication_info.rb +2 -2
- data/lib/ieee/idams/standard_package_set.rb +1 -1
- data/lib/ieee/idams/standard_relationship.rb +3 -3
- data/lib/ieee/idams/version.rb +1 -1
- data/lib/ieee/idams/volume_note_group.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3e0a43a97b1ea31e392ae76f376399d3b3bc04cd6d1e4fa612934b5302a88e7
|
4
|
+
data.tar.gz: 35d59452451f069ef5f3654d4b972ee07e83e2549ff71b2e96adb3a6434f9886
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2df4e5893f58a0b03bbbd2f75999870f19ca79aab1c4ce1bbcafa90f556ccad22d8aba1760d692b343c085bac26833dc0599bca433a6a4af7cc536034a4e886
|
7
|
+
data.tar.gz: 1f42de1929719bf4d52ccbd017215b81f9374446481782eeacdb0bd1b343dcb37cf75f241dc74496a01269d8416d53989aeea22a9e9594b5a4becce9d440b1d0
|
@@ -8,7 +8,7 @@ module Ieee
|
|
8
8
|
class AffiliationGroup < Lutaml::Model::Serializable
|
9
9
|
# List of affiliations
|
10
10
|
# @return [Array<Affiliation>] institutional affiliations
|
11
|
-
attribute :affn, Affiliation, collection: true
|
11
|
+
attribute :affn, Affiliation, collection: true, initialize_empty: true
|
12
12
|
|
13
13
|
xml do
|
14
14
|
root "affgrp"
|
@@ -71,7 +71,7 @@ module Ieee
|
|
71
71
|
|
72
72
|
# Abstract
|
73
73
|
# @return [String] article abstract
|
74
|
-
attribute :abstract, ArticleAbstract, collection: true
|
74
|
+
attribute :abstract, ArticleAbstract, collection: true, initialize_empty: true
|
75
75
|
|
76
76
|
# Author information
|
77
77
|
# @return [AuthorGroup] article authors
|
@@ -87,7 +87,7 @@ module Ieee
|
|
87
87
|
|
88
88
|
# Dates
|
89
89
|
# @return [String] publication dates
|
90
|
-
attribute :date, ArticleDate, collection: true
|
90
|
+
attribute :date, ArticleDate, collection: true, initialize_empty: true
|
91
91
|
|
92
92
|
# Article publication date
|
93
93
|
# @return [String] publication date
|
@@ -119,7 +119,7 @@ module Ieee
|
|
119
119
|
|
120
120
|
# Keywords
|
121
121
|
# @return [Array<KeywordSet>] article keywords
|
122
|
-
attribute :keywordset, KeywordSet, collection: true
|
122
|
+
attribute :keywordset, KeywordSet, collection: true, initialize_empty: true
|
123
123
|
|
124
124
|
xml do
|
125
125
|
root "articleinfo"
|
@@ -13,8 +13,8 @@ module Ieee
|
|
13
13
|
xml do
|
14
14
|
root "artpagenums"
|
15
15
|
|
16
|
-
map_attribute "endpage", to: :endpage
|
17
|
-
map_attribute "startpage", to: :startpage
|
16
|
+
map_attribute "endpage", to: :endpage, value_map: { to: { empty: :empty } }
|
17
|
+
map_attribute "startpage", to: :startpage, value_map: { to: { empty: :empty } }
|
18
18
|
map_content to: :formatted
|
19
19
|
end
|
20
20
|
end
|
@@ -8,7 +8,7 @@ module Ieee
|
|
8
8
|
class AuthorGroup < Lutaml::Model::Serializable
|
9
9
|
# List of authors
|
10
10
|
# @return [Array<Author>] authors of the work
|
11
|
-
attribute :author, Author, collection: true
|
11
|
+
attribute :author, Author, collection: true, initialize_empty: true
|
12
12
|
|
13
13
|
xml do
|
14
14
|
root "authorgroup"
|
@@ -8,7 +8,7 @@ module Ieee
|
|
8
8
|
class CopyrightGroup < Lutaml::Model::Serializable
|
9
9
|
# Copyright entries
|
10
10
|
# @return [Array<Copyright>] copyright information
|
11
|
-
attribute :copyright, Copyright, collection: true
|
11
|
+
attribute :copyright, Copyright, collection: true, initialize_empty: true
|
12
12
|
|
13
13
|
xml do
|
14
14
|
root "copyrightgroup"
|
data/lib/ieee/idams/ics_codes.rb
CHANGED
@@ -4,7 +4,7 @@ module Ieee
|
|
4
4
|
module Idams
|
5
5
|
# Represents a set of package members
|
6
6
|
class PackageMemberSet < Lutaml::Model::Serializable
|
7
|
-
attribute :package_member, :string, collection: true
|
7
|
+
attribute :package_member, :string, collection: true, initialize_empty: true
|
8
8
|
|
9
9
|
xml do
|
10
10
|
root "packagememberset"
|
@@ -6,7 +6,7 @@ module Ieee
|
|
6
6
|
class PubSponsor < Lutaml::Model::Serializable
|
7
7
|
# IEEE Society that sponsors the publication
|
8
8
|
# @return [String] Society name that sponsors the publication
|
9
|
-
attribute :society, :string, collection: true
|
9
|
+
attribute :society, :string, collection: true, initialize_empty: true
|
10
10
|
|
11
11
|
xml do
|
12
12
|
root "pubsponsor"
|
@@ -6,7 +6,7 @@ module Ieee
|
|
6
6
|
class PubSponsoringCommitteeSet < Lutaml::Model::Serializable
|
7
7
|
# List of committees
|
8
8
|
# @return [Array<String>] sponsoring committees
|
9
|
-
attribute :pubsponsoringcommittee, :string, collection: true
|
9
|
+
attribute :pubsponsoringcommittee, :string, collection: true, initialize_empty: true
|
10
10
|
|
11
11
|
xml do
|
12
12
|
root "pubsponsoringcommitteeset"
|
@@ -27,7 +27,7 @@ module Ieee
|
|
27
27
|
# List of topical categories
|
28
28
|
# @return [Array<String>] subject classifications
|
29
29
|
attribute :pubtopicalbrowse, :string, collection: true,
|
30
|
-
values: VALID_CATEGORIES
|
30
|
+
values: VALID_CATEGORIES, initialize_empty: true
|
31
31
|
|
32
32
|
xml do
|
33
33
|
root "pubtopicalbrowseset"
|
@@ -75,7 +75,7 @@ module Ieee
|
|
75
75
|
|
76
76
|
# Standard relationship
|
77
77
|
# @return [String] standard relationship
|
78
|
-
attribute :standard_relationship, StandardRelationship, collection: true
|
78
|
+
attribute :standard_relationship, StandardRelationship, collection: true, initialize_empty: true
|
79
79
|
|
80
80
|
# Standard modifier set
|
81
81
|
# @return [StandardModifierSet] standard modifier details
|
@@ -91,7 +91,7 @@ module Ieee
|
|
91
91
|
|
92
92
|
# ISBN information
|
93
93
|
# @return [Isbn] ISBN details
|
94
|
-
attribute :isbn, Isbn, collection: true
|
94
|
+
attribute :isbn, Isbn, collection: true, initialize_empty: true
|
95
95
|
|
96
96
|
# ISBN information
|
97
97
|
# @return [PubSponsor] sponsor details
|
@@ -4,7 +4,7 @@ module Ieee
|
|
4
4
|
module Idams
|
5
5
|
# Represents a set of standard packages
|
6
6
|
class StandardPackageSet < Lutaml::Model::Serializable
|
7
|
-
attribute :standard_package, :string, collection: true
|
7
|
+
attribute :standard_package, :string, collection: true, initialize_empty: true
|
8
8
|
|
9
9
|
xml do
|
10
10
|
root "standardpackageset"
|
@@ -26,9 +26,9 @@ module Ieee
|
|
26
26
|
|
27
27
|
xml do
|
28
28
|
root "standard_relationship"
|
29
|
-
map_attribute "prodnum", to: :prodnum
|
30
|
-
map_attribute "relationship_date", to: :relationship_date
|
31
|
-
map_attribute "type", to: :type
|
29
|
+
map_attribute "prodnum", to: :prodnum, value_map: { to: { empty: :empty } }
|
30
|
+
map_attribute "relationship_date", to: :relationship_date, value_map: { to: { empty: :empty } }
|
31
|
+
map_attribute "type", to: :type, value_map: { to: { empty: :empty } }
|
32
32
|
map_content to: :date_string
|
33
33
|
end
|
34
34
|
end
|
data/lib/ieee/idams/version.rb
CHANGED
@@ -6,7 +6,7 @@ module Ieee
|
|
6
6
|
class VolumeNoteGroup < Lutaml::Model::Serializable
|
7
7
|
# Textual note
|
8
8
|
# @return [String] A textual note
|
9
|
-
attribute :note, :string, collection: true
|
9
|
+
attribute :note, :string, collection: true, initialize_empty: true
|
10
10
|
|
11
11
|
xml do
|
12
12
|
root "notegroup"
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ieee-idams
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lutaml-model
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '0.7'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
26
|
+
version: '0.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: nokogiri
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|