relaton-3gpp 1.16.2 → 1.16.3

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: dc9a67e4e91cfa69ac115b3eb9263314e46371dab6a17d817239f42458b85d17
4
- data.tar.gz: a1f1868e75bf1bb214a2c82b0d8602ca4598f17d80db46d76e990d493761c290
3
+ metadata.gz: c6d8e339275bc2ae0a757ca58f3b1688d1bfd5ca4ba212b8e47729b9fb5f242f
4
+ data.tar.gz: f11db07abc50daf052dea9b5683f91cca577ee7fc8b841730511dd1613349498
5
5
  SHA512:
6
- metadata.gz: fca3c90a8cbcbb69ae7007599e6e923b825e520c50913b82798f7d15c93448a82edf1e5bf1209c735fba32ff79266808f37af259929146ab612ebb9f784de489
7
- data.tar.gz: d01210d357aee80d68d1187e40f94d546e5a99d42c2119ad55f6efac6bc6afc04010a906fdfe9a01d219f4a03dac70c85d6065ff9260f3e8c5c209a0b67bb427
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) fetching repsitory ...
46
- [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 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 "doctype is missing"
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}) fetching from Relaton repository ..."
37
+ Util.warn "(#{ref}) Fetching from Relaton repository ..."
38
38
  result = search(ref)
39
39
  unless result
40
- Util.warn "(#{ref}) not found"
40
+ Util.warn "(#{ref}) Not found."
41
41
  return
42
42
  end
43
43
 
44
- Util.warn "(#{ref}) found `#{result.docidentifier[0].id}`"
44
+ Util.warn "(#{ref}) Found: `#{result.docidentifier[0].id}`"
45
45
  result
46
46
  end
47
47
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Relaton3gpp
4
- VERSION = "1.16.2"
4
+ VERSION = "1.16.3"
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.2
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-06 00:00:00.000000000 Z
11
+ date: 2023-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mdb