relaton-itu 1.5.pre → 1.7.1

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: b4e82ea65493dad8d074bb5c7d9444874299fdfb6614b5ebb396ef70683fcc02
4
- data.tar.gz: a6977116ce7dbc5b2fdcb1f8de23599fda3a86b85f10d1029643b361e6e28774
3
+ metadata.gz: 6abecc5b89b11a2e53d64fa08fec21a51861df0799a24ab46193f0563e53ca9e
4
+ data.tar.gz: 53f0d275a4bfab0d597f8ae91fcd505f70d5be44df743b5781a6a341a6fac23a
5
5
  SHA512:
6
- metadata.gz: 6e70629e63e23a36bcae38127dcf01f4ad9deae6325dd90536979cc792795df8351dd866bce463fe5d25a73733eafe13cf82daa015bc2230277e0f1a35db8a79
7
- data.tar.gz: e45b278fa0f962485ec881c6eb0f2e788b1e9c827dbb0ed48094288bfbe35c75608ce018278458de6c18943cee8a8563e654e6681843f56ea79b32b43b3f996e
6
+ metadata.gz: aa42bec1e3c06656671893b4e08dfa523171a58ef9734d2c551413350e5572d60173d0e276f31a2630f22b6cfc2f6d8a3bea11105057fc903835a98cdf666eac
7
+ data.tar.gz: 2f997f7732fa074aa30b03c490504a501361310973c8c1e9e8e9b16843033a34dc6393c51d635f321f1009a49ef55b261bc9edb6a423b29feea227b02c5cd75b
@@ -26,6 +26,8 @@ jobs:
26
26
  - name: Update gems
27
27
  run: |
28
28
  sudo gem install bundler --force
29
+ ruby -v | grep 2.5 && bundle config set build.debase --with-cflags="-Wno-error=implicit-function-declaration"
30
+ ruby -v | grep 2.5 && bundle config set build.ruby-debug-ide --with-cflags="-Wno-error=implicit-function-declaration"
29
31
  bundle install --jobs 4 --retry 3
30
32
  - name: Run specs
31
33
  run: |
@@ -24,6 +24,14 @@
24
24
  <start>
25
25
  <ref name="standard-document"/>
26
26
  </start>
27
+ <define name="doctype">
28
+ <element name="doctype">
29
+ <optional>
30
+ <attribute name="abbreviation"/>
31
+ </optional>
32
+ <ref name="DocumentType"/>
33
+ </element>
34
+ </define>
27
35
  <define name="hyperlink">
28
36
  <element name="link">
29
37
  <attribute name="target">
@@ -42,7 +50,6 @@
42
50
  </define>
43
51
  <define name="xref">
44
52
  <element name="xref">
45
- <!-- attribute target { xsd:IDREF }, -->
46
53
  <attribute name="target">
47
54
  <data type="string">
48
55
  <param name="pattern">\i\c*|\c+#\c+</param>
@@ -142,6 +149,11 @@
142
149
  <data type="boolean"/>
143
150
  </attribute>
144
151
  </optional>
152
+ <optional>
153
+ <attribute name="key">
154
+ <data type="boolean"/>
155
+ </attribute>
156
+ </optional>
145
157
  <oneOrMore>
146
158
  <ref name="dt"/>
147
159
  <ref name="dd"/>
@@ -864,6 +876,13 @@
864
876
  </define>
865
877
  <define name="standard-document">
866
878
  <element name="standard-document">
879
+ <attribute name="version"/>
880
+ <attribute name="type">
881
+ <choice>
882
+ <value>semantic</value>
883
+ <value>presentation</value>
884
+ </choice>
885
+ </attribute>
867
886
  <ref name="bibdata"/>
868
887
  <optional>
869
888
  <ref name="boilerplate"/>
@@ -1158,49 +1177,7 @@
1158
1177
  </define>
1159
1178
  <define name="annex">
1160
1179
  <element name="annex">
1161
- <optional>
1162
- <attribute name="id">
1163
- <data type="ID"/>
1164
- </attribute>
1165
- </optional>
1166
- <optional>
1167
- <attribute name="language"/>
1168
- </optional>
1169
- <optional>
1170
- <attribute name="script"/>
1171
- </optional>
1172
- <optional>
1173
- <attribute name="inline-header">
1174
- <data type="boolean"/>
1175
- </attribute>
1176
- </optional>
1177
- <attribute name="obligation">
1178
- <choice>
1179
- <value>normative</value>
1180
- <value>informative</value>
1181
- </choice>
1182
- </attribute>
1183
- <optional>
1184
- <ref name="section-title"/>
1185
- </optional>
1186
- <group>
1187
- <group>
1188
- <zeroOrMore>
1189
- <ref name="BasicBlock"/>
1190
- </zeroOrMore>
1191
- <zeroOrMore>
1192
- <ref name="note"/>
1193
- </zeroOrMore>
1194
- </group>
1195
- <zeroOrMore>
1196
- <choice>
1197
- <ref name="annex-subsection"/>
1198
- <ref name="terms"/>
1199
- <ref name="definitions"/>
1200
- <ref name="references"/>
1201
- </choice>
1202
- </zeroOrMore>
1203
- </group>
1180
+ <ref name="Annex-Section"/>
1204
1181
  </element>
1205
1182
  </define>
1206
1183
  <define name="terms">
@@ -41,6 +41,7 @@
41
41
  <value>technical-report</value>
42
42
  <value>joint-itu-iso-iec</value>
43
43
  <value>resolution</value>
44
+ <value>service-publication</value>
44
45
  </choice>
45
46
  </define>
46
47
  <define name="editorialgroup">
@@ -68,6 +69,16 @@
68
69
  <text/>
69
70
  </element>
70
71
  </optional>
