radavis_last_fm 0.0.2 → 0.0.3

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: 45a5acf973cc4a6a7d789e52bc14081fb479f494
4
- data.tar.gz: 7fe42779fb448217530bffc6c21fc2341b62c0c9
3
+ metadata.gz: 4edb08fd669242f804f540fe356a120ec5f3401e
4
+ data.tar.gz: befba12b2c6fd448b65a3add85812c0ce7dfcad7
5
5
  SHA512:
6
- metadata.gz: 99f801d0e52c70ad4f9c58d96a1601a227ce482da84d8839816fa0e02c3f3809388cb9427db5ae1dd9e1c4c88fd8c2e36f549e1f916b18f6cc53649b59713f1d
7
- data.tar.gz: 57440615e6c4bdbce8d14d8e8c5bf681ca30c0c7e6f4af90b37afe69427409db3833b10927e60bb8bdc2e38ae48fb6855f9b726fb974617e3025139ceae4a920
6
+ metadata.gz: 2528273d54af40370453d258539eb296ba6697d22dfa812f6ebe8913e789aa8c7b512d2152b5da4c80d49526c0f248c595463475f41ffa9b60855554afb7cbca
7
+ data.tar.gz: 6ea5744440b41d23f1caee0034b74b51da56f1fc224319ba4cb488b2e5bed0f06e7d21f21baf4c950e82cdc9c8133fc1404a3bae7f4ce921f3b0ead6afa665ab
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']
13
+ if 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.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radavis_last_fm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Davis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-16 00:00:00.000000000 Z
11
+ date: 2013-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday