relaton 0.2.6 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,129 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.rfc-editor.org/refs/bibxml/reference.RFC.8341.xml
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Host:
17
+ - www.rfc-editor.org
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Thu, 18 Oct 2018 16:42:36 GMT
25
+ Server:
26
+ - Apache
27
+ Last-Modified:
28
+ - Thu, 18 Oct 2018 04:54:10 GMT
29
+ Etag:
30
+ - '"46c-5787993d38758-gzip"'
31
+ Accept-Ranges:
32
+ - bytes
33
+ Vary:
34
+ - Accept-Encoding
35
+ Strict-Transport-Security:
36
+ - max-age=31536000; includeSubDomains
37
+ X-Frame-Options:
38
+ - SAMEORIGIN
39
+ X-Xss-Protection:
40
+ - 1; mode=block
41
+ X-Content-Type-Options:
42
+ - nosniff
43
+ Content-Length:
44
+ - '606'
45
+ Content-Type:
46
+ - text/xml
47
+ body:
48
+ encoding: ASCII-8BIT
49
+ string: |
50
+ <?xml version='1.0' encoding='UTF-8'?>
51
+
52
+ <reference anchor='RFC8341' target='https://www.rfc-editor.org/info/rfc8341'>
53
+ <front>
54
+ <title>Network Configuration Access Control Model</title>
55
+ <author initials='A.' surname='Bierman' fullname='A. Bierman'><organization /></author>
56
+ <author initials='M.' surname='Bjorklund' fullname='M. Bjorklund'><organization /></author>
57
+ <date year='2018' month='March' />
58
+ <abstract><t>The standardization of network configuration interfaces for use with the Network Configuration Protocol (NETCONF) or the RESTCONF protocol requires a structured and secure operating environment that promotes human usability and multi-vendor interoperability. There is a need for standard mechanisms to restrict NETCONF or RESTCONF protocol access for particular users to a preconfigured subset of all available NETCONF or RESTCONF protocol operations and content. This document defines such an access control model.</t><t>This document obsoletes RFC 6536.</t></abstract>
59
+ </front>
60
+ <seriesInfo name='STD' value='91'/>
61
+ <seriesInfo name='RFC' value='8341'/>
62
+ <seriesInfo name='DOI' value='10.17487/RFC8341'/>
63
+ </reference>
64
+ http_version:
65
+ recorded_at: Thu, 18 Oct 2018 16:43:02 GMT
66
+ - request:
67
+ method: get
68
+ uri: https://www.rfc-editor.org/refs/bibxml/reference.RFC.8341.xml
69
+ body:
70
+ encoding: US-ASCII
71
+ string: ''
72
+ headers:
73
+ Accept-Encoding:
74
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
75
+ Accept:
76
+ - "*/*"
77
+ User-Agent:
78
+ - Ruby
79
+ Host:
80
+ - www.rfc-editor.org
81
+ response:
82
+ status:
83
+ code: 200
84
+ message: OK
85
+ headers:
86
+ Date:
87
+ - Thu, 18 Oct 2018 16:42:37 GMT
88
+ Server:
89
+ - Apache
90
+ Last-Modified:
91
+ - Thu, 18 Oct 2018 04:54:10 GMT
92
+ Etag:
93
+ - '"46c-5787993d38758-gzip"'
94
+ Accept-Ranges:
95
+ - bytes
96
+ Vary:
97
+ - Accept-Encoding
98
+ Strict-Transport-Security:
99
+ - max-age=31536000; includeSubDomains
100
+ X-Frame-Options:
101
+ - SAMEORIGIN
102
+ X-Xss-Protection:
103
+ - 1; mode=block
104
+ X-Content-Type-Options:
105
+ - nosniff
106
+ Content-Length:
107
+ - '606'
108
+ Content-Type:
109
+ - text/xml
110
+ body:
111
+ encoding: ASCII-8BIT
112
+ string: |
113
+ <?xml version='1.0' encoding='UTF-8'?>
114
+
115
+ <reference anchor='RFC8341' target='https://www.rfc-editor.org/info/rfc8341'>
116
+ <front>
117
+ <title>Network Configuration Access Control Model</title>
118
+ <author initials='A.' surname='Bierman' fullname='A. Bierman'><organization /></author>
119
+ <author initials='M.' surname='Bjorklund' fullname='M. Bjorklund'><organization /></author>
120
+ <date year='2018' month='March' />
121
+ <abstract><t>The standardization of network configuration interfaces for use with the Network Configuration Protocol (NETCONF) or the RESTCONF protocol requires a structured and secure operating environment that promotes human usability and multi-vendor interoperability. There is a need for standard mechanisms to restrict NETCONF or RESTCONF protocol access for particular users to a preconfigured subset of all available NETCONF or RESTCONF protocol operations and content. This document defines such an access control model.</t><t>This document obsoletes RFC 6536.</t></abstract>
122
+ </front>
123
+ <seriesInfo name='STD' value='91'/>
124
+ <seriesInfo name='RFC' value='8341'/>
125
+ <seriesInfo name='DOI' value='10.17487/RFC8341'/>
126
+ </reference>
127
+ http_version:
128
+ recorded_at: Thu, 18 Oct 2018 16:43:03 GMT
129
+ recorded_with: VCR 4.0.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-17 00:00:00.000000000 Z
11
+ date: 2018-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: algoliasearch
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.4.1
89
+ version: 0.4.2
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.4.1
96
+ version: 0.4.2
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: bundler
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -248,6 +248,34 @@ dependencies:
248
248
  - - "~>"
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0.9'
251
+ - !ruby/object:Gem::Dependency
252
+ name: vcr
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - ">="
256
+ - !ruby/object:Gem::Version
257
+ version: '0'
258
+ type: :development
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
265
+ - !ruby/object:Gem::Dependency
266
+ name: webmock
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ version: '0'
272
+ type: :development
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
251
279
  description: |2
