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 +4 -4
- data/lib/relaton_bipm/id_parser.rb +1 -1
- data/lib/relaton_bipm/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: eca93d6c95f7d1da1f1b3609fa4d782a97fed79a5793b2d695fa342ec2cdfacf
|
4
|
+
data.tar.gz: 5be9f8e7f259daa7f4f2c8d06f7c87e8d2fe4e1e41bb29faa413c462bc260d71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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]
|
data/lib/relaton_bipm/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2023-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|