relaton-ogc 1.18.1 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24d7a72c7e90453342608b8b7e1d52d180b58ac5983aeaecfce668ddc5c4f722
4
- data.tar.gz: fe2bb7cf08dfbd1e70ec36c1e32291104e212cf9950e29bece907ddf50f11733
3
+ metadata.gz: 2fb5518408325a02364ea1938708089804f1b61493a3dfa01c99239314ce4bf4
4
+ data.tar.gz: 660f8779f7209f80bf8498bc2022259aaf40b9a6bf998267814b0300b14328db
5
5
  SHA512:
6
- metadata.gz: 9b12b120e8ff2ab348a743d50186972da5991d0406e009c594f2460748e77f2e0d6d1426f931bb652db4355bb2dc2b4a7f3e0b32468951187d7f47b4b2f85547
7
- data.tar.gz: 6274054068fce566b9aa1f75a604d2226b9f947919c31256c4519a02041b1831f1ad293e3b81b62665f6d5180c21384b51c11fb526330000e4af40ff274103c1
6
+ metadata.gz: 58c9d21aa2ce4fc50dc626225d24cc495fc20078497a360a218bfc1f1133be4a2b2bd24238c09dc046aef15a20b3ab41438b20a7a93d40311b7ecda74e3a22a6
7
+ data.tar.gz: 452073a916ffae4eec0efcd3074641547ea7a80199194a1d453830985c22a129364ede8812e84e48664d3ee989064eea3b962baa26f0fb53c0fc01694ee00d79
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.