relaton-plateau 1.19.5 → 1.20.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 +4 -4
- data/README.adoc +40 -1
- data/lib/relaton/plateau/bibitem.rb +4 -4
- data/lib/relaton/plateau/version.rb +1 -1
- data/relaton_plateau.gemspec +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 85ebde0fa8fd57e9635b608f8801e9b52f8b38f43813c9efb4743729fe40257a
|
|
4
|
+
data.tar.gz: 2690299660afb7250b4b4d8a3d07e248c969fa20aaf43c68f4b25313d5dabd3a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32edddbb7987e669e8892a40ab5b9ae3267293c4fd3048cc73dae30bbbff944dc93d58bf70fdb83e6292562d1789cbfc38f46b0d2ff8548a431163e148f214ef
|
|
7
|
+
data.tar.gz: 0ab2386c6640a57cf65fe83bee34d2528990353b7f294cfc4ab872a4a42c14547f8b2e8f5f37679ad85559445e8faf2aea15164bb2eb54dec19970ae2a31275b
|
data/README.adoc
CHANGED
|
@@ -40,7 +40,7 @@ Or install it yourself as:
|
|
|
40
40
|
require "relaton/plateau"
|
|
41
41
|
Relaton::Plateau::Bibliography.get("PLATEAU Technical Report #00")
|
|
42
42
|
[relaton-plateau] INFO: (PLATEAU Technical Report #00) Fetching ...
|
|
43
|
-
[relaton-plateau] INFO: (PLATEAU Technical Report #00) Found `PLATEAU Technical Report #00`
|
|
43
|
+
[relaton-plateau] INFO: (PLATEAU Technical Report #00) Found `PLATEAU Technical Report #00 1.0`
|
|
44
44
|
=> #<Relaton::Plateau::BibItem:0x00000001238cfc98
|
|
45
45
|
...
|
|
46
46
|
----
|
|
@@ -76,13 +76,23 @@ bib = Relaton::Plateau::Bibliography.get("PLATEAU Handbook #00 1.0")
|
|
|
76
76
|
# Render bibitem
|
|
77
77
|
puts bib.to_xml
|
|
78
78
|
<bibitem id="PLATEAUHandbook#001.0" type="standard" schema-version="v1.2.9">
|
|
79
|
+
<fetched>2024-08-25</fetched>
|
|
79
80
|
<title type="main" format="text/plain" language="ja" script="Jpan">3D都市モデルの導入ガイダンス</title>
|
|
80
81
|
<title type="main" format="text/plain" language="en" script="Latn">Guidance on the Installation for 3D City Model</title>
|
|
81
82
|
<uri type="pdf">https://www.mlit.go.jp/plateau/file/libraries/doc/plateau_doc_0000_ver01.pdf</uri>
|
|
82
83
|
<docidentifier type="PLATEAU" primary="true">PLATEAU Handbook #00 1.0</docidentifier>
|
|
84
|
+
<docnumber>Handbook #00 1.0</docnumber>
|
|
83
85
|
<date type="published">
|
|
84
86
|
<on>2021-03-26</on>
|
|
85
87
|
</date>
|
|
88
|
+
<contributor>
|
|
89
|
+
<role type="publisher"/>
|
|
90
|
+
<organization>
|
|
91
|
+
<name language="ja" script="Jpan">国土交通省</name>
|
|
92
|
+
<name language="en" script="Latn">Japanese Ministry of Land, Infrastructure, Transport and Tourism</name>
|
|
93
|
+
<abbreviation>MLIT</abbreviation>
|
|
94
|
+
</organization>
|
|
95
|
+
</contributor>
|
|
86
96
|
<edition number="1.0">1.0</edition>
|
|
87
97
|
<abstract format="text/plain" language="ja" script="Jpan">地方自治体担当者や民間事業者等に向けた 3D都市モデル導入のためのガイダンス</abstract>
|
|
88
98
|
</bibitem>
|
|
@@ -90,13 +100,23 @@ puts bib.to_xml
|
|
|
90
100
|
# Render bibdata
|
|
91
101
|
puts bib.to_xml(bibdata: true)
|
|
92
102
|
<bibdata type="standard" schema-version="v1.2.9">
|
|
103
|
+
<fetched>2024-08-25</fetched>
|
|
93
104
|
<title type="main" format="text/plain" language="ja" script="Jpan">3D都市モデルの導入ガイダンス</title>
|
|
94
105
|
<title type="main" format="text/plain" language="en" script="Latn">Guidance on the Installation for 3D City Model</title>
|
|
95
106
|
<uri type="pdf">https://www.mlit.go.jp/plateau/file/libraries/doc/plateau_doc_0000_ver01.pdf</uri>
|
|
96
107
|
<docidentifier type="PLATEAU" primary="true">PLATEAU Handbook #00 1.</docidentifier>
|
|
108
|
+
<docnumber>Handbook #00 1.0</docnumber>
|
|
97
109
|
<date type="published">
|
|
98
110
|
<on>2021-03-26</on>
|
|
99
111
|
</date>
|
|
112
|
+
<contributor>
|
|
113
|
+
<role type="publisher"/>
|
|
114
|
+
<organization>
|
|
115
|
+
<name language="ja" script="Jpan">国土交通省</name>
|
|
116
|
+
<name language="en" script="Latn">Japanese Ministry of Land, Infrastructure, Transport and Tourism</name>
|
|
117
|
+
<abbreviation>MLIT</abbreviation>
|
|
118
|
+
</organization>
|
|
119
|
+
</contributor>
|
|
100
120
|
<edition number="1.0">1.0</edition>
|
|
101
121
|
<abstract format="text/plain" language="ja" script="Jpan">地方自治体担当者や民間事業者等に向けた 3D都市モデル導入のためのガイダンス</abstract>
|
|
102
122
|
<ext>
|
|
@@ -144,9 +164,27 @@ docid:
|
|
|
144
164
|
- id: 'PLATEAU Handbook #00 1.0'
|
|
145
165
|
type: PLATEAU
|
|
146
166
|
primary: true
|
|
167
|
+
docnumber: 'Handbook #00 1.0'
|
|
147
168
|
date:
|
|
148
169
|
- type: published
|
|
149
170
|
value: '2021-03-26'
|
|
171
|
+
contributor:
|
|
172
|
+
- organization:
|
|
173
|
+
name:
|
|
174
|
+
- content: 国土交通省
|
|
175
|
+
language:
|
|
176
|
+
- ja
|
|
177
|
+
script:
|
|
178
|
+
- Jpan
|
|
179
|
+
- content: Japanese Ministry of Land, Infrastructure, Transport and Tourism
|
|
180
|
+
language:
|
|
181
|
+
- en
|
|
182
|
+
script:
|
|
183
|
+
- Latn
|
|
184
|
+
abbreviation:
|
|
185
|
+
content: MLIT
|
|
186
|
+
role:
|
|
187
|
+
- type: publisher
|
|
150
188
|
edition:
|
|
151
189
|
content: 1.0
|
|
152
190
|
number: '1.0'
|
|
@@ -158,6 +196,7 @@ abstract:
|
|
|
158
196
|
script:
|
|
159
197
|
- Jpan
|
|
160
198
|
format: text/plain
|
|
199
|
+
fetched: '2024-08-25'
|
|
161
200
|
doctype:
|
|
162
201
|
type: handbook
|
|
163
202
|
structuredidentifier:
|
|
@@ -36,7 +36,7 @@ module Relaton
|
|
|
36
36
|
# @option opts [String] :lang language
|
|
37
37
|
def to_xml(**opts)
|
|
38
38
|
super do |builder|
|
|
39
|
-
if opts[:bibdata] &&
|
|
39
|
+
if opts[:bibdata] && has_ext?
|
|
40
40
|
ext = builder.ext do |b|
|
|
41
41
|
doctype&.to_xml b
|
|
42
42
|
b.subdoctype subdoctype if subdoctype
|
|
@@ -54,7 +54,7 @@ module Relaton
|
|
|
54
54
|
|
|
55
55
|
def to_hash
|
|
56
56
|
hash = super
|
|
57
|
-
return hash unless
|
|
57
|
+
return hash unless has_ext?
|
|
58
58
|
|
|
59
59
|
hash["ext"] ||= {}
|
|
60
60
|
hash["ext"]["stagename"] = stagename.to_hash if stagename
|
|
@@ -90,8 +90,8 @@ module Relaton
|
|
|
90
90
|
|
|
91
91
|
private
|
|
92
92
|
|
|
93
|
-
def
|
|
94
|
-
|
|
93
|
+
def has_ext?
|
|
94
|
+
super || stagename || cover || filesize
|
|
95
95
|
end
|
|
96
96
|
end
|
|
97
97
|
end
|
data/relaton_plateau.gemspec
CHANGED
|
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
|
|
|
27
27
|
spec.add_dependency "base64"
|
|
28
28
|
spec.add_dependency "relaton-index", "~> 0.2.12"
|
|
29
29
|
spec.add_dependency "relaton-logger", "~> 0.2.0"
|
|
30
|
-
spec.add_dependency "relaton-bib", "~> 1.
|
|
30
|
+
spec.add_dependency "relaton-bib", "~> 1.20.0"
|
|
31
31
|
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.
|
|
4
|
+
version: 1.20.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-12-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -58,14 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 1.
|
|
61
|
+
version: 1.20.0
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 1.
|
|
68
|
+
version: 1.20.0
|
|
69
69
|
description: Retrieve Project PLATEAU bibliographic items.
|
|
70
70
|
email:
|
|
71
71
|
- open.source@ribose.com
|
|
@@ -112,7 +112,7 @@ homepage: https://github.com/relaton/relaton-plateau
|
|
|
112
112
|
licenses:
|
|
113
113
|
- BSD-2-Clause
|
|
114
114
|
metadata: {}
|
|
115
|
-
post_install_message:
|
|
115
|
+
post_install_message:
|
|
116
116
|
rdoc_options: []
|
|
117
117
|
require_paths:
|
|
118
118
|
- lib
|
|
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
128
128
|
version: '0'
|
|
129
129
|
requirements: []
|
|
130
130
|
rubygems_version: 3.3.27
|
|
131
|
-
signing_key:
|
|
131
|
+
signing_key:
|
|
132
132
|
specification_version: 4
|
|
133
133
|
summary: 'RelatonPlateau: retrieve Project PLATEAU bibliographic items'
|
|
134
134
|
test_files: []
|