radavis_last_fm 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/last_fm/album.rb +1 -1
- data/lib/last_fm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28fba8d0871b0506ea3251745c662e9fd38500de
|
4
|
+
data.tar.gz: 430488014e63debfff85059f881f6ae629d3a32a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9d3a0d9fd25cac02081680ea5a637358290944fe5e38ef7668bb712ef8a9b7e3c2b819332453b022b3eb0a6fe465326b38a61bd706428e2d3fbd19d8d88d141
|
7
|
+
data.tar.gz: 5939a047cf7cbc03ed6cbb944f40e78bf96f9ac1db5ff2ff110a4cd26bdaf2962e133a02d9c9f207e041c14d94c05893ccf9ee1a83c2f4a6a4f91258c3cbc141
|
data/lib/last_fm/album.rb
CHANGED
@@ -10,7 +10,7 @@ module LastFM
|
|
10
10
|
@released = attributes['releasedate'] if attributes['releasedate']
|
11
11
|
|
12
12
|
@tracks = []
|
13
|
-
if attributes['tracks']['track']
|
13
|
+
if attributes['tracks'] and attributes['tracks']['track']
|
14
14
|
attributes['tracks']['track'].each do |track|
|
15
15
|
@tracks << Track.new(track['name'], track['duration'], track['mbid'], track['url'])
|
16
16
|
end
|
data/lib/last_fm/version.rb
CHANGED