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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4edb08fd669242f804f540fe356a120ec5f3401e
4
- data.tar.gz: befba12b2c6fd448b65a3add85812c0ce7dfcad7
3
+ metadata.gz: 28fba8d0871b0506ea3251745c662e9fd38500de
4
+ data.tar.gz: 430488014e63debfff85059f881f6ae629d3a32a
5
5
  SHA512:
6
- metadata.gz: 2528273d54af40370453d258539eb296ba6697d22dfa812f6ebe8913e789aa8c7b512d2152b5da4c80d49526c0f248c595463475f41ffa9b60855554afb7cbca
7
- data.tar.gz: 6ea5744440b41d23f1caee0034b74b51da56f1fc224319ba4cb488b2e5bed0f06e7d21f21baf4c950e82cdc9c8133fc1404a3bae7f4ce921f3b0ead6afa665ab
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
@@ -1,3 +1,3 @@
1
1
  module LastFM
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radavis_last_fm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Davis