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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24d7a72c7e90453342608b8b7e1d52d180b58ac5983aeaecfce668ddc5c4f722
4
- data.tar.gz: fe2bb7cf08dfbd1e70ec36c1e32291104e212cf9950e29bece907ddf50f11733
3
+ metadata.gz: bc4ca5d3f9963b89c24ec0df1ed12f25bb0cd21a4043b42c66662f0d92e6175c
4
+ data.tar.gz: 27be8f74cf94edd9f7d09f6169ae257062da3959d5cb4812900fdca8b1f0fe01
5
5
  SHA512:
6
- metadata.gz: 9b12b120e8ff2ab348a743d50186972da5991d0406e009c594f2460748e77f2e0d6d1426f931bb652db4355bb2dc2b4a7f3e0b32468951187d7f47b4b2f85547
7
- data.tar.gz: 6274054068fce566b9aa1f75a604d2226b9f947919c31256c4519a02041b1831f1ad293e3b81b62665f6d5180c21384b51c11fb526330000e4af40ff274103c1
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.