music_metadata_score 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjI2NzFlNjA2ZGFlZDc2OWQ0ZDdjOTJmOTE2ZTYzY2Q0MjVkMDdkYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjU1ZDQ5ZjFjNjA4YzViYWNjNGU5OGI0N2QwYTM1NGM5YmU2OTlkNg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjNiMjdiYWRmZjM5ZjkyOGI2NGM5ZjRiMjM0MzZmNzc5NzZiMjRhYjMyNjIz
|
10
|
+
MmNiODRiN2U0ZmQ3M2FiYjMxMWU4MmUwYTI5MDBkNjZjZDc3MzNiNTQyMzAz
|
11
|
+
NzIyNDdmMWQ2MjM1MmEwNDUwNDQ2YWNkOTgzYTYzZDJmNDU3N2U=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjZjMGZlYjJjMjkwMjczNzViYjU3OGU1OWEwYWUyYzhhNTkxNmU0YmExNmY1
|
14
|
+
MjhlNTU1MmVjMDliOTg4OTQ5MjZlOGQwNDQ2MTZhMzg2ZjM0NzZiOWE1MmYw
|
15
|
+
NGRmMjJlMWFlZDQxOTk1NDI5NmE5ZmY4YzI5MTI5N2ZjYzlhYmM=
|
@@ -216,7 +216,11 @@ module MusicMetadataScore
|
|
216
216
|
elsif MusicMetadataScore::Score.field_is_blank?(corrected) && field == 'Version' || field == 'Featuring Artists'
|
217
217
|
nil
|
218
218
|
elsif !MusicMetadataScore::Score.field_is_blank?(corrected) && field == 'Version' || field == 'Featuring Artists'
|
219
|
-
|
219
|
+
if original == corrected
|
220
|
+
nil
|
221
|
+
else
|
222
|
+
"#{field} #{is_or_are} incorrect. It should be #{corrected}"
|
223
|
+
end
|
220
224
|
else
|
221
225
|
"#{field} #{is_or_are} missing"
|
222
226
|
end
|
data/lib/music_metadata_score.rb
CHANGED