relaton-w3c 1.9.5 → 1.9.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.adoc +2 -2
  3. data/{withdrawn → data}/reference.W3C.CR-rdf-schema.xml +0 -0
  4. data/{withdrawn → data}/reference.W3C.DSig-label.xml +0 -0
  5. data/{withdrawn → data}/reference.W3C.P3P-rdfschema.xml +0 -0
  6. data/{withdrawn → data}/reference.W3C.P3P.xml +0 -0
  7. data/{withdrawn → data}/reference.W3C.PICS-labels.xml +0 -0
  8. data/{withdrawn → data}/reference.W3C.PICS-rules.xml +0 -0
  9. data/{withdrawn → data}/reference.W3C.PICS-services.xml +0 -0
  10. data/{withdrawn → data}/reference.W3C.REC-RUBY.xml +0 -0
  11. data/{withdrawn → data}/reference.W3C.REC-XHTML.xml +0 -0
  12. data/{withdrawn → data}/reference.W3C.REC-rdf-syntax.xml +0 -0
  13. data/{withdrawn → data}/reference.W3C.REC-xml-1998.xml +0 -0
  14. data/{withdrawn → data}/reference.W3C.REC-xml-names.xml +0 -0
  15. data/{withdrawn → data}/reference.W3C.REC-xml.xml +0 -0
  16. data/{withdrawn → data}/reference.W3C.REC-xmlenc-core.xml +0 -0
  17. data/{withdrawn → data}/reference.W3C.REC-xmlschema-1.xml +0 -0
  18. data/{withdrawn → data}/reference.W3C.REC-xmlschema-2.xml +0 -0
  19. data/{withdrawn → data}/reference.W3C.daml-oil-reference.xml +0 -0
  20. data/{withdrawn → data}/reference.W3C.soap11.xml +0 -0
  21. data/{withdrawn → data}/reference.W3C.soap12-part1.xml +0 -0
  22. data/{withdrawn → data}/reference.W3C.soap12-part2.xml +0 -0
  23. data/{withdrawn → data}/reference.W3C.xkms.xml +0 -0
  24. data/{withdrawn → data}/reference.W3C.xml-c14n.xml +0 -0
  25. data/{withdrawn → data}/reference.W3C.xmldsig-core.xml +0 -0
  26. data/{withdrawn → data}/reference.W3C.xmlenc-core.xml +0 -0
  27. data/{withdrawn → data}/reference.W3C.xpath.xml +0 -0
  28. data/lib/relaton_w3c/data_fethcer.rb +1 -1
  29. data/lib/relaton_w3c/version.rb +1 -1
  30. metadata +27 -27
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59cff3693d7bd2f1b525babbed370b0cd5a1eff11b351cb85c57abbc5f63fa9c
4
- data.tar.gz: 430214c0eeb2bb22bad775f2ecca8af989ba71271abffd664a94838bcefe3581
3
+ metadata.gz: db2d2cf6329e829e43950fbf7ecee8086f7568797fea42040e3a0cefd5e3029a
4
+ data.tar.gz: 2c28c079df6d7d84deeb38abfb8aff9dc358786caa6b07f0a06bd39e46be0ad1
5
5
  SHA512:
6
- metadata.gz: 0012f520613136a2848d875390c159c6a1ec5d39dd60bb046ac90dcada9191a8a515de70681fa6f84837857149ba18e042057c536e06319222c9618b7591a381
7
- data.tar.gz: ae8731ef0921be794f4259014ef43ccc0a46b0b28ce9077b5a9209e5e22198f0b275ae9f8b488a097da1a31a9841704f706483fff6ff878f725e6af6565e8b36
6
+ metadata.gz: dfdf8eea72bfbbe5e02309d7cc86e4b1d392d3d636797faaf9550d1e293bad3dee26c162a1f180f1f6815f87643198e2a3a26fced9e32786f948b10b06ea782c
7
+ data.tar.gz: fc0d81a938cc8dda2a20779504a37e26b326a4889b31be42de788f773291f75686c67a13b644c092b03b00de7a57fb9032945d9c8e00a5d127689e4d584fe3f7
data/README.adoc CHANGED
@@ -151,13 +151,13 @@ RelatonW3c::W3cBibliographicItem.new **bib_hash
151
151
 
152
152
  === Fetch data
153
153
 
154
- There is a W3C dataset http://www.w3.org/2002/01/tr-automation/tr.rdf which can be converted into RelatonXML/BibXML/BibYAML formats.
154
+ There is a W3C dataset http://www.w3.org/2002/01/tr-automation/tr.rdf which can be converted into RelatonXML/BibXML/BibYAML formats. The static files from the `path_to_gem/withdrawn` directory are added to output during fetching data.
155
155
 
156
156
  The method `RelatonW3c::DataFetcher.fetch(output: "data", format: "yaml")` converts all the documents from the dataset and save them to the `./data` folder in YAML format.
157
157
  Arguments:
158
158
 
159
159
  - `output` - folder to save documents (default './data').
