taglib-ruby 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +33 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile +2 -0
- data/Guardfile +4 -2
- data/README.md +55 -35
- data/Rakefile +5 -5
- data/docs/taglib/aiff.rb +0 -3
- data/docs/taglib/base.rb +0 -4
- data/docs/taglib/flac.rb +1 -3
- data/docs/taglib/id3v2.rb +1 -1
- data/docs/taglib/mp4.rb +2 -4
- data/docs/taglib/mpeg.rb +0 -1
- data/docs/taglib/ogg.rb +0 -4
- data/docs/taglib/vorbis.rb +0 -1
- data/docs/taglib/wav.rb +0 -4
- data/ext/extconf_common.rb +24 -28
- data/ext/taglib_aiff/extconf.rb +2 -0
- data/ext/taglib_aiff/taglib_aiff_wrap.cxx +217 -178
- data/ext/taglib_base/extconf.rb +2 -0
- data/ext/taglib_base/includes.i +1 -0
- data/ext/taglib_base/taglib_base_wrap.cxx +233 -191
- data/ext/taglib_flac/extconf.rb +2 -0
- data/ext/taglib_flac/taglib_flac_wrap.cxx +228 -189
- data/ext/taglib_flac_picture/extconf.rb +2 -0
- data/ext/taglib_flac_picture/taglib_flac_picture_wrap.cxx +210 -168
- data/ext/taglib_id3v1/extconf.rb +2 -0
- data/ext/taglib_id3v1/taglib_id3v1_wrap.cxx +223 -182
- data/ext/taglib_id3v2/extconf.rb +2 -0
- data/ext/taglib_id3v2/taglib_id3v2_wrap.cxx +429 -407
- data/ext/taglib_mp4/extconf.rb +2 -0
- data/ext/taglib_mp4/taglib_mp4_wrap.cxx +295 -260
- data/ext/taglib_mpeg/extconf.rb +2 -0
- data/ext/taglib_mpeg/taglib_mpeg_wrap.cxx +243 -206
- data/ext/taglib_ogg/extconf.rb +2 -0
- data/ext/taglib_ogg/taglib_ogg_wrap.cxx +214 -171
- data/ext/taglib_vorbis/extconf.rb +2 -0
- data/ext/taglib_vorbis/taglib_vorbis_wrap.cxx +217 -178
- data/ext/taglib_wav/extconf.rb +2 -0
- data/ext/taglib_wav/taglib_wav_wrap.cxx +217 -178
- data/lib/taglib/aiff.rb +2 -0
- data/lib/taglib/base.rb +3 -1
- data/lib/taglib/flac.rb +2 -0
- data/lib/taglib/id3v1.rb +2 -0
- data/lib/taglib/id3v2.rb +2 -0
- data/lib/taglib/mp4.rb +10 -13
- data/lib/taglib/mpeg.rb +2 -0
- data/lib/taglib/ogg.rb +2 -0
- data/lib/taglib/version.rb +3 -1
- data/lib/taglib/vorbis.rb +2 -0
- data/lib/taglib/wav.rb +2 -1
- data/lib/taglib.rb +4 -3
- data/taglib-ruby.gemspec +164 -163
- data/tasks/docs_coverage.rake +10 -8
- data/tasks/ext.rake +26 -25
- data/tasks/gemspec_check.rake +6 -4
- data/tasks/swig.rake +10 -11
- data/test/aiff_examples_test.rb +8 -13
- data/test/aiff_file_test.rb +29 -29
- data/test/aiff_file_write_test.rb +19 -20
- data/test/base_test.rb +4 -2
- data/test/data/add-relative-volume.cpp +7 -3
- data/test/data/flac-create.cpp +15 -5
- data/test/data/get_picture_data.cpp +5 -1
- data/test/data/id3v1-create.cpp +6 -3
- data/test/data/mp4-create.cpp +12 -4
- data/test/data/vorbis-create.cpp +12 -5
- data/test/data/wav-create.cpp +18 -3
- data/test/file_test.rb +7 -5
- data/test/fileref_open_test.rb +12 -10
- data/test/fileref_properties_test.rb +6 -4
- data/test/fileref_write_test.rb +14 -13
- data/test/flac_file_test.rb +32 -27
- data/test/flac_file_write_test.rb +17 -18
- data/test/flac_picture_memory_test.rb +13 -17
- data/test/helper.rb +3 -1
- data/test/id3v1_genres_test.rb +14 -12
- data/test/id3v1_tag_test.rb +7 -5
- data/test/id3v2_frames_test.rb +34 -34
- data/test/id3v2_header_test.rb +14 -13
- data/test/id3v2_memory_test.rb +21 -20
- data/test/id3v2_relative_volume_test.rb +11 -9
- data/test/id3v2_tag_test.rb +16 -14
- data/test/id3v2_unicode_test.rb +12 -10
- data/test/id3v2_unknown_frames_test.rb +7 -5
- data/test/id3v2_write_test.rb +28 -29
- data/test/mp4_file_test.rb +27 -26
- data/test/mp4_file_write_test.rb +12 -13
- data/test/mp4_items_test.rb +78 -79
- data/test/mpeg_file_test.rb +32 -30
- data/test/tag_test.rb +5 -3
- data/test/unicode_filename_test.rb +7 -7
- data/test/vorbis_file_test.rb +14 -12
- data/test/vorbis_tag_test.rb +46 -44
- data/test/wav_examples_test.rb +8 -16
- data/test/wav_file_test.rb +29 -29
- data/test/wav_file_write_test.rb +22 -23
- metadata +19 -18
data/lib/taglib/aiff.rb
CHANGED
data/lib/taglib/base.rb
CHANGED
data/lib/taglib/flac.rb
CHANGED
data/lib/taglib/id3v1.rb
CHANGED
data/lib/taglib/id3v2.rb
CHANGED
data/lib/taglib/mp4.rb
CHANGED
@@ -1,7 +1,8 @@
|
|
1
|
+
# frozen-string-literal: true
|
2
|
+
|
1
3
|
require 'taglib_mp4'
|
2
4
|
|
3
5
|
module TagLib::MP4
|
4
|
-
|
5
6
|
class File
|
6
7
|
extend ::TagLib::FileOpenable
|
7
8
|
end
|
@@ -12,23 +13,19 @@ module TagLib::MP4
|
|
12
13
|
|
13
14
|
class Item
|
14
15
|
def self.from_int_pair(ary)
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
else
|
20
|
-
new(*ary)
|
21
|
-
end
|
16
|
+
raise ArgumentError, 'argument should be an array' unless ary.is_a? Array
|
17
|
+
raise ArgumentError, 'argument should have exactly two elements' if ary.length != 2
|
18
|
+
|
19
|
+
new(*ary)
|
22
20
|
end
|
23
21
|
end
|
24
22
|
|
25
23
|
class ItemMap
|
26
|
-
alias
|
27
|
-
alias
|
28
|
-
alias
|
29
|
-
alias
|
24
|
+
alias clear _clear
|
25
|
+
alias insert _insert
|
26
|
+
alias [] fetch
|
27
|
+
alias []= insert
|
30
28
|
remove_method :_clear
|
31
29
|
remove_method :_insert
|
32
|
-
|
33
30
|
end
|
34
31
|
end
|
data/lib/taglib/mpeg.rb
CHANGED
data/lib/taglib/ogg.rb
CHANGED
data/lib/taglib/version.rb
CHANGED
data/lib/taglib/vorbis.rb
CHANGED
data/lib/taglib/wav.rb
CHANGED
data/lib/taglib.rb
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
|
1
|
+
# frozen-string-literal: true
|
2
|
+
|
3
|
+
platform = RUBY_PLATFORM.split('-')[1]
|
2
4
|
if platform == 'mingw32'
|
3
5
|
# Enable loading of pre-compiled libtag.dll
|
4
|
-
|
5
|
-
ENV['PATH'] += (File::PATH_SEPARATOR + lib)
|
6
|
+
ENV['PATH'] += (File::PATH_SEPARATOR + __dir__)
|
6
7
|
end
|
7
8
|
|
8
9
|
require 'taglib/version'
|
data/taglib-ruby.gemspec
CHANGED
@@ -1,183 +1,184 @@
|
|
1
|
-
#
|
1
|
+
# frozen-string-literal: true
|
2
2
|
|
3
|
-
$LOAD_PATH.push File.expand_path(
|
3
|
+
$LOAD_PATH.push File.expand_path('lib', __dir__)
|
4
4
|
|
5
5
|
require 'taglib/version'
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
|
-
s.name =
|
8
|
+
s.name = 'taglib-ruby'
|
9
9
|
s.version = TagLib::Version::STRING
|
10
|
-
s.authors = [
|
11
|
-
s.email = [
|
12
|
-
s.homepage =
|
13
|
-
s.licenses = [
|
14
|
-
s.summary =
|
15
|
-
s.description =
|
16
|
-
Ruby interface for the taglib C++ library, for reading and writing
|
17
|
-
meta-data (tags) of many audio formats.
|
10
|
+
s.authors = ['Robin Stocker', 'Jacob Vosmaer', 'Thomas Chevereau']
|
11
|
+
s.email = ['robin@nibor.org']
|
12
|
+
s.homepage = 'http://robinst.github.io/taglib-ruby/'
|
13
|
+
s.licenses = ['MIT']
|
14
|
+
s.summary = 'Ruby interface for the taglib C++ library'
|
15
|
+
s.description = <<~DESC
|
16
|
+
Ruby interface for the taglib C++ library, for reading and writing
|
17
|
+
meta-data (tags) of many audio formats.
|
18
18
|
|
19
|
-
In contrast to other libraries, this one wraps the C++ API using SWIG,
|
20
|
-
not only the minimal C API. This means that all tags can be accessed.
|
21
|
-
DESC
|
19
|
+
In contrast to other libraries, this one wraps the C++ API using SWIG,
|
20
|
+
not only the minimal C API. This means that all tags can be accessed.
|
21
|
+
DESC
|
22
22
|
|
23
|
-
s.require_paths = [
|
24
|
-
s.requirements = [
|
23
|
+
s.require_paths = ['lib']
|
24
|
+
s.requirements = ['taglib (libtag1-dev in Debian/Ubuntu, taglib-devel in Fedora/RHEL)']
|
25
25
|
|
26
26
|
s.add_development_dependency 'bundler', '>= 1.2', '< 3'
|
27
|
+
s.add_development_dependency 'kramdown', '~> 2.3.0'
|
27
28
|
s.add_development_dependency 'rake-compiler', '~> 0.9'
|
28
|
-
s.add_development_dependency 'shoulda-context', '~>
|
29
|
+
s.add_development_dependency 'shoulda-context', '~> 2.0'
|
30
|
+
s.add_development_dependency 'test-unit', '~> 3.5'
|
29
31
|
s.add_development_dependency 'yard', '~> 0.9.26'
|
30
|
-
s.add_development_dependency 'kramdown', '~> 2.3.0'
|
31
|
-
s.add_development_dependency 'test-unit', '~> 3.1'
|
32
32
|
|
33
33
|
s.extensions = [
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
34
|
+
'ext/taglib_base/extconf.rb',
|
35
|
+
'ext/taglib_mpeg/extconf.rb',
|
36
|
+
'ext/taglib_id3v1/extconf.rb',
|
37
|
+
'ext/taglib_id3v2/extconf.rb',
|
38
|
+
'ext/taglib_ogg/extconf.rb',
|
39
|
+
'ext/taglib_vorbis/extconf.rb',
|
40
|
+
'ext/taglib_flac/extconf.rb',
|
41
|
+
'ext/taglib_flac_picture/extconf.rb',
|
42
|
+
'ext/taglib_mp4/extconf.rb',
|
43
|
+
'ext/taglib_aiff/extconf.rb',
|
44
|
+
'ext/taglib_wav/extconf.rb'
|
45
45
|
]
|
46
46
|
s.extra_rdoc_files = [
|
47
|
-
|
48
|
-
|
49
|
-
|
47
|
+
'CHANGELOG.md',
|
48
|
+
'LICENSE.txt',
|
49
|
+
'README.md'
|
50
50
|
]
|
51
51
|
s.files = [
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
52
|
+
'.rubocop.yml',
|
53
|
+
'.yardopts',
|
54
|
+
'CHANGELOG.md',
|
55
|
+
'Gemfile',
|
56
|
+
'Guardfile',
|
57
|
+
'LICENSE.txt',
|
58
|
+
'README.md',
|
59
|
+
'Rakefile',
|
60
|
+
'docs/default/fulldoc/html/css/common.css',
|
61
|
+
'docs/taglib/aiff.rb',
|
62
|
+
'docs/taglib/base.rb',
|
63
|
+
'docs/taglib/flac.rb',
|
64
|
+
'docs/taglib/id3v1.rb',
|
65
|
+
'docs/taglib/id3v2.rb',
|
66
|
+
'docs/taglib/mp4.rb',
|
67
|
+
'docs/taglib/mpeg.rb',
|
68
|
+
'docs/taglib/ogg.rb',
|
69
|
+
'docs/taglib/riff.rb',
|
70
|
+
'docs/taglib/vorbis.rb',
|
71
|
+
'docs/taglib/wav.rb',
|
72
|
+
'ext/extconf_common.rb',
|
73
|
+
'ext/taglib_aiff/extconf.rb',
|
74
|
+
'ext/taglib_aiff/taglib_aiff.i',
|
75
|
+
'ext/taglib_aiff/taglib_aiff_wrap.cxx',
|
76
|
+
'ext/taglib_base/extconf.rb',
|
77
|
+
'ext/taglib_base/includes.i',
|
78
|
+
'ext/taglib_base/taglib_base.i',
|
79
|
+
'ext/taglib_base/taglib_base_wrap.cxx',
|
80
|
+
'ext/taglib_flac/extconf.rb',
|
81
|
+
'ext/taglib_flac/taglib_flac.i',
|
82
|
+
'ext/taglib_flac/taglib_flac_wrap.cxx',
|
83
|
+
'ext/taglib_flac_picture/extconf.rb',
|
84
|
+
'ext/taglib_flac_picture/includes.i',
|
85
|
+
'ext/taglib_flac_picture/taglib_flac_picture.i',
|
86
|
+
'ext/taglib_flac_picture/taglib_flac_picture_wrap.cxx',
|
87
|
+
'ext/taglib_id3v1/extconf.rb',
|
88
|
+
'ext/taglib_id3v1/taglib_id3v1.i',
|
89
|
+
'ext/taglib_id3v1/taglib_id3v1_wrap.cxx',
|
90
|
+
'ext/taglib_id3v2/extconf.rb',
|
91
|
+
'ext/taglib_id3v2/relativevolumeframe.i',
|
92
|
+
'ext/taglib_id3v2/taglib_id3v2.i',
|
93
|
+
'ext/taglib_id3v2/taglib_id3v2_wrap.cxx',
|
94
|
+
'ext/taglib_mp4/extconf.rb',
|
95
|
+
'ext/taglib_mp4/taglib_mp4.i',
|
96
|
+
'ext/taglib_mp4/taglib_mp4_wrap.cxx',
|
97
|
+
'ext/taglib_mpeg/extconf.rb',
|
98
|
+
'ext/taglib_mpeg/taglib_mpeg.i',
|
99
|
+
'ext/taglib_mpeg/taglib_mpeg_wrap.cxx',
|
100
|
+
'ext/taglib_ogg/extconf.rb',
|
101
|
+
'ext/taglib_ogg/taglib_ogg.i',
|
102
|
+
'ext/taglib_ogg/taglib_ogg_wrap.cxx',
|
103
|
+
'ext/taglib_vorbis/extconf.rb',
|
104
|
+
'ext/taglib_vorbis/taglib_vorbis.i',
|
105
|
+
'ext/taglib_vorbis/taglib_vorbis_wrap.cxx',
|
106
|
+
'ext/taglib_wav/extconf.rb',
|
107
|
+
'ext/taglib_wav/taglib_wav.i',
|
108
|
+
'ext/taglib_wav/taglib_wav_wrap.cxx',
|
109
|
+
'ext/valgrind-suppressions.txt',
|
110
|
+
'ext/win.cmake',
|
111
|
+
'lib/taglib.rb',
|
112
|
+
'lib/taglib/aiff.rb',
|
113
|
+
'lib/taglib/base.rb',
|
114
|
+
'lib/taglib/flac.rb',
|
115
|
+
'lib/taglib/id3v1.rb',
|
116
|
+
'lib/taglib/id3v2.rb',
|
117
|
+
'lib/taglib/mp4.rb',
|
118
|
+
'lib/taglib/mpeg.rb',
|
119
|
+
'lib/taglib/ogg.rb',
|
120
|
+
'lib/taglib/version.rb',
|
121
|
+
'lib/taglib/vorbis.rb',
|
122
|
+
'lib/taglib/wav.rb',
|
123
|
+
'taglib-ruby.gemspec',
|
124
|
+
'tasks/docs_coverage.rake',
|
125
|
+
'tasks/ext.rake',
|
126
|
+
'tasks/gemspec_check.rake',
|
127
|
+
'tasks/swig.rake',
|
128
|
+
'test/aiff_examples_test.rb',
|
129
|
+
'test/aiff_file_test.rb',
|
130
|
+
'test/aiff_file_write_test.rb',
|
131
|
+
'test/base_test.rb',
|
132
|
+
'test/data/Makefile',
|
133
|
+
'test/data/add-relative-volume.cpp',
|
134
|
+
'test/data/aiff-sample.aiff',
|
135
|
+
'test/data/crash.mp3',
|
136
|
+
'test/data/flac-create.cpp',
|
137
|
+
'test/data/flac.flac',
|
138
|
+
'test/data/flac_nopic.flac',
|
139
|
+
'test/data/get_picture_data.cpp',
|
140
|
+
'test/data/globe_east_540.jpg',
|
141
|
+
'test/data/globe_east_90.jpg',
|
142
|
+
'test/data/id3v1-create.cpp',
|
143
|
+
'test/data/id3v1.mp3',
|
144
|
+
'test/data/mp4-create.cpp',
|
145
|
+
'test/data/mp4.m4a',
|
146
|
+
'test/data/relative-volume.mp3',
|
147
|
+
'test/data/sample.mp3',
|
148
|
+
'test/data/unicode.mp3',
|
149
|
+
'test/data/vorbis-create.cpp',
|
150
|
+
'test/data/vorbis.oga',
|
151
|
+
'test/data/wav-create.cpp',
|
152
|
+
'test/data/wav-dump.cpp',
|
153
|
+
'test/data/wav-sample.wav',
|
154
|
+
'test/file_test.rb',
|
155
|
+
'test/fileref_open_test.rb',
|
156
|
+
'test/fileref_properties_test.rb',
|
157
|
+
'test/fileref_write_test.rb',
|
158
|
+
'test/flac_file_test.rb',
|
159
|
+
'test/flac_file_write_test.rb',
|
160
|
+
'test/flac_picture_memory_test.rb',
|
161
|
+
'test/helper.rb',
|
162
|
+
'test/id3v1_genres_test.rb',
|
163
|
+
'test/id3v1_tag_test.rb',
|
164
|
+
'test/id3v2_frames_test.rb',
|
165
|
+
'test/id3v2_header_test.rb',
|
166
|
+
'test/id3v2_memory_test.rb',
|
167
|
+
'test/id3v2_relative_volume_test.rb',
|
168
|
+
'test/id3v2_tag_test.rb',
|
169
|
+
'test/id3v2_unicode_test.rb',
|
170
|
+
'test/id3v2_unknown_frames_test.rb',
|
171
|
+
'test/id3v2_write_test.rb',
|
172
|
+
'test/mp4_file_test.rb',
|
173
|
+
'test/mp4_file_write_test.rb',
|
174
|
+
'test/mp4_items_test.rb',
|
175
|
+
'test/mpeg_file_test.rb',
|
176
|
+
'test/tag_test.rb',
|
177
|
+
'test/unicode_filename_test.rb',
|
178
|
+
'test/vorbis_file_test.rb',
|
179
|
+
'test/vorbis_tag_test.rb',
|
180
|
+
'test/wav_examples_test.rb',
|
181
|
+
'test/wav_file_test.rb',
|
182
|
+
'test/wav_file_write_test.rb'
|
182
183
|
]
|
183
184
|
end
|
data/tasks/docs_coverage.rake
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# frozen-string-literal: true
|
2
|
+
|
3
|
+
desc 'Show the coverage of the actual API in ext/ by the API docs in docs/'
|
4
|
+
task :docs_coverage do |_t|
|
3
5
|
def sort(objects)
|
4
|
-
objects.sort_by
|
6
|
+
objects.sort_by(&:path)
|
5
7
|
end
|
6
8
|
|
7
9
|
def synthetic_methods(cls)
|
@@ -11,17 +13,17 @@ task :docs_coverage do |t|
|
|
11
13
|
end
|
12
14
|
end
|
13
15
|
|
14
|
-
YARD.parse(
|
16
|
+
YARD.parse('ext/**/*_wrap.cxx')
|
15
17
|
ext_codeobjects = sort(YARD::Registry.all)
|
16
18
|
|
17
19
|
YARD::Registry.clear
|
18
|
-
YARD.parse(
|
20
|
+
YARD.parse('docs/**/*.rb')
|
19
21
|
docs_classes = YARD::Registry.all(:class)
|
20
22
|
docs_others = YARD::Registry.all(:module, :method)
|
21
23
|
docs_codeobjects = sort(docs_classes + docs_others)
|
22
24
|
|
23
25
|
# SWIG generates methods for base classes in the subclasses too, we
|
24
|
-
# don't want them appearing in the
|
26
|
+
# don't want them appearing in the 'only in ext' list.
|
25
27
|
inherited_methods = docs_classes.map { |c| synthetic_methods(c) }.flatten
|
26
28
|
|
27
29
|
only_in_ext = (ext_codeobjects - docs_codeobjects - inherited_methods)
|
@@ -29,13 +31,13 @@ task :docs_coverage do |t|
|
|
29
31
|
|
30
32
|
unless only_in_ext.empty?
|
31
33
|
puts
|
32
|
-
puts
|
34
|
+
puts '=== Only in ext (to document): '
|
33
35
|
puts only_in_ext
|
34
36
|
p only_in_ext[4].explicit
|
35
37
|
end
|
36
38
|
unless only_in_docs.empty?
|
37
39
|
puts
|
38
|
-
puts
|
40
|
+
puts '=== Only in docs (typo?): '
|
39
41
|
puts only_in_docs
|
40
42
|
end
|
41
43
|
end
|