relaton-ogc 1.18.0 → 1.19.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: 3dc255d661007608e306d2c4d52eac8e94e304d38be1d1fcbcdf7533199155bc
4
- data.tar.gz: 8e6bc96f3339e4d5f57b32c6793ecb2f6cb20bc2f7ec3463064c435cc340ef9c
3
+ metadata.gz: bc4ca5d3f9963b89c24ec0df1ed12f25bb0cd21a4043b42c66662f0d92e6175c
4
+ data.tar.gz: 27be8f74cf94edd9f7d09f6169ae257062da3959d5cb4812900fdca8b1f0fe01
5
5
  SHA512:
6
- metadata.gz: 705c41bb2b0ec2dfc3221c44ddb0ac174a4030a25a02bae4e0214aed37f5fef91324da0f55f6b94786892a18444349611ccf480138f5f6c0d3062ddcef198232
7
- data.tar.gz: 24fd0fa49d6f8d28b0f491b7c68181e30a5610fa1b8172fb74bb2b18c2191ff6f075cbd456668bb306cc3b82043dda9b053256547a0cbe85180c38b7a79b8289
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
- === Configuration
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.