apple_music_library 0.13.0 → 0.13.1
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/apple_music_library/artist.rb +1 -1
- data/lib/apple_music_library/track.rb +2 -2
- data/lib/apple_music_library/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b462ccaf045f625899fb62099d659bbe3f7a3b8ea46cc59e376623656ed2646
|
4
|
+
data.tar.gz: f96477c3e0fc3243e44753970cd15c9ead277e3f8fed96d822dbdbeeabd3b328
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 559439425509081f89e3386783a4825529c85bcca29b48b0db7a962fdf8ea3221db926876db353d9663283c1c8b6f25dcd77444926a6778567be9868d6c1239a
|
7
|
+
data.tar.gz: f6d84390ebd8fcb18a9fea28ced25edb255cac78038fef702e7744195b240c666d6fea4201e8de00cebc2ffec487746b456fb6d55162203bd9b97da822c6d357
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
## [Unreleased]
|
4
4
|
- Ability to print out playlist folder hierarchy
|
5
5
|
|
6
|
+
## 0.13.1 - 2022-03-16
|
7
|
+
### Fixed
|
8
|
+
- Now strips leading/trailing whitespace from artist and track names
|
9
|
+
|
6
10
|
## 0.13.0 - 2022-03-26
|
7
11
|
### Added
|
8
12
|
- Added handling for system verses user-created playlists
|
data/Gemfile.lock
CHANGED
@@ -2,7 +2,7 @@ require 'facets'
|
|
2
2
|
|
3
3
|
module AppleMusicLibrary
|
4
4
|
class Track
|
5
|
-
attr_reader :artist, :album, :genre
|
5
|
+
attr_reader :artist, :album, :genre, :info
|
6
6
|
|
7
7
|
# 'Artist', The #artist, #album, and #genre methods return objects rather than strings and have methods like #artist_name to retrieve the strings.
|
8
8
|
# 'Album',
|
@@ -105,7 +105,7 @@ module AppleMusicLibrary
|
|
105
105
|
|
106
106
|
ATTRIBUTES.each do |track_attribute|
|
107
107
|
define_method(track_attribute.to_s.snakecase) do
|
108
|
-
@info[track_attribute]
|
108
|
+
@info[track_attribute].class.name == 'String' ? @info[track_attribute].strip : @info[track_attribute]
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|