taglib-ruby 0.6.0 → 1.1.0
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 +7 -0
- data/.yardopts +1 -1
- data/{CHANGES.md → CHANGELOG.md} +46 -11
- data/README.md +61 -17
- data/Rakefile +12 -3
- data/docs/taglib/aiff.rb +95 -0
- data/docs/taglib/base.rb +30 -2
- data/docs/taglib/flac.rb +60 -4
- data/docs/taglib/id3v1.rb +29 -0
- data/docs/taglib/id3v2.rb +22 -3
- data/docs/taglib/mp4.rb +124 -13
- data/docs/taglib/mpeg.rb +30 -1
- data/docs/taglib/ogg.rb +47 -5
- data/docs/taglib/riff.rb +3 -0
- data/docs/taglib/vorbis.rb +1 -1
- data/docs/taglib/wav.rb +116 -0
- data/ext/extconf_common.rb +24 -3
- data/ext/taglib_aiff/extconf.rb +4 -0
- data/ext/taglib_aiff/taglib_aiff.i +84 -0
- data/ext/taglib_aiff/taglib_aiff_wrap.cxx +3111 -0
- data/ext/taglib_base/includes.i +34 -5
- data/ext/taglib_base/taglib_base.i +42 -2
- data/ext/taglib_base/taglib_base_wrap.cxx +226 -186
- data/ext/taglib_flac/taglib_flac.i +21 -18
- data/ext/taglib_flac/taglib_flac_wrap.cxx +519 -955
- data/ext/taglib_flac_picture/extconf.rb +4 -0
- data/ext/taglib_flac_picture/includes.i +15 -0
- data/ext/taglib_flac_picture/taglib_flac_picture.i +15 -0
- data/ext/taglib_flac_picture/taglib_flac_picture_wrap.cxx +3087 -0
- data/ext/taglib_id3v1/taglib_id3v1.i +19 -0
- data/ext/taglib_id3v1/taglib_id3v1_wrap.cxx +391 -193
- data/ext/taglib_id3v2/relativevolumeframe.i +4 -17
- data/ext/taglib_id3v2/taglib_id3v2.i +72 -2
- data/ext/taglib_id3v2/taglib_id3v2_wrap.cxx +3051 -1113
- data/ext/taglib_mp4/taglib_mp4.i +101 -20
- data/ext/taglib_mp4/taglib_mp4_wrap.cxx +1088 -282
- data/ext/taglib_mpeg/taglib_mpeg.i +11 -16
- data/ext/taglib_mpeg/taglib_mpeg_wrap.cxx +646 -317
- data/ext/taglib_ogg/taglib_ogg.i +11 -0
- data/ext/taglib_ogg/taglib_ogg_wrap.cxx +478 -192
- data/ext/taglib_vorbis/taglib_vorbis.i +8 -0
- data/ext/taglib_vorbis/taglib_vorbis_wrap.cxx +202 -156
- data/ext/taglib_wav/extconf.rb +4 -0
- data/ext/taglib_wav/taglib_wav.i +90 -0
- data/ext/taglib_wav/taglib_wav_wrap.cxx +3423 -0
- data/lib/taglib.rb +2 -0
- data/lib/taglib/aiff.rb +7 -0
- data/lib/taglib/mp4.rb +2 -1
- data/lib/taglib/version.rb +2 -2
- data/lib/taglib/wav.rb +11 -0
- data/taglib-ruby.gemspec +42 -8
- data/tasks/ext.rake +48 -20
- data/tasks/gemspec_check.rake +1 -1
- data/tasks/swig.rake +36 -2
- data/test/aiff_examples_test.rb +39 -0
- data/test/aiff_file_test.rb +103 -0
- data/test/aiff_file_write_test.rb +88 -0
- data/test/data/Makefile +8 -2
- data/test/data/aiff-sample.aiff +0 -0
- data/test/data/flac_nopic.flac +0 -0
- data/test/data/vorbis-create.cpp +20 -1
- data/test/data/vorbis.oga +0 -0
- data/test/data/wav-create.cpp +55 -0
- data/test/data/wav-dump.cpp +74 -0
- data/test/data/wav-sample.wav +0 -0
- data/test/file_test.rb +21 -0
- data/test/fileref_properties_test.rb +1 -1
- data/test/flac_file_test.rb +45 -30
- data/test/flac_picture_memory_test.rb +43 -0
- data/test/id3v1_genres_test.rb +23 -0
- data/test/id3v1_tag_test.rb +1 -0
- data/test/id3v2_frames_test.rb +64 -0
- data/test/id3v2_tag_test.rb +6 -6
- data/test/id3v2_unknown_frames_test.rb +30 -0
- data/test/id3v2_write_test.rb +10 -13
- data/test/mp4_file_test.rb +33 -4
- data/test/mp4_file_write_test.rb +5 -5
- data/test/mp4_items_test.rb +83 -29
- data/test/mpeg_file_test.rb +120 -7
- data/test/vorbis_file_test.rb +2 -2
- data/test/vorbis_tag_test.rb +61 -7
- data/test/wav_examples_test.rb +42 -0
- data/test/wav_file_test.rb +108 -0
- data/test/wav_file_write_test.rb +113 -0
- metadata +86 -56
metadata
CHANGED
@@ -1,107 +1,113 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: taglib-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Robin Stocker
|
9
8
|
- Jacob Vosmaer
|
10
|
-
|
9
|
+
- Thomas Chevereau
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-01-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
18
|
requirements:
|
20
|
-
- -
|
19
|
+
- - ">="
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: '1.2'
|
22
|
+
- - "<"
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: '3'
|
23
25
|
type: :development
|
24
26
|
prerelease: false
|
25
27
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
28
|
requirements:
|
28
|
-
- -
|
29
|
+
- - ">="
|
29
30
|
- !ruby/object:Gem::Version
|
30
31
|
version: '1.2'
|
32
|
+
- - "<"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '3'
|
31
35
|
- !ruby/object:Gem::Dependency
|
32
36
|
name: rake-compiler
|
33
37
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
38
|
requirements:
|
36
|
-
- - ~>
|
39
|
+
- - "~>"
|
37
40
|
- !ruby/object:Gem::Version
|
38
|
-
version: '0.
|
41
|
+
version: '0.9'
|
39
42
|
type: :development
|
40
43
|
prerelease: false
|
41
44
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
45
|
requirements:
|
44
|
-
- - ~>
|
46
|
+
- - "~>"
|
45
47
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0.
|
48
|
+
version: '0.9'
|
47
49
|
- !ruby/object:Gem::Dependency
|
48
50
|
name: shoulda-context
|
49
51
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
52
|
requirements:
|
52
|
-
- - ~>
|
53
|
+
- - "~>"
|
53
54
|
- !ruby/object:Gem::Version
|
54
55
|
version: '1.0'
|
55
56
|
type: :development
|
56
57
|
prerelease: false
|
57
58
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
59
|
requirements:
|
60
|
-
- - ~>
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '1.0'
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
64
|
name: yard
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
66
|
requirements:
|
68
|
-
- - ~>
|
67
|
+
- - "~>"
|
69
68
|
- !ruby/object:Gem::Version
|
70
|
-
version:
|
69
|
+
version: 0.9.26
|
71
70
|
type: :development
|
72
71
|
prerelease: false
|
73
72
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
73
|
requirements:
|
76
|
-
- - ~>
|
74
|
+
- - "~>"
|
77
75
|
- !ruby/object:Gem::Version
|
78
|
-
version:
|
76
|
+
version: 0.9.26
|
79
77
|
- !ruby/object:Gem::Dependency
|
80
78
|
name: kramdown
|
81
79
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
80
|
requirements:
|
84
|
-
- - ~>
|
81
|
+
- - "~>"
|
85
82
|
- !ruby/object:Gem::Version
|
86
|
-
version:
|
83
|
+
version: 2.3.0
|
87
84
|
type: :development
|
88
85
|
prerelease: false
|
89
86
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
87
|
requirements:
|
92
|
-
- - ~>
|
88
|
+
- - "~>"
|
93
89
|
- !ruby/object:Gem::Version
|
94
|
-
version:
|
95
|
-
|
96
|
-
|
90
|
+
version: 2.3.0
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: test-unit
|
93
|
+
requirement: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '3.1'
|
98
|
+
type: :development
|
99
|
+
prerelease: false
|
100
|
+
version_requirements: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - "~>"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '3.1'
|
105
|
+
description: |
|
106
|
+
Ruby interface for the taglib C++ library, for reading and writing
|
97
107
|
meta-data (tags) of many audio formats.
|
98
108
|
|
99
|
-
|
100
109
|
In contrast to other libraries, this one wraps the C++ API using SWIG,
|
101
|
-
|
102
110
|
not only the minimal C API. This means that all tags can be accessed.
|
103
|
-
|
104
|
-
'
|
105
111
|
email:
|
106
112
|
- robin@nibor.org
|
107
113
|
executables: []
|
@@ -113,20 +119,24 @@ extensions:
|
|
113
119
|
- ext/taglib_ogg/extconf.rb
|
114
120
|
- ext/taglib_vorbis/extconf.rb
|
115
121
|
- ext/taglib_flac/extconf.rb
|
122
|
+
- ext/taglib_flac_picture/extconf.rb
|
116
123
|
- ext/taglib_mp4/extconf.rb
|
124
|
+
- ext/taglib_aiff/extconf.rb
|
125
|
+
- ext/taglib_wav/extconf.rb
|
117
126
|
extra_rdoc_files:
|
118
|
-
-
|
127
|
+
- CHANGELOG.md
|
119
128
|
- LICENSE.txt
|
120
129
|
- README.md
|
121
130
|
files:
|
122
|
-
- .yardopts
|
123
|
-
-
|
131
|
+
- ".yardopts"
|
132
|
+
- CHANGELOG.md
|
124
133
|
- Gemfile
|
125
134
|
- Guardfile
|
126
135
|
- LICENSE.txt
|
127
136
|
- README.md
|
128
137
|
- Rakefile
|
129
138
|
- docs/default/fulldoc/html/css/common.css
|
139
|
+
- docs/taglib/aiff.rb
|
130
140
|
- docs/taglib/base.rb
|
131
141
|
- docs/taglib/flac.rb
|
132
142
|
- docs/taglib/id3v1.rb
|
@@ -134,8 +144,13 @@ files:
|
|
134
144
|
- docs/taglib/mp4.rb
|
135
145
|
- docs/taglib/mpeg.rb
|
136
146
|
- docs/taglib/ogg.rb
|
147
|
+
- docs/taglib/riff.rb
|
137
148
|
- docs/taglib/vorbis.rb
|
149
|
+
- docs/taglib/wav.rb
|
138
150
|
- ext/extconf_common.rb
|
151
|
+
- ext/taglib_aiff/extconf.rb
|
152
|
+
- ext/taglib_aiff/taglib_aiff.i
|
153
|
+
- ext/taglib_aiff/taglib_aiff_wrap.cxx
|
139
154
|
- ext/taglib_base/extconf.rb
|
140
155
|
- ext/taglib_base/includes.i
|
141
156
|
- ext/taglib_base/taglib_base.i
|
@@ -143,6 +158,10 @@ files:
|
|
143
158
|
- ext/taglib_flac/extconf.rb
|
144
159
|
- ext/taglib_flac/taglib_flac.i
|
145
160
|
- ext/taglib_flac/taglib_flac_wrap.cxx
|
161
|
+
- ext/taglib_flac_picture/extconf.rb
|
162
|
+
- ext/taglib_flac_picture/includes.i
|
163
|
+
- ext/taglib_flac_picture/taglib_flac_picture.i
|
164
|
+
- ext/taglib_flac_picture/taglib_flac_picture_wrap.cxx
|
146
165
|
- ext/taglib_id3v1/extconf.rb
|
147
166
|
- ext/taglib_id3v1/taglib_id3v1.i
|
148
167
|
- ext/taglib_id3v1/taglib_id3v1_wrap.cxx
|
@@ -162,9 +181,13 @@ files:
|
|
162
181
|
- ext/taglib_vorbis/extconf.rb
|
163
182
|
- ext/taglib_vorbis/taglib_vorbis.i
|
164
183
|
- ext/taglib_vorbis/taglib_vorbis_wrap.cxx
|
184
|
+
- ext/taglib_wav/extconf.rb
|
185
|
+
- ext/taglib_wav/taglib_wav.i
|
186
|
+
- ext/taglib_wav/taglib_wav_wrap.cxx
|
165
187
|
- ext/valgrind-suppressions.txt
|
166
188
|
- ext/win.cmake
|
167
189
|
- lib/taglib.rb
|
190
|
+
- lib/taglib/aiff.rb
|
168
191
|
- lib/taglib/base.rb
|
169
192
|
- lib/taglib/flac.rb
|
170
193
|
- lib/taglib/id3v1.rb
|
@@ -174,17 +197,23 @@ files:
|
|
174
197
|
- lib/taglib/ogg.rb
|
175
198
|
- lib/taglib/version.rb
|
176
199
|
- lib/taglib/vorbis.rb
|
200
|
+
- lib/taglib/wav.rb
|
177
201
|
- taglib-ruby.gemspec
|
178
202
|
- tasks/docs_coverage.rake
|
179
203
|
- tasks/ext.rake
|
180
204
|
- tasks/gemspec_check.rake
|
181
205
|
- tasks/swig.rake
|
206
|
+
- test/aiff_examples_test.rb
|
207
|
+
- test/aiff_file_test.rb
|
208
|
+
- test/aiff_file_write_test.rb
|
182
209
|
- test/base_test.rb
|
183
210
|
- test/data/Makefile
|
184
211
|
- test/data/add-relative-volume.cpp
|
212
|
+
- test/data/aiff-sample.aiff
|
185
213
|
- test/data/crash.mp3
|
186
214
|
- test/data/flac-create.cpp
|
187
215
|
- test/data/flac.flac
|
216
|
+
- test/data/flac_nopic.flac
|
188
217
|
- test/data/get_picture_data.cpp
|
189
218
|
- test/data/globe_east_540.jpg
|
190
219
|
- test/data/globe_east_90.jpg
|
@@ -197,12 +226,18 @@ files:
|
|
197
226
|
- test/data/unicode.mp3
|
198
227
|
- test/data/vorbis-create.cpp
|
199
228
|
- test/data/vorbis.oga
|
200
|
-
- test/
|
229
|
+
- test/data/wav-create.cpp
|
230
|
+
- test/data/wav-dump.cpp
|
231
|
+
- test/data/wav-sample.wav
|
232
|
+
- test/file_test.rb
|
201
233
|
- test/fileref_open_test.rb
|
202
234
|
- test/fileref_properties_test.rb
|
203
235
|
- test/fileref_write_test.rb
|
204
236
|
- test/flac_file_test.rb
|
205
237
|
- test/flac_file_write_test.rb
|
238
|
+
- test/flac_picture_memory_test.rb
|
239
|
+
- test/helper.rb
|
240
|
+
- test/id3v1_genres_test.rb
|
206
241
|
- test/id3v1_tag_test.rb
|
207
242
|
- test/id3v2_frames_test.rb
|
208
243
|
- test/id3v2_header_test.rb
|
@@ -210,6 +245,7 @@ files:
|
|
210
245
|
- test/id3v2_relative_volume_test.rb
|
211
246
|
- test/id3v2_tag_test.rb
|
212
247
|
- test/id3v2_unicode_test.rb
|
248
|
+
- test/id3v2_unknown_frames_test.rb
|
213
249
|
- test/id3v2_write_test.rb
|
214
250
|
- test/mp4_file_test.rb
|
215
251
|
- test/mp4_file_write_test.rb
|
@@ -219,37 +255,31 @@ files:
|
|
219
255
|
- test/unicode_filename_test.rb
|
220
256
|
- test/vorbis_file_test.rb
|
221
257
|
- test/vorbis_tag_test.rb
|
258
|
+
- test/wav_examples_test.rb
|
259
|
+
- test/wav_file_test.rb
|
260
|
+
- test/wav_file_write_test.rb
|
222
261
|
homepage: http://robinst.github.io/taglib-ruby/
|
223
262
|
licenses:
|
224
263
|
- MIT
|
225
|
-
|
264
|
+
metadata: {}
|
265
|
+
post_install_message:
|
226
266
|
rdoc_options: []
|
227
267
|
require_paths:
|
228
268
|
- lib
|
229
269
|
required_ruby_version: !ruby/object:Gem::Requirement
|
230
|
-
none: false
|
231
270
|
requirements:
|
232
|
-
- -
|
271
|
+
- - ">="
|
233
272
|
- !ruby/object:Gem::Version
|
234
273
|
version: '0'
|
235
|
-
segments:
|
236
|
-
- 0
|
237
|
-
hash: -3989506221310826679
|
238
274
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
|
-
none: false
|
240
275
|
requirements:
|
241
|
-
- -
|
276
|
+
- - ">="
|
242
277
|
- !ruby/object:Gem::Version
|
243
278
|
version: '0'
|
244
|
-
segments:
|
245
|
-
- 0
|
246
|
-
hash: -3989506221310826679
|
247
279
|
requirements:
|
248
280
|
- taglib (libtag1-dev in Debian/Ubuntu, taglib-devel in Fedora/RHEL)
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
specification_version: 3
|
281
|
+
rubygems_version: 3.1.4
|
282
|
+
signing_key:
|
283
|
+
specification_version: 4
|
253
284
|
summary: Ruby interface for the taglib C++ library
|
254
285
|
test_files: []
|
255
|
-
has_rdoc:
|