relaton-bipm 1.16.3 → 1.16.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: 3d8e6a865105cdcf8855183ef3e9a643f7b5927a45e7fb323933b35e6c785c5b
4
- data.tar.gz: 7d0e021593a5b8e0da95ff90aaf7f62a769d2d96bff362779025b01cfc6f950a
3
+ metadata.gz: eca93d6c95f7d1da1f1b3609fa4d782a97fed79a5793b2d695fa342ec2cdfacf
4
+ data.tar.gz: 5be9f8e7f259daa7f4f2c8d06f7c87e8d2fe4e1e41bb29faa413c462bc260d71
5
5
  SHA512:
6
- metadata.gz: 87020ee215e5bdd22faef4628a2dee2745e18a946da0fed498e374d1acc80bede9a4e3ea21afee2fd9375a0ef29ece739f5466cd45a32e73d991eead21272232
7
- data.tar.gz: 0a009e46923cbfb67361f2edb48198a1a1f82022c4925fa3780bb5d6137ca3585fcf5de376aca5f743db11855db034a68acdc56b72f921351a9d2ebe7a4ce03c
6
+ metadata.gz: d3903d6d1632947ece2712e2fbdfb4d690c20ae0840b225487e8e751b8d943560e58c5a3d21b971b2cdc1ce81336a70a3d278fda5a794daa08fa0284f1f820a0
7
+ data.tar.gz: 04d3e61c0d11fe9578c1a8cc42979dd53e4567b035b33350c1fe58ed2f4a535f4f400e85d5c6cfaabdcda482b63663b1c2d6471e7bb41c58739f616fd00e3e81
@@ -91,7 +91,7 @@ module RelatonBipm
91
91
  def ==(other) # rubocop:disable Metrics/CyclomaticComplexity,Metrics/PerceivedComplexity,Metrics/AbcSize
92
92
  other_hash = other.is_a?(Id) ? other.to_hash : normalize_hash(other)
93
93
  hash = to_hash
94
- hash.delete(:number) if other_hash[:number].nil? && hash[:number] == "1"
94
+ hash.delete(:number) if other_hash[:number].nil? && hash[:number] == "1" and hash[:year]
95
95
  other_hash.delete(:number) if hash[:number].nil? && other_hash[:number] == "1"
96
96
  hash.delete(:year) unless other_hash[:year]
97
97
  other_hash.delete(:year) unless hash[:year]
@@ -1,3 +1,3 @@
1
1
  module RelatonBipm
2
- VERSION = "1.16.3".freeze
2
+ VERSION = "1.16.4".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-bipm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.3
4
+ version: 1.16.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: 2023-10-07 00:00:00.000000000 Z
11
+ date: 2023-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday