relaton-3gpp 1.16.1 → 1.16.2

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: 7044b7a40312d4be81499ffec99b78ca23a1ce244b1b40cb813c446e1b77bdcf
4
- data.tar.gz: 32c1aac44fb279a09e91db52e930f4543620eeb9d937abb7edb1ccb5aae1c6e0
3
+ metadata.gz: dc9a67e4e91cfa69ac115b3eb9263314e46371dab6a17d817239f42458b85d17
4
+ data.tar.gz: a1f1868e75bf1bb214a2c82b0d8602ca4598f17d80db46d76e990d493761c290
5
5
  SHA512:
6
- metadata.gz: 784095e42a3a215f41d252b8640251ebde283775acf822d2f37b9169c4f7d22584645944fc72ae4f85d01440e820a3593a1ef9ee1f6dee0763f9a4c0bdba812c
7
- data.tar.gz: 11b8f3e63592d6caf64542cfe4918f447ded9eb603b371941d9d37d1918d68a36052c1a58c35db4ba80f86c2ba1c56c58e51a39c56de6b4516cc3f83f858dd1b
6
+ metadata.gz: fca3c90a8cbcbb69ae7007599e6e923b825e520c50913b82798f7d15c93448a82edf1e5bf1209c735fba32ff79266808f37af259929146ab612ebb9f784de489
7
+ data.tar.gz: d01210d357aee80d68d1187e40f94d546e5a99d42c2119ad55f6efac6bc6afc04010a906fdfe9a01d219f4a03dac70c85d6065ff9260f3e8c5c209a0b67bb427
data/README.adoc CHANGED
@@ -23,16 +23,27 @@ Or install it yourself as:
23
23
 
24
24
  == Usage
25
25
 
26
- === Search for a standard using keywords
26
+ === Configuration
27
+
28
+ 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 `Relaton3gpp.configure` block.
27
29
 
28
30
  [source,ruby]
29
31
  ----
30
32
  require 'relaton_3gpp'
31
33
  => true
32
34
 
35
+ Relaton3gpp.configure do |config|
36
+ config.logger.level = Logger::DEBUG
37
+ end
38
+ ----
39
+
40
+ === Search for a standard using keywords
41
+
42
+ [source,ruby]
43
+ ----
33
44
  item = Relaton3gpp::Bibliography.get "3GPP TR 00.01U:UMTS/3.0.0"
34
- [relaton-3gpp] ("3GPP TR 00.01U:UMTS/3.0.0") fetching...
35
- [relaton-3gpp] ("3GPP TR 00.01U:UMTS/3.0.0") found 3GPP TR 00.01U:UMTS/3.0.0
45
+ [relaton-3gpp] (3GPP TR 00.01U:UMTS/3.0.0) fetching repsitory ...
46
+ [relaton-3gpp] (3GPP TR 00.01U:UMTS/3.0.0) found `3GPP TR 00.01U:UMTS/3.0.0`
36
47
  => #<Relaton3gpp::BibliographicItem:0x00007f92d94264e0
37
48
  ...
38
49
  ----
@@ -34,7 +34,7 @@ module Relaton3gpp
34
34
  # @param opts [Hash] options
35
35
  # @return [RelatonBib::BibliographicItem]
36
36
  def get(ref, _year = nil, _opts = {})
37
- Util.warn "(#{ref}) fetching..."
37
+ Util.warn "(#{ref}) fetching from Relaton repository ..."
38
38
  result = search(ref)
39
39
  unless result
40
40
  Util.warn "(#{ref}) not found"
@@ -5,6 +5,6 @@ module Relaton3gpp
5
5
  extend Config
6
6
 
7
7
  class Configuration < RelatonBib::Configuration
8
- PROGNAME = "relaton-3ggp".freeze
8
+ PROGNAME = "relaton-3gpp".freeze
9
9
  end
10
10
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Relaton3gpp
4
- VERSION = "1.16.1"
4
+ VERSION = "1.16.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-3gpp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.1
4
+ version: 1.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-20 00:00:00.000000000 Z
11
+ date: 2023-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mdb