relaton-cen 1.16.6 → 1.16.7

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: ed7ed7f0fc7f8e17b79e1524b174585deba38e13d5afebe74cd0b0845dcd1b41
4
- data.tar.gz: c7203951ed658c845b61e8f24a958277d9442101abda5a6c50b5386abcb1b0cb
3
+ metadata.gz: 3b9d53d6711202954b590bb82b2177582cb5f79edbfecc05bf7c61c2c748c134
4
+ data.tar.gz: c2451f1adb4d5705b11004a7c8da62588d0d88fa396ab633f062197815b5c2e2
5
5
  SHA512:
6
- metadata.gz: 88ef17d4cf95af9fc7d515f767936afbe848af8df8e25d78561251ebb2fb5d66f9549340a1e712f8b72ef7ccbc742912bb5d729cc0dbcce710ffd03ec2aa15ea
7
- data.tar.gz: 3e20802a2bf3a09119182bf3a29123751b56fedd6d674d9e26110132ad7c1abc713f7566dacc66ca722c26071383fdaf8a0f2f2a9e3f7d74470b3cb6b481dcc4
6
+ metadata.gz: a11680db15d4234fc2c0714e3c9fc5e4194e721c46b0ddb15ea11d5f391708bdd30924d8fd0437ae4471b59bc03e8f6dbe05013e52bf7bf6bf634b28f0bdb8e9
7
+ data.tar.gz: d48404ef50602ade593f8e03b2935bf404f6ab7a40814d6cb83bec5d71603b9f3280bb2576112e32f45af55c668672abffe02b2da876ac3e0d22ba1dfec5046f
@@ -40,6 +40,7 @@ module RelatonCen
40
40
  (?<code>[^:-]+)(?:-(?<part>\d+))?
41
41
  (?::(?<year>\d{4}))?
42
42
  (?:\+(?<amd>[A-Z]\d+)(?:(?<amy>\d{4}))?)?
43
+ (?:\/(?<ac>AC\d+:\d{4}))?
43
44
  }x.match code
44
45
  end
45
46
 
@@ -56,6 +56,7 @@ module RelatonCen
56
56
  s = bp[:year].to_s <=> ap[:year].to_s if s.zero?
57
57
  s = ap[:amd].to_s <=> bp[:amd].to_s if s.zero?
58
58
  s = ap[:amy].to_s <=> bp[:amy].to_s if s.zero?
59
+ s = ap[:ac].to_s <=> bp[:ac].to_s if s.zero?
59
60
  s
60
61
  end
61
62
  end
@@ -5,7 +5,7 @@ module RelatonCen
5
5
  def initialize # rubocop:disable Lint/MissingSuper
6
6
  @short = :relaton_cen
7
7
  @prefix = "CEN"
8
- @defaultprefix = %r{^(C?EN|ENV)[\s/]}
8
+ @defaultprefix = %r{^(C?EN|ENV|CWA|HD)[\s/]}
9
9
  @idtype = "CEN"
10
10
  end
11
11
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonCen
4
- VERSION = "1.16.6"
4
+ VERSION = "1.16.7"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-cen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.6
4
+ version: 1.16.7
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-29 00:00:00.000000000 Z
11
+ date: 2023-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize