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 +4 -4
- data/History.txt +4 -0
- data/lib/audioinfo.rb +1 -1
- data/lib/audioinfo/album.rb +1 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 986f79ba0a20afd23d425c7fd8f8ed2b568c4a3d
|
4
|
+
data.tar.gz: ed2dff7b0dc583d8ecda436e23042b7569cc5f60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be6751d670e1a8063b84e4bc828af804b5b16c212918c16b4111559fe4322a05092b8981484610aea2ee0b9013fc8de2e81b9e846f99463b15f9adbf493feed8
|
7
|
+
data.tar.gz: 7a024a5be0fba85b666ffb22f98b41b918d0e5d1fbf0cb72203a26e379f6189b1cd37bf17d328587b3ed5b5de322f0e344e35e2755f76f3e45c43418de6ef363
|
data/History.txt
CHANGED
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.
|
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
|
data/lib/audioinfo/album.rb
CHANGED
@@ -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.
|
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-
|
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.
|
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
|