relaton-cie 1.12.1 → 1.13.0

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: 770be38258225de0a744f54565461e0a52e24b9dc92948bcb366650c67379053
4
- data.tar.gz: 45ce0d35e2d8cdafbd8b8c2e747b77bc820e5693c15374d1d66fe3c85880547e
3
+ metadata.gz: ece947bea9b8e815d649df47410f77fa4533a2945e39a0261090a922a70c2a3c
4
+ data.tar.gz: ef57b4d5d70dbe4d1d7db11dfd3dd72becede5d29c05a7093eb99af9358f20b1
5
5
  SHA512:
6
- metadata.gz: c31a8b548a179993ea1bddcfe55a4d635bd3573d693c9faea8418a71adb205f44068d6fa4a239acb109c62d887b629fc08b2bd7362daaa8883aebb69eff3365b
7
- data.tar.gz: 2a3643e41a993e6e72a8bfbee7757ebab54c5518b8b3966be88f91ee3a7c3b0e031a8b6b059707271f35ca61a2d65ff4c29fc0588210ee10968b32136ca89c06
6
+ metadata.gz: 9341540f70dda86dafe71195c4e2d764d7a8046a6984364f6525aee8c7597d434f72c98cd7820a82dc7b46bc5142f20183ed08b36fae9923b056c0bc5f838dc0
7
+ data.tar.gz: 7aa27ab7b17103b8e2c0130537c97c22d7f9dd0b6d479944637d44b9163e27e23c5696b0802807c7efdc3e842f2edfc8eac5a863c640bddae6adb8cf162c5bd8
data/grammars/biblio.rng CHANGED
@@ -225,9 +225,9 @@
225
225
  <zeroOrMore>
226
226
  <ref name="forename"/>
227
227
  </zeroOrMore>
228
- <zeroOrMore>
229
- <ref name="initial"/>
230
- </zeroOrMore>
228
+ <optional>
229
+ <ref name="formatted-initials"/>
230
+ </optional>
231
231
  <ref name="surname"/>
232
232
  <zeroOrMore>
233
233
  <ref name="addition"/>
@@ -247,8 +247,8 @@
247
247
  <ref name="LocalizedString"/>
248
248
  </element>
249
249
  </define>
250
- <define name="initial">
251
- <element name="initial">
250
+ <define name="formatted-initials">
251
+ <element name="formatted-initials">
252
252
  <ref name="LocalizedString"/>
253
253
  </element>
254
254
  </define>
@@ -264,6 +264,9 @@
264
264
  </define>
265
265
  <define name="forename">
266
266
  <element name="forename">
267
+ <optional>
268
+ <attribute name="initial"/>
269
+ </optional>
267
270
  <ref name="LocalizedString"/>
268
271
  </element>
269
272
  </define>
data/grammars/isodoc.rng CHANGED
@@ -69,6 +69,17 @@
69
69
  </zeroOrMore>
70
70
  </element>
71
71
  </define>
72
+ <define name="AdmonitionType">
73
+ <choice>
74
+ <value>warning</value>
75
+ <value>note</value>
76
+ <value>tip</value>
77
+ <value>important</value>
78
+ <value>caution</value>
79
+ <value>statement</value>
80
+ <value>editorial</value>
81
+ </choice>
82
+ </define>
72
83
  <define name="index">
73
84
  <element name="index">
74
85
  <optional>
@@ -1274,7 +1285,12 @@
1274
1285
  </define>
1275
1286
  <define name="span">
1276
1287
  <element name="span">
1277
- <attribute name="class"/>
1288
+ <optional>
1289
+ <attribute name="class"/>
1290
+ </optional>
1291
+ <optional>
1292
+ <attribute name="style"/>
1293
+ </optional>
1278
1294
  <oneOrMore>
1279
1295
  <ref name="TextElement"/>
1280
1296
  </oneOrMore>
@@ -2493,6 +2509,16 @@
2493
2509
  <text/>
2494
2510
  </element>
2495
2511
  </optional>
2512
+ <optional>
2513
+ <element name="amendment">
2514
+ <text/>
2515
+ </element>
2516
+ </optional>
2517
+ <optional>
2518
+ <element name="corrigendum">
2519
+ <text/>
2520
+ </element>
2521
+ </optional>
2496
2522
  <optional>
2497
2523
  <element name="language">
2498
2524
  <text/>
@@ -149,7 +149,7 @@ module RelatonCie
149
149
  url = "https://www.techstreet.com#{hit.at('h3/a')[:href]}"
150
150
  doc = time_req { @agent.get url }
151
151
  item = RelatonBib::BibliographicItem.new(
152
- type: "standard", link: fetch_link(url),
152
+ type: "standard", link: fetch_link(url), fetched: Date.today.to_s,
153
153
  docid: fetch_docid(hit, doc), title: fetch_title(doc),
154
154
  abstract: fetch_abstract(doc), date: fetch_date(doc),
155
155
  edition: fetch_edition(doc), contributor: fetch_contributor(doc),
@@ -1,3 +1,3 @@
1
1
  module RelatonCie
2
- VERSION = "1.12.1".freeze
2
+ VERSION = "1.13.0".freeze
3
3
  end
data/relaton_cie.gemspec CHANGED
@@ -37,5 +37,5 @@ Gem::Specification.new do |spec|
37
37
  spec.add_development_dependency "webmock"
38
38
 
39
39
  spec.add_dependency "mechanize", "~> 2.8.0"
40
- spec.add_dependency "relaton-bib", "~> 1.12.0"
40
+ spec.add_dependency "relaton-bib", "~> 1.13.0"
41
41
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-cie
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.1
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-19 00:00:00.000000000 Z
11
+ date: 2022-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equivalent-xml
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.12.0
117
+ version: 1.13.0
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 1.12.0
124
+ version: 1.13.0
125
125
  description: "RelatonEcma: retrieve CIE Standards for bibliographic use \nusing the
126
126
  BibliographicItem model.\n"
127
127
  email: