relaton-ogc 1.18.1 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +5 -12
- data/{docs.json → docs1.json} +2111 -1444
- data/grammars/basicdoc.rng +3 -0
- data/lib/relaton_ogc/data_fetcher.rb +3 -4
- data/lib/relaton_ogc/document_type.rb +1 -1
- data/lib/relaton_ogc/ogc_bibliographic_item.rb +1 -1
- data/lib/relaton_ogc/ogc_bibliography.rb +5 -5
- data/lib/relaton_ogc/util.rb +1 -4
- data/lib/relaton_ogc/version.rb +1 -1
- data/lib/relaton_ogc/xml_parser.rb +1 -3
- data/lib/relaton_ogc.rb +0 -1
- data/relaton_ogc.gemspec +1 -1
- metadata +6 -7
- data/lib/relaton_ogc/config.rb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc4ca5d3f9963b89c24ec0df1ed12f25bb0cd21a4043b42c66662f0d92e6175c
|
4
|
+
data.tar.gz: 27be8f74cf94edd9f7d09f6169ae257062da3959d5cb4812900fdca8b1f0fe01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c1208348abc147a46322ffa45c4a83facfeefa4fa31b290f04f19dd8ea1ceda0f802f7d385da2cb031bc3cac5f276fff6b44d917611a79bb4368b8bd1ceecf4
|
7
|
+
data.tar.gz: 4c55a4906cf60d09908db0c953cd8f429967f6dec3935489daaffd74558873da32f8df590497aa9ac4184c92a14d03f61d99c8c0f59fe55af23dddb1b3402c3f
|
data/README.adoc
CHANGED
@@ -31,24 +31,13 @@ Or install it yourself as:
|
|
31
31
|
|
32
32
|
== Usage
|
33
33
|
|
34
|
-
===
|
35
|
-
|
36
|
-
Configuration is optional. The available option is `logger` which is a `Logger` instance. By default, the logger is `Logger.new($stderr)` with `Logger::WARN` level. To change the logger level, use `RelatonOgc.configure` block.
|
34
|
+
=== Search for a standard using keywords
|
37
35
|
|
38
36
|
[source,ruby]
|
39
37
|
----
|
40
38
|
require 'relaton_ogc'
|
41
39
|
=> true
|
42
40
|
|
43
|
-
RelatonOgc.configure do |config|
|
44
|
-
config.logger.level = Logger::DEBUG
|
45
|
-
end
|
46
|
-
----
|
47
|
-
|
48
|
-
=== Search for a standard using keywords
|
49
|
-
|
50
|
-
[source,ruby]
|
51
|
-
----
|
52
41
|
hits = RelatonOgc::OgcBibliography.search("OGC 19-025r1")
|
53
42
|
=> <RelatonOgc::HitCollection:0x007fcc8e085ba8 @ref=OGC 19-025r1 @fetched=true>
|
54
43
|
|
@@ -149,6 +138,10 @@ Stopped at: 2021-09-14 11:21:48 +0200
|
|
149
138
|
=> nil
|
150
139
|
----
|
151
140
|
|
141
|
+
=== Logging
|
142
|
+
|
143
|
+
RelatonOgc uses the relaton-logger gem for logging. By default, it logs to STDOUT. To change the log levels and add other loggers, read the https://github.com/relaton/relaton-logger#usage[relaton-logger] documentation.
|
144
|
+
|
152
145
|
== Development
|
153
146
|
|
154
147
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|