252
280
  The Relaton core for importing, managing and caching bibliographic
253
281
  references to technical standards in the Relaton/XML bibliographic
@@ -284,8 +312,12 @@ files:
284
312
  - spec/support/iso_111111119115_1.xml
285
313
  - spec/support/iso_19115_1.xml
286
314
  - spec/support/iso_19115_2.xml
287
- - spec/support/list_entries.xml
288
315
  - spec/support/rfc_8341.xml
316
+ - spec/vcr_cassetes/gb_t_20223_2006.yml
317
+ - spec/vcr_cassetes/iso_111111119115_1.yml
318
+ - spec/vcr_cassetes/iso_19115-2.yml
319
+ - spec/vcr_cassetes/iso_19115_1.yml
320
+ - spec/vcr_cassetes/rfc_8341.yml
289
321
  homepage: https://github.com/riboseinc/relaton
290
322
  licenses:
291
323
  - BSD-2-Clause
@@ -1,210 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <documents><bibitem type="international-standard" id="ISO19115-1">
3
- <title format="text/plain" language="en" script="Latn">Geographic information -- Metadata -- Part 1: Fundamentals</title>
4
- <title format="text/plain" language="fr" script="Latn">Information géographique -- Métadonnées -- Partie 1: Principes de base</title>
5
- <uri type="src">https://www.iso.org/standard/53798.html</uri>
6
- <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:53798:en</uri>
7
- <uri type="rss">https://www.iso.org/contents/data/standard/05/37/53798.detail.rss</uri>
8
- <docidentifier type="ISO">ISO 19115-1</docidentifier>
9
- <contributor>
10
- <role type="publisher"/>
11
- <organization>
12
- <name>International Organization for Standardization</name>
13
- <abbreviation>ISO</abbreviation>
14
- <uri>www.iso.org</uri>
15
- </organization>
16
- </contributor>
17
- <edition>1</edition>
18
- <language>en</language>
19
- <language>fr</language>
20
- <script>Latn</script>
21
- <status>
22
- <stage>60</stage>
23
- <substage>60</substage>
24
- </status>
25
- <copyright>
26
- <from>2014</from>
27
- <owner>
28
- <organization>
29
- <name>ISO</name>
30
- </organization>
31
- </owner>
32
- </copyright>
33
- <relation type="obsoletes">
34
- <bibitem>
35
- <formattedref>ISO 19115:2003</formattedref>
36
- </bibitem>
37
- </relation>
38
- <relation type="obsoletes">
39
- <bibitem>
40
- <formattedref>ISO 19115:2003/Cor 1:2006</formattedref>
41
- </bibitem>
42
- </relation>
43
- <relation type="updates">
44
- <bibitem>
45
- <formattedref>ISO 19115-1:2014/Amd 1:2018</formattedref>
46
- </bibitem>
47
- </relation>
48
- <relation type="instance">
49
- <bibitem type="international-standard">
50
- <title format="text/plain" language="en" script="Latn">Geographic information -- Metadata -- Part 1: Fundamentals</title>
51
- <title format="text/plain" language="fr" script="Latn">Information géographique -- Métadonnées -- Partie 1: Principes de base</title>
52
- <uri type="src">https://www.iso.org/standard/53798.html</uri>
53
- <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:53798:en</uri>
54
- <uri type="rss">https://www.iso.org/contents/data/standard/05/37/53798.detail.rss</uri>
55
- <docidentifier type="ISO">ISO 19115-1:2014</docidentifier>
56
- <date type="published">
57
- <on>2014</on>
58
- </date>
59
- <contributor>
60
- <role type="publisher"/>
61
- <organization>
62
- <name>International Organization for Standardization</name>
63
- <abbreviation>ISO</abbreviation>
64
- <uri>www.iso.org</uri>
65
- </organization>
66
- </contributor>
67
- <edition>1</edition>
68
- <language>en</language>
69
- <language>fr</language>
70
- <script>Latn</script>
71
- <abstract format="plain" language="en" script="Latn">ISO 19115-1:2014 defines the schema required for describing geographic information and services by means of metadata. It provides information about the identification, the extent, the quality, the spatial and temporal aspects, the content, the spatial reference, the portrayal, distribution, and other properties of digital geographic data and services.ISO 19115-1:2014 is applicable to:-the cataloguing of all types of resources, clearinghouse activities, and the full description of datasets and services;-geographic services, geographic datasets, dataset series, and individual geographic features and feature properties.ISO 19115-1:2014 defines:-mandatory and conditional metadata sections, metadata entities, and metadata elements;-the minimum set of metadata required to serve most metadata applications (data discovery, determining data fitness for use, data access, data transfer, and use of digital data and services);-optional metadata elements to allow for a more extensive standard description of resources, if required;-a method for extending metadata to fit specialized needs.Though ISO 19115-1:2014 is applicable to digital data and services, its principles can be extended to many other types of resources such as maps, charts, and textual documents as well as non-geographic data. Certain conditional metadata elements might not apply to these other forms of data.</abstract>
72
- <abstract format="plain" language="fr" script="Latn">L'ISO 19115-1:2014 définit le schéma requis pour décrire des informations géographiques et des services au moyen de métadonnées. Elle fournit des informations concernant l'identification, l'étendue, la qualité, les aspects spatiaux et temporels, le contenu, la référence spatiale, la représentation des données, la distribution et d'autres propriétés des données géographiques numériques et des services.L'ISO 19115-1:2014 est applicable:-au catalogage de tous les types de ressources, des activités des centres d'informations et à la description complète des jeux de données et des services,-aux services géographiques, jeux de données géographiques, séries de jeux de données, entités géographiques individuelles et propriétés d'entités.L'ISO 19115-1:2014 définit:-des sections relatives aux métadonnées obligatoires et facultatives, aux entités de métadonnées et aux éléments de métadonnées,-le jeu minimal de métadonnées requis pour répondre au besoin de la plupart des applications des métadonnées (la découverte des données, la détermination de l'adéquation des données à une utilisation, l'accès aux données, le transfert des données et l'utilisation des données numériques et des services),-les éléments de métadonnées facultatifs pour permettre une description standard plus poussée des ressources, si cela est nécessaire,-un procédé d'extension des métadonnées pour s'adapter aux besoins spéciaux.L'ISO 19115-1:2014 est applicable aux données numériques et services, ses principes peuvent être étendus à bien d'autres types de ressources telles que les cartes, les graphes et les documents textes, de même qu'à des données non géographiques. Certains éléments de métadonnées conditionnels peuvent ne pas s'appliquer à ces autres formes de données.</abstract>
73
- <status>
74
- <stage>60</stage>
75
- <substage>60</substage>
76
- </status>
77
- <copyright>
78
- <from>2014</from>
79
- <owner>
80
- <organization>
81
- <name>ISO</name>
82
- </organization>
83
- </owner>
84
- </copyright>
85
- <relation type="obsoletes">
86
- <bibitem>
87
- <formattedref>ISO 19115:2003</formattedref>
88
- </bibitem>
89
- </relation>
90
- <relation type="obsoletes">
91
- <bibitem>
92
- <formattedref>ISO 19115:2003/Cor 1:2006</formattedref>
93
- </bibitem>
94
- </relation>
95
- <relation type="updates">
96
- <bibitem>
97
- <formattedref>ISO 19115-1:2014/Amd 1:2018</formattedref>
98
- </bibitem>
99
- </relation>
100
- <editorialgroup>
101
- <technical_committee number="211" type="TC">ISO/TC 211Geographic information/Geomatics</technical_committee>
102
- </editorialgroup>
103
- <ics>
104
- <code>35.240.70</code>
105
- <text>IT applications in science</text>
106
- </ics>
107
- </bibitem>
108
- </relation>
109
- <editorialgroup>
110
- <technical_committee number="211" type="TC">ISO/TC 211Geographic information/Geomatics</technical_committee>
111
- </editorialgroup>
112
- <ics>
113
- <code>35.240.70</code>
114
- <text>IT applications in science</text>
115
- </ics>
116
- </bibitem> <bibitem type="international-standard" id="ISO19115-2">
117
- <title format="text/plain" language="en" script="Latn">Geographic information -- Metadata -- Part 2: Extensions for imagery and gridded data</title>
118
- <title format="text/plain" language="fr" script="Latn">Information géographique -- Métadonnées -- Partie 2: Extensions pour les images et les matrices</title>
119
- <uri type="src">https://www.iso.org/standard/39229.html</uri>
120
- <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:39229:en</uri>
121
- <uri type="rss">https://www.iso.org/contents/data/standard/03/92/39229.detail.rss</uri>
122
- <docidentifier type="ISO">ISO 19115-2</docidentifier>
123
- <contributor>
124
- <role type="publisher"/>
125
- <organization>
126
- <name>International Organization for Standardization</name>
127
- <abbreviation>ISO</abbreviation>
128
- <uri>www.iso.org</uri>
129
- </organization>
130
- </contributor>
131
- <edition>1</edition>
132
- <language>en</language>
133
- <language>fr</language>
134
- <script>Latn</script>
135
- <status>
136
- <stage>90</stage>
137
- <substage>92</substage>
138
- </status>
139
- <copyright>
140
- <from>2009</from>
141
- <owner>
142
- <organization>
143
- <name>ISO</name>
144
- </organization>
145
- </owner>
146
- </copyright>
147
- <relation type="updates">
148
- <bibitem>
149
- <formattedref>ISO 19115-2</formattedref>
150
- </bibitem>
151
- </relation>
152
- <relation type="instance">
153
- <bibitem type="international-standard">
154
- <title format="text/plain" language="en" script="Latn">Geographic information -- Metadata -- Part 2: Extensions for imagery and gridded data</title>
155
- <title format="text/plain" language="fr" script="Latn">Information géographique -- Métadonnées -- Partie 2: Extensions pour les images et les matrices</title>
156
- <uri type="src">https://www.iso.org/standard/39229.html</uri>
157
- <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:39229:en</uri>
158
- <uri type="rss">https://www.iso.org/contents/data/standard/03/92/39229.detail.rss</uri>
159
- <docidentifier type="ISO">ISO 19115-2:2009</docidentifier>
160
- <date type="published">
161
- <on>2009</on>
162
- </date>
163
- <contributor>
164
- <role type="publisher"/>
165
- <organization>
166
- <name>International Organization for Standardization</name>
167
- <abbreviation>ISO</abbreviation>
168
- <uri>www.iso.org</uri>
169
- </organization>
170
- </contributor>
171
- <edition>1</edition>
172
- <language>en</language>
173
- <language>fr</language>
174
- <script>Latn</script>
175
- <abstract format="plain" language="en" script="Latn">ISO 19115-2:2009 extends the existing geographic metadata standard by defining the schema required for describing imagery and gridded data. It provides information about the properties of the measuring equipment used to acquire the data, the geometry of the measuring process employed by the equipment, and the production process used to digitize the raw data. This extension deals with metadata needed to describe the derivation of geographic information from raw data, including the properties of the measuring system, and the numerical methods and computational procedures used in the derivation. The metadata required to address coverage data in general is addressed sufficiently in the general part of ISO 19115.</abstract>
176
- <abstract format="plain" language="fr" script="Latn">L'ISO 19115-2:2009 étend la norme existante sur les métadonnées géographiques en définissant le schéma requis de description des images et des matrices. Elle donne des informations relatives aux propriétés des équipements de mesure utilisés pour obtenir les données, la géométrie du processus de mesure utilisée par ces équipements, et le processus de production utilisé pour numériser les données brutes. Cette extension porte sur les métadonnées nécessaires pour décrire la déduction des informations géographiques à partir de données brutes, y compris les propriétés du système de mesure, et les méthodes numériques et procédures informatiques utilisées pour la déduction. Les métadonnées requises pour aborder les données de couverture en général sont suffisamment abordées dans la partie générale de l'ISO 19115.</abstract>
177
- <status>
178
- <stage>90</stage>
179
- <substage>92</substage>
180
- </status>
181
- <copyright>
182
- <from>2009</from>
183
- <owner>
184
- <organization>
185
- <name>ISO</name>
186
- </organization>
187
- </owner>
188
- </copyright>
189
- <relation type="updates">
190
- <bibitem>
191
- <formattedref>ISO 19115-2</formattedref>
192
- </bibitem>
193
- </relation>
194
- <editorialgroup>
195
- <technical_committee number="211" type="TC">ISO/TC 211Geographic information/Geomatics</technical_committee>
196
- </editorialgroup>
197
- <ics>
198
- <code>35.240.70</code>
199
- <text>IT applications in science</text>
200
- </ics>
201
- </bibitem>
202
- </relation>
203
- <editorialgroup>
204
- <technical_committee number="211" type="TC">ISO/TC 211Geographic information/Geomatics</technical_committee>
205
- </editorialgroup>
206
- <ics>
207
- <code>35.240.70</code>
208
- <text>IT applications in science</text>
209
- </ics>
210
- </bibitem></documents>