ruby-audioinfo 0.3.1 → 0.3.2

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: be66808c6cbe04237d1052537ff0ad4fc2f3f614
4
- data.tar.gz: b2843c08fe747e1c77cc94490ca266559539bc45
3
+ metadata.gz: 986f79ba0a20afd23d425c7fd8f8ed2b568c4a3d
4
+ data.tar.gz: ed2dff7b0dc583d8ecda436e23042b7569cc5f60
5
5
  SHA512:
6
- metadata.gz: 8838cdedf9de87e385559086a0dbafd9bb315b3d8254673c0441ef234d9769435c4c3ee34bc88c2325e15d7a1f7108e8efd684e051e054ccbc75441550a45003
7
- data.tar.gz: bf2999b9756f2ec4e986e28fdce3d2d169917802b99c1b565db5ed9d60bf1ceb70e2fe21a473b04af097e400c41eb64c7c9779514ba22f2bcc8d95238b6e2f9f
6
+ metadata.gz: be6751d670e1a8063b84e4bc828af804b5b16c212918c16b4111559fe4322a05092b8981484610aea2ee0b9013fc8de2e81b9e846f99463b15f9adbf493feed8
7
+ data.tar.gz: 7a024a5be0fba85b666ffb22f98b41b918d0e5d1fbf0cb72203a26e379f6189b1cd37bf17d328587b3ed5b5de322f0e344e35e2755f76f3e45c43418de6ef363
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.3.2 / 2013-08-24
2
+
3
+ * fix on Album path encoding
4
+
1
5
  === 0.3 / 2013-03-26
2
6
 
3
7
  * correctly computes bitrate on .flac files
data/lib/audioinfo.rb CHANGED
@@ -36,7 +36,7 @@ class AudioInfo
36
36
 
37
37
  SUPPORTED_EXTENSIONS = %w{mp3 ogg mpc wma mp4 aac m4a flac}
38
38
 
39
- VERSION = "0.3.1"
39
+ VERSION = "0.3.2"
40
40
 
41
41
  attr_reader :path, :extension, :musicbrainz_infos, :tracknum, :bitrate, :vbr
42
42
  attr_reader :artist, :album, :title, :length, :date
@@ -12,6 +12,7 @@ class AudioInfo::Album
12
12
 
13
13
  # return the list of images in the album directory, with "folder.*" in first
14
14
  def self.images(path)
15
+ path = path.dup.force_encoding("binary")
15
16
  arr = Dir.glob( File.join(path, "*.{#{IMAGE_EXTENSIONS.join(",")}}"), File::FNM_CASEFOLD).collect do |f|
16
17
  File.expand_path(f)
17
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-audioinfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Pierronnet
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-26 00:00:00.000000000 Z
12
+ date: 2013-08-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ruby-mp3info
@@ -146,9 +146,9 @@ files:
146
146
  - lib/audioinfo/mpcinfo.rb
147
147
  - lib/audioinfo/case_insensitive_hash.rb
148
148
  - test/mpcinfo.rb
149
- - test/test_helper.rb
150
- - test/test_case_insensitive_hash.rb
151
149
  - test/test_audioinfo.rb
150
+ - test/test_case_insensitive_hash.rb
151
+ - test/test_helper.rb
152
152
  - .gemtest
153
153
  homepage: http://ruby-audioinfo.rubyforge.org
154
154
  licenses: []
@@ -171,12 +171,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  requirements: []
173
173
  rubyforge_project: ruby-audioinfo
174
- rubygems_version: 2.0.0
174
+ rubygems_version: 2.0.6
175
175
  signing_key:
176
176
  specification_version: 4
177
177
  summary: ruby-audioinfo glue together various audio ruby libraries and presents a
178
178
  unified API to the developper
179
179
  test_files:
180
- - test/test_helper.rb
181
- - test/test_case_insensitive_hash.rb
182
180
  - test/test_audioinfo.rb
181
+ - test/test_case_insensitive_hash.rb
182
+ - test/test_helper.rb