relaton-bsi 1.9.3 → 1.9.4

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: 575d3bddb3ae25f1eb02722c22b2828078dcfbdda026f1880cb9267f7063fe02
4
- data.tar.gz: 9acb554596e76d303396f3ee3ca363a90debaf796e056d30a7a7cec1666c35d8
3
+ metadata.gz: e2749b7966d113cba9dc0cbd432b8f9d072c325397fd41c299425b19446570ea
4
+ data.tar.gz: 66649bac24670c82a3089b52e0466f149d3b790ba4ec6686bc3b67917f6d329c
5
5
  SHA512:
6
- metadata.gz: 97419068d0508756a60da761bfb2caa436959ccfc4939052149ee951d781ee74b1b5a401796e591ec54a94974365a1b2560ce77fd91f0e0704f903ef21d0dd67
7
- data.tar.gz: 016d70fee73a215b58cc53b8101fa4c70b21e30a6229f727524a3604eaa838b9a2dc1c88493ec1f2a1992a45a8161ebcdf4a5e7103822ca3f44ed21a0549b5fb
6
+ metadata.gz: 4dcd33e8c4bf049237e3ca184c399c9d3f2f4cfb7ae3c9561ace6eecc03047fadab5268ba34ee382c4572e211740ea2b7b9142d7082148a3276fbc0b8ed9ca63
7
+ data.tar.gz: 8346013400a2ebe7ed52a1982a792dc0502834dfb3097ecfa9ad9d3dc7f3a5d308cb94a15ebea2cf3988929e09534d2e1ecde846f1e84a46902bc194e96a96a5
@@ -28,7 +28,8 @@ module RelatonBsi
28
28
  # @return [Array<RelatonBsi::Hit>]
29
29
  def hits(hits) # rubocop:disable Metrics/MethodLength, Metrics/AbcSize
30
30
  hits.map do |h|
31
- code = h[:meta][:global][:primaryDesignator].sub(/\sLOOSELEAF|\s\(A5 LAMINATED\)/, "")
31
+ code = h[:meta][:global][:primaryDesignator]
32
+ .sub(/\s(?:LOOSELEAF|\(A5 LAMINATED\)|-\sTC$)/, "")
32
33
  Hit.new(
33
34
  {
34
35
  code: code,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonBsi
4
- VERSION = "1.9.3"
4
+ VERSION = "1.9.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-bsi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.3
4
+ version: 1.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-29 00:00:00.000000000 Z
11
+ date: 2021-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equivalent-xml