160
- - `format` - format in which the documents are saved. Possimle formats are: `yaml`, `xml`, `bibxml` (default `yaml`).
160
+ - `format` - format in which the documents are saved. Possible formats are: `yaml`, `xml`, `bibxml` (default `yaml`).
161
161
 
162
162
  [source,ruby]
163
163
  ----
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -47,7 +47,7 @@ module RelatonW3c
47
47
  #
48
48
  def fetch
49
49
  query.each { |sl| save_doc DataParser.parse(sl, self) }
50
- Dir[File.expand_path("../../withdrawn/*", __dir__)].each do |file|
50
+ Dir[File.expand_path("../../data/*", __dir__)].each do |file|
51
51
  xml = File.read file, encoding: "UTF-8"
52
52
  save_doc RelatonBib::BibXMLParser.parse(xml)
53
53
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonW3c
2
- VERSION = "1.9.5".freeze
2
+ VERSION = "1.9.6".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-w3c
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.5
4
+ version: 1.9.6
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-01-12 00:00:00.000000000 Z
11
+ date: 2022-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equivalent-xml
@@ -170,6 +170,31 @@ files:
170
170
  - bin/console
171
171
  - bin/rspec
172
172
  - bin/setup
173
+ - data/reference.W3C.CR-rdf-schema.xml
174
+ - data/reference.W3C.DSig-label.xml
175
+ - data/reference.W3C.P3P-rdfschema.xml
176
+ - data/reference.W3C.P3P.xml
177
+ - data/reference.W3C.PICS-labels.xml
178
+ - data/reference.W3C.PICS-rules.xml
179
+ - data/reference.W3C.PICS-services.xml
180
+ - data/reference.W3C.REC-RUBY.xml
181
+ - data/reference.W3C.REC-XHTML.xml
182
+ - data/reference.W3C.REC-rdf-syntax.xml
183
+ - data/reference.W3C.REC-xml-1998.xml
184
+ - data/reference.W3C.REC-xml-names.xml
185
+ - data/reference.W3C.REC-xml.xml
186
+ - data/reference.W3C.REC-xmlenc-core.xml
187
+ - data/reference.W3C.REC-xmlschema-1.xml
188
+ - data/reference.W3C.REC-xmlschema-2.xml
189
+ - data/reference.W3C.daml-oil-reference.xml
190
+ - data/reference.W3C.soap11.xml
191
+ - data/reference.W3C.soap12-part1.xml
192
+ - data/reference.W3C.soap12-part2.xml
193
+ - data/reference.W3C.xkms.xml
194
+ - data/reference.W3C.xml-c14n.xml
195
+ - data/reference.W3C.xmldsig-core.xml
196
+ - data/reference.W3C.xmlenc-core.xml
197
+ - data/reference.W3C.xpath.xml
173
198
  - grammars/basicdoc.rng
174
199
  - grammars/biblio.rng
175
200
  - grammars/isodoc.rng
@@ -188,31 +213,6 @@ files:
188
213
  - lib/relaton_w3c/workgroups.yaml
189
214
  - lib/relaton_w3c/xml_parser.rb
190
215
  - relaton_w3c.gemspec
191
- - withdrawn/reference.W3C.CR-rdf-schema.xml
192
- - withdrawn/reference.W3C.DSig-label.xml
193
- - withdrawn/reference.W3C.P3P-rdfschema.xml
194
- - withdrawn/reference.W3C.P3P.xml
195
- - withdrawn/reference.W3C.PICS-labels.xml
196
- - withdrawn/reference.W3C.PICS-rules.xml
197
- - withdrawn/reference.W3C.PICS-services.xml
198
- - withdrawn/reference.W3C.REC-RUBY.xml
199
- - withdrawn/reference.W3C.REC-XHTML.xml
200
- - withdrawn/reference.W3C.REC-rdf-syntax.xml
201
- - withdrawn/reference.W3C.REC-xml-1998.xml
202
- - withdrawn/reference.W3C.REC-xml-names.xml
203
- - withdrawn/reference.W3C.REC-xml.xml
204
- - withdrawn/reference.W3C.REC-xmlenc-core.xml
205
- - withdrawn/reference.W3C.REC-xmlschema-1.xml
206
- - withdrawn/reference.W3C.REC-xmlschema-2.xml
207
- - withdrawn/reference.W3C.daml-oil-reference.xml
208
- - withdrawn/reference.W3C.soap11.xml
209
- - withdrawn/reference.W3C.soap12-part1.xml
210
- - withdrawn/reference.W3C.soap12-part2.xml
211
- - withdrawn/reference.W3C.xkms.xml
212
- - withdrawn/reference.W3C.xml-c14n.xml
213
- - withdrawn/reference.W3C.xmldsig-core.xml
214
- - withdrawn/reference.W3C.xmlenc-core.xml
215
- - withdrawn/reference.W3C.xpath.xml
216
216
  homepage: https://github.com/relaton/relaton-wc3
217
217
  licenses:
218
218
  - BSD-2-Clause