musicfix 0.1.4 → 0.1.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +3 -0
  3. data/bin/musicfix +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a17bc779557199bbf5d0a2a0fb73e8f2eba7111e
4
- data.tar.gz: 718671ebe4f9ec0b17f1b9b041cec160dfb194af
3
+ metadata.gz: 9b6c21ec0e1a27c4204d70c304f94b98f2992197
4
+ data.tar.gz: 715fc3b30320e2e58c9260e1c0d86728b94a24f2
5
5
  SHA512:
6
- metadata.gz: 58271c448ab3602583c315ac1aef9439613c82ea64edc5c974d442dd4d161c63bef2693de599948b086a77e5b4011881b28c138d370d0029a0d0b1ef862d0b89
7
- data.tar.gz: 39018cb6b5fc1092952b1ced6bb27cd1103a639fedc2382635c2b6021c524c6e1be5dad317bece6b4e0a0a494b8a3d3836198cee7edb1ef3ce4eca01b425c08d
6
+ metadata.gz: 84809c52ad13adf4297ec81270a5e1f8b6274d08089a8918c9dc26aaa5576a1a12c7c589f6e50b8207e6b58d6a09e7ee7c4fb97f1a7ac5edc34ce9ad1629beb6
7
+ data.tar.gz: a8cf51d8efc196aa9bfd3c6aa205870287814cb85badf7c16b2e9f6b02fd5026f4db34ea3d9a987230d7d2db03930976e6e4e34f4da12b45dcb2b6513287b3cf
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.1.5
2
+ * Dummy song entries have empty pos, not nil (came with JSON change).
3
+
1
4
  ## 0.1.4
2
5
  * Remove the discogs-wrapper gem dependency and directly call the
3
6
  Discogs API with JSON output format.
data/bin/musicfix CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
3
 
4
- # $Id: musicfix,v 1.52 2013/11/11 11:15:10 lostd Exp $
4
+ # $Id: musicfix,v 1.53 2013/11/11 14:46:42 lostd Exp $
5
5
 
6
6
  require 'rubygems'
7
7
  require 'fileutils'
@@ -218,7 +218,7 @@ else
218
218
  Headers))['resp']['master']
219
219
  end
220
220
  # Tracklist can contain dummy header tracks, strip them
221
- tl = r['tracklist'].select {|t| t['position']}
221
+ tl = r['tracklist'].select {|t| t['position'] != ''}
222
222
  # Apply tracks filter if given
223
223
  if tracks then
224
224
  pl = mkposlist tracks
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: musicfix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lazaros Koromilas