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 +4 -4
- data/README.adoc +14 -3
- data/lib/relaton_3gpp/bibliography.rb +1 -1
- data/lib/relaton_3gpp/config.rb +1 -1
- data/lib/relaton_3gpp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc9a67e4e91cfa69ac115b3eb9263314e46371dab6a17d817239f42458b85d17
|
4
|
+
data.tar.gz: a1f1868e75bf1bb214a2c82b0d8602ca4598f17d80db46d76e990d493761c290
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
===
|
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] (
|
35
|
-
[relaton-3gpp] (
|
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"
|
data/lib/relaton_3gpp/config.rb
CHANGED
data/lib/relaton_3gpp/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2023-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mdb
|