72
+ <optional>
73
+ <element name="amendment">
74
+ <data type="int"/>
75
+ </element>
76
+ </optional>
77
+ <optional>
78
+ <element name="corrigendum">
79
+ <data type="int"/>
80
+ </element>
81
+ </optional>
71
82
  </element>
72
83
  </define>
73
84
  <define name="BibDataExtensionType">
@@ -84,6 +95,18 @@
84
95
  <optional>
85
96
  <ref name="ipnoticereceived"/>
86
97
  </optional>
98
+ <optional>
99
+ <ref name="meeting"/>
100
+ </optional>
101
+ <optional>
102
+ <ref name="meeting-date"/>
103
+ </optional>
104
+ <optional>
105
+ <ref name="intended-type"/>
106
+ </optional>
107
+ <optional>
108
+ <ref name="ext_source"/>
109
+ </optional>
87
110
  <optional>
88
111
  <ref name="structuredidentifier"/>
89
112
  </optional>
@@ -103,6 +126,44 @@
103
126
  </element>
104
127
  </define>
105
128
  </include>
129
+ <define name="meeting">
130
+ <element name="meeting">
131
+ <text/>
132
+ </element>
133
+ </define>
134
+ <define name="meeting-date">
135
+ <element name="meeting-date">
136
+ <choice>
137
+ <group>
138
+ <element name="from">
139
+ <ref name="ISO8601Date"/>
140
+ </element>
141
+ <optional>
142
+ <element name="to">
143
+ <ref name="ISO8601Date"/>
144
+ </element>
145
+ </optional>
146
+ </group>
147
+ <element name="on">
148
+ <ref name="ISO8601Date"/>
149
+ </element>
150
+ </choice>
151
+ </element>
152
+ </define>
153
+ <define name="intended-type">
154
+ <element name="intended-type">
155
+ <choice>
156
+ <value>R</value>
157
+ <value>C</value>
158
+ <value>TD</value>
159
+ </choice>
160
+ </element>
161
+ </define>
162
+ <define name="ext_source">
163
+ <element name="source">
164
+ <text/>
165
+ </element>
166
+ </define>
106
167
  <define name="TextElement" combine="choice">
107
168
  <choice>
108
169
  <ref name="add"/>
@@ -244,6 +305,13 @@
244
305
  </define>
245
306
  <define name="itu">
246
307
  <element name="itu-standard">
308
+ <attribute name="version"/>
309
+ <attribute name="type">
310
+ <choice>
311
+ <value>semantic</value>
312
+ <value>presentation</value>
313
+ </choice>
314
+ </attribute>
247
315
  <ref name="bibdata"/>
248
316
  <zeroOrMore>
249
317
  <ref name="termdocsource"/>
@@ -29,7 +29,7 @@ module RelatonItu
29
29
 
30
30
  # @return [String]
31
31
  def group
32
- @group ||= if %r{(OB|Operational Bulletin) No} =~ text then "Publications"
32
+ @group ||= if %r{OB|Operational Bulletin}.match? text then "Publications"
33
33
  else "Recommendations"
34
34
  end
35
35
  end
@@ -54,7 +54,7 @@ module RelatonItu
54
54
  "Selected" => false,
55
55
  "Value" => "",
56
56
  "Label" => "Name",
57
- "Target" => "/name_s",
57
+ "Target" => "\\/name_s",
58
58
  "TypeName" => "CHECKBOX",
59
59
  "GetCriteriaType" => 0,
60
60
  },
@@ -62,7 +62,7 @@ module RelatonItu
62
62
  "Selected" => false,
63
63
  "Value" => "",
64
64
  "Label" => "Short description",
65
- "Target" => "/short_description_s",
65
+ "Target" => "\\/short_description_s",
66
66
  "TypeName" => "CHECKBOX",
67
67
  "GetCriteriaType" => 0,
68
68
  },
@@ -70,7 +70,7 @@ module RelatonItu
70
70
  "Selected" => false,
71
71
  "Value" => "",
72
72
  "Label" => "File content",
73
- "Target" => "/file",
73
+ "Target" => "\\/file",
74
74
  "TypeName" => "CHECKBOX",
75
75
  "GetCriteriaType" => 0,
76
76
  },
@@ -79,9 +79,8 @@ module RelatonItu
79
79
  "Selected" => false,
80
80
  }],
81
81
  "Topics" => "",
82
- "ClientData" => { "ip" => "" },
82
+ "ClientData" => {},
83
83
  "Language" => "en",
84
- "IP" => "",
85
84
  "SearchType" => "All",
86
85
  }
87
86
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonItu
2
- VERSION = "1.5.pre".freeze
2
+ VERSION = "1.7.1".freeze
3
3
  end
@@ -37,5 +37,5 @@ Gem::Specification.new do |spec|
37
37
  spec.add_development_dependency "vcr", "~> 5.0.0"
38
38
  spec.add_development_dependency "webmock"
39
39
 
40
- spec.add_dependency "relaton-bib", "~> 1.5.pre"
40
+ spec.add_dependency "relaton-bib", "~> 1.7.0"
41
41
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-itu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.pre
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-07 00:00:00.000000000 Z
11
+ date: 2020-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debase
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 1.5.pre
159
+ version: 1.7.0
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 1.5.pre
166
+ version: 1.7.0
167
167
  description: 'RelatonItu: retrieve ITU Standards for bibliographic use using the BibliographicItem
168
168
  model'
169
169
  email:
@@ -218,9 +218,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
218
218
  version: 2.4.0
219
219
  required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  requirements:
221
- - - ">"
221
+ - - ">="
222
222
  - !ruby/object:Gem::Version
223
- version: 1.3.1
223
+ version: '0'
224
224
  requirements: []
225
225
  rubygems_version: 3.0.6
226
226
  signing_key: