music_metadata_score 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/music_metadata_score/title_case.rb +6 -2
- data/lib/music_metadata_score/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDFhYmEzM2YwMjFiNmMyNGVlMzRhZjIwNGQ5NGY3N2UzYjk5MTA5Yw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjgxODEwMzdkNjg4NmQ5ZGZjODA0MTkzYTBiMTMzY2FhOGE5YjcxZA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NmM4ZThmZDEwMTA0YWY4MTQwY2YxM2Y0NWJiN2U3OWVhNmY1OTMwMDVmYWZj
|
10
|
+
YTk5ZjdmY2NmMmNmZDI5ZjFmYTljODI1ZTM2YjkzZjRiOGMwYThkNjc4ZmRl
|
11
|
+
ZGZkODRiZTJlMGM1ZDJlMDQ5MTU0OWNjODU0ZWI5Y2Q2ZjBiMGY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjE0ZThjNjhkMzAxNjgxY2JkNDE0NDY3NGNiNDkzYWU3NjM4ZGYxNGFiZWJl
|
14
|
+
ZGJlOTVmNWQ5NWJlNzkyNzhlMTM0NzdiM2QzYzVlMDZmOWI5ZjMzODdjZTc5
|
15
|
+
NDIyZmNjNjllMTUzMDIwMTQ0ZGUzMGU2OTM4YWRkZGE3OWZlN2Y=
|
@@ -195,8 +195,12 @@ module MusicMetadataScore
|
|
195
195
|
# Check for abbreviations
|
196
196
|
def self.improper_abbreviations?(title)
|
197
197
|
# TODO find pt. and vol. not formatted properly
|
198
|
-
if
|
199
|
-
|
198
|
+
if !MusicMetadataScore::Score.field_is_blank?(title)
|
199
|
+
if title.downcase.include?(' part') || title.downcase.include?(' volume') || title.downcase.include?(' number') || title.downcase.include?(' aka') || title.downcase.include?(' d.j') || title.downcase.include?(' num')
|
200
|
+
true
|
201
|
+
else
|
202
|
+
false
|
203
|
+
end
|
200
204
|
else
|
201
205
|
false
|
202
206
|
end
|