relaton-3gpp 1.16.2 → 1.16.3
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 +4 -4
- data/README.adoc +2 -2
- data/lib/relaton_3gpp/bibliographic_item.rb +7 -7
- data/lib/relaton_3gpp/bibliography.rb +3 -3
- 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: c6d8e339275bc2ae0a757ca58f3b1688d1bfd5ca4ba212b8e47729b9fb5f242f
|
4
|
+
data.tar.gz: f11db07abc50daf052dea9b5683f91cca577ee7fc8b841730511dd1613349498
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3b3a94825681714236b9b2a85103b4842f69605d1633c714f7ed115e31bec90c8f66fa1885a5a084c87a1a9784d7056a29ad2d114c6480fe1f14fdc85dcc6f2
|
7
|
+
data.tar.gz: 390a50834d6cd96d21f87b83245eefe224539ee76070380e1127535c2bb0a2c2abdfd2803fa12bcc62118e340ca55a04d96599fe19eb09f973bd53a245e433ff
|
data/README.adoc
CHANGED
@@ -42,8 +42,8 @@ end
|
|
42
42
|
[source,ruby]
|
43
43
|
----
|
44
44
|
item = Relaton3gpp::Bibliography.get "3GPP TR 00.01U:UMTS/3.0.0"
|
45
|
-
[relaton-3gpp] (3GPP TR 00.01U:UMTS/3.0.0)
|
46
|
-
[relaton-3gpp] (3GPP TR 00.01U:UMTS/3.0.0)
|
45
|
+
[relaton-3gpp] (3GPP TR 00.01U:UMTS/3.0.0) Fetching repository ...
|
46
|
+
[relaton-3gpp] (3GPP TR 00.01U:UMTS/3.0.0) Found: `3GPP TR 00.01U:UMTS/3.0.0`
|
47
47
|
=> #<Relaton3gpp::BibliographicItem:0x00007f92d94264e0
|
48
48
|
...
|
49
49
|
----
|
@@ -14,19 +14,19 @@ module Relaton3gpp
|
|
14
14
|
def initialize(**args) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
15
15
|
@radiotechnology = args.delete(:radiotechnology)
|
16
16
|
if @radiotechnology && !RADIOTECHNOLOGIES.include?(@radiotechnology)
|
17
|
-
Util.warn "Unknown radiotechnology type: `#{@radiotechnology}`"
|
18
|
-
Util.warn "Possible radiotechnology types: `#{RADIOTECHNOLOGIES.join '`, `'}`"
|
17
|
+
Util.warn "WARNING: Unknown radiotechnology type: `#{@radiotechnology}`"
|
18
|
+
Util.warn "WARNING: Possible radiotechnology types: `#{RADIOTECHNOLOGIES.join '`, `'}`"
|
19
19
|
end
|
20
20
|
@common_ims_spec = args.delete(:common_ims_spec)
|
21
21
|
@release = args.delete(:release)
|
22
|
-
if args[:doctype].nil? then Util.warn "
|
22
|
+
if args[:doctype].nil? then Util.warn "WARNING: Doctype is missing"
|
23
23
|
elsif !DOCTYPES.include?(args[:doctype])
|
24
|
-
Util.warn "Unknown doctype: `#{args[:doctype]}`"
|
25
|
-
Util.warn "Possible doctypes: `#{DOCTYPES.join '`, `'}`"
|
24
|
+
Util.warn "WARNING: Unknown doctype: `#{args[:doctype]}`"
|
25
|
+
Util.warn "WARNING: Possible doctypes: `#{DOCTYPES.join '`, `'}`"
|
26
26
|
end
|
27
27
|
if args[:docsubtype] && !DOCSUBTYPES.include?(args[:docsubtype])
|
28
|
-
Util.warn "Unknown docsubtype: `#{args[:docsubtype]}`"
|
29
|
-
Util.warn "Possible docsubtypes: `#{DOCSUBTYPES.join '`, `'}`"
|
28
|
+
Util.warn "WARNING: Unknown docsubtype: `#{args[:docsubtype]}`"
|
29
|
+
Util.warn "WARNING: Possible docsubtypes: `#{DOCSUBTYPES.join '`, `'}`"
|
30
30
|
end
|
31
31
|
super(**args)
|
32
32
|
end
|
@@ -34,14 +34,14 @@ 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})
|
37
|
+
Util.warn "(#{ref}) Fetching from Relaton repository ..."
|
38
38
|
result = search(ref)
|
39
39
|
unless result
|
40
|
-
Util.warn "(#{ref})
|
40
|
+
Util.warn "(#{ref}) Not found."
|
41
41
|
return
|
42
42
|
end
|
43
43
|
|
44
|
-
Util.warn "(#{ref})
|
44
|
+
Util.warn "(#{ref}) Found: `#{result.docidentifier[0].id}`"
|
45
45
|
result
|
46
46
|
end
|
47
47
|
|
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.3
|
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-10-
|
11
|
+
date: 2023-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mdb
|