relaton-plateau 1.19.2 → 1.19.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e95b332f0144bd7af6816a2854082c34ba658ca7f0cc593e05a046be13ed44c
4
- data.tar.gz: 2a69c3e8a2c0cde1603f4eadcb3f078b14a4b01970c28bf43edcdffb47ca034b
3
+ metadata.gz: 564c9b97d0c81b9479fe0c6bd4fcff8004b61821efffd19beda099fba6e72cbb
4
+ data.tar.gz: 3e80de9a63e4a4c4e9439ec5b3ab9ce05b57710ffea486b6e8b669fb167bf7be
5
5
  SHA512:
6
- metadata.gz: 38f9bbd18d7ee0d63a9c0bdf25882af04004f863576a1999bf0f09d13effef3508c2acbe50cfbc9d3bafdcfd45fb91d688e5f328081427913969c21c1570ce05
7
- data.tar.gz: 8e9bc8e67859ec617f302d1b080646be8e4157729619f71ee3e2fe3005984249ba36674fe48df663f444f0d06f3eb90ff0d7755107b11c8f966a0c8e149e6b3c
6
+ metadata.gz: 89c7bea4e9de29a64b9436f8c824cd8364a82658f2250fd882c31cc560a3c674ff402db657046e4cb7a4cedeba10a1fff6fd689285e40cc979c416b9402cb41e
7
+ data.tar.gz: 68b6f8bf152cad146f811458f8e421beb7a22772e4999623f10e3a2a39a03d89689178c905e02c13f516910b7a2acc6796f5f7288b006aa335ac92fa8af26137
@@ -4,13 +4,13 @@ require_relative "stagename"
4
4
  module Relaton
5
5
  module Plateau
6
6
  class BibItem < RelatonBib::BibliographicItem
7
- # @return [Relaton::Plateau::Cover]
7
+ # @return [Relaton::Plateau::Cover, nil]
8
8
  attr_reader :cover
9
9
 
10
- # @return [Relaton::Plateau::Stagename]
10
+ # @return [Relaton::Plateau::Stagename, nil]
11
11
  attr_reader :stagename
12
12
 
13
- # @return [Integer]
13
+ # @return [Integer, nil]
14
14
  attr_reader :filesize
15
15
 
16
16
  def initialize(**args)
@@ -44,8 +44,8 @@ module Relaton
44
44
  ics.each { |i| b.ics i }
45
45
  structuredidentifier&.to_xml b
46
46
  stagename&.to_xml b
47
- cover.to_xml b
48
- b.filesize filesize
47
+ cover&.to_xml b
48
+ b.filesize filesize if filesize
49
49
  end
50
50
  ext["schema-version"] = ext_schema if !opts[:embedded] && respond_to?(:ext_schema) && ext_schema
51
51
  end
@@ -55,7 +55,7 @@ module Relaton
55
55
 
56
56
  def parse_contributor
57
57
  name = [
58
- { content: "国土交通省都市局", language: "ja", script: "Jpan" },
58
+ { content: "国土交通省", language: "ja", script: "Jpan" },
59
59
  {
60
60
  content: "Japanese Ministry of Land, Infrastructure, Transport and Tourism",
61
61
  language: "en",
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Relaton
4
4
  module Plateau
5
- VERSION = "1.19.2"
5
+ VERSION = "1.19.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-plateau
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.2
4
+ version: 1.19.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-31 00:00:00.000000000 Z
11
+ date: 2024-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -104,7 +104,7 @@ files:
104
104
  - lib/relaton/plateau/util.rb
105
105
  - lib/relaton/plateau/version.rb
106
106
  - lib/relaton/plateau/xml_parser.rb
107
- - relaton-plateau.gemspec
107
+ - relaton_plateau.gemspec
108
108
  - sig/relaton/plateau.rbs
109
109
  homepage: https://github.com/relaton/relaton-plateau
110
110
  licenses: