mp3info 0.6.17 → 0.6.18
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mp3info/id3v2.rb +2 -2
- data/mp3info.gemspec +1 -1
- metadata +5 -5
data/lib/mp3info/id3v2.rb
CHANGED
@@ -180,7 +180,7 @@ class ID3v2 < DelegateClass(Hash)
|
|
180
180
|
def initialize(options = {})
|
181
181
|
@options = {
|
182
182
|
:lang => "ENG",
|
183
|
-
:encoding =>
|
183
|
+
:encoding => 'utf-8'
|
184
184
|
}
|
185
185
|
|
186
186
|
@options.update(options)
|
@@ -340,7 +340,7 @@ class ID3v2 < DelegateClass(Hash)
|
|
340
340
|
# the requested encoding
|
341
341
|
if encoding && TEXT_ENCODINGS[encoding] && out && encoding != @text_encoding_index
|
342
342
|
begin
|
343
|
-
out = Iconv.iconv(@options[:encoding], TEXT_ENCODINGS[encoding], out).first
|
343
|
+
out = Iconv.iconv("#{@options[:encoding]}//IGNORE", TEXT_ENCODINGS[encoding], out).first
|
344
344
|
rescue Iconv::Failure
|
345
345
|
end
|
346
346
|
end
|
data/mp3info.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'mp3info'
|
5
|
-
s.version = '0.6.
|
5
|
+
s.version = '0.6.18'
|
6
6
|
s.summary = %q{Read low-level informations and manipulate tags on mp3 files.}
|
7
7
|
s.homepage = "http://github.com/toy/#{s.name}"
|
8
8
|
s.authors = ['Guillaume Pierronnet', 'Ivan Kuchin']
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mp3info
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 35
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 18
|
10
|
+
version: 0.6.18
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Guillaume Pierronnet
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-
|
19
|
+
date: 2012-02-21 00:00:00 Z
|
20
20
|
dependencies: []
|
21
21
|
|
22
22
|
description:
|
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements: []
|
67
67
|
|
68
68
|
rubyforge_project: mp3info
|
69
|
-
rubygems_version: 1.8.
|
69
|
+
rubygems_version: 1.8.16
|
70
70
|
signing_key:
|
71
71
|
specification_version: 3
|
72
72
|
summary: Read low-level informations and manipulate tags on mp3 files.
|