radavis_last_fm 0.0.4 → 0.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28fba8d0871b0506ea3251745c662e9fd38500de
4
- data.tar.gz: 430488014e63debfff85059f881f6ae629d3a32a
3
+ metadata.gz: b16f314bedd92d8b67987e8a683fb5bef4b01292
4
+ data.tar.gz: 27b32b6d077c334adbd52adc36441b1c2afb828c
5
5
  SHA512:
6
- metadata.gz: e9d3a0d9fd25cac02081680ea5a637358290944fe5e38ef7668bb712ef8a9b7e3c2b819332453b022b3eb0a6fe465326b38a61bd706428e2d3fbd19d8d88d141
7
- data.tar.gz: 5939a047cf7cbc03ed6cbb944f40e78bf96f9ac1db5ff2ff110a4cd26bdaf2962e133a02d9c9f207e041c14d94c05893ccf9ee1a83c2f4a6a4f91258c3cbc141
6
+ metadata.gz: 29ed61ede1970cc5793d30131decaaf29e7242305c4b45ced0487d79526cd4cd349c771b2f93891620c05ee30a10b1dd346600752adc472c6d019c691f63a2e5
7
+ data.tar.gz: 2546f47a0c62616f6b15cf691f41d17b5f1b1aed648c7454a851b27bdb4d9e54cf6d772f4e1e2501865ad07c681e49698dbeec5118e1828793f786b16de3fc30
data/lib/last_fm/album.rb CHANGED
@@ -7,7 +7,7 @@ module LastFM
7
7
 
8
8
  @mbid = attributes['mbid'] if attributes['mbid']
9
9
  @artist = attributes['artist'] if attributes['artist']
10
- @released = attributes['releasedate'] if attributes['releasedate']
10
+ @released = attributes['releasedate'] if attributes['releasedate'].strip.length > 0
11
11
 
12
12
  @tracks = []
13
13
  if attributes['tracks'] and attributes['tracks']['track']
@@ -1,3 +1,3 @@
1
1
  module LastFM
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
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.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Davis