format_parser 1.7.0 → 2.0.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +4 -9
- data/CHANGELOG.md +6 -0
- data/format_parser.gemspec +9 -11
- data/lib/care.rb +5 -11
- data/lib/format_parser/version.rb +1 -1
- data/lib/format_parser.rb +8 -11
- data/lib/io_utils.rb +2 -6
- data/lib/parsers/aac_parser/adts_header_info.rb +3 -9
- data/lib/parsers/dpx_parser/dpx_structs.rb +1 -1
- data/lib/parsers/exif_parser.rb +2 -4
- data/lib/parsers/fdx_parser.rb +2 -2
- data/lib/parsers/flac_parser.rb +2 -6
- data/lib/parsers/jpeg_parser.rb +2 -2
- data/lib/parsers/moov_parser.rb +5 -7
- data/lib/parsers/mp3_parser.rb +2 -6
- data/lib/parsers/mpeg_parser.rb +1 -3
- data/lib/parsers/wav_parser.rb +9 -12
- data/lib/parsers/zip_parser/file_reader.rb +45 -70
- data/lib/parsers/zip_parser.rb +1 -1
- data/lib/read_limiter.rb +8 -16
- data/lib/remote_io.rb +64 -34
- data/lib/string.rb +9 -0
- data/spec/attributes_json_spec.rb +0 -3
- data/spec/remote_fetching_spec.rb +3 -8
- data/spec/remote_io_spec.rb +116 -60
- metadata +40 -79
metadata
CHANGED
@@ -1,37 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: format_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noah Berman
|
8
8
|
- Julik Tarkhanov
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-10-
|
12
|
+
date: 2022-10-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: ks
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - "~>"
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: '0.0'
|
21
|
-
type: :runtime
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - "~>"
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: '0.0'
|
28
14
|
- !ruby/object:Gem::Dependency
|
29
15
|
name: exifr
|
30
16
|
requirement: !ruby/object:Gem::Requirement
|
31
17
|
requirements:
|
32
|
-
- - "~>"
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '1'
|
35
18
|
- - ">="
|
36
19
|
- !ruby/object:Gem::Version
|
37
20
|
version: 1.3.8
|
@@ -39,9 +22,6 @@ dependencies:
|
|
39
22
|
prerelease: false
|
40
23
|
version_requirements: !ruby/object:Gem::Requirement
|
41
24
|
requirements:
|
42
|
-
- - "~>"
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: '1'
|
45
25
|
- - ">="
|
46
26
|
- !ruby/object:Gem::Version
|
47
27
|
version: 1.3.8
|
@@ -49,9 +29,6 @@ dependencies:
|
|
49
29
|
name: id3tag
|
50
30
|
requirement: !ruby/object:Gem::Requirement
|
51
31
|
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0.14'
|
55
32
|
- - ">="
|
56
33
|
- !ruby/object:Gem::Version
|
57
34
|
version: 0.14.2
|
@@ -59,126 +36,109 @@ dependencies:
|
|
59
36
|
prerelease: false
|
60
37
|
version_requirements: !ruby/object:Gem::Requirement
|
61
38
|
requirements:
|
62
|
-
- - "~>"
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: '0.14'
|
65
39
|
- - ">="
|
66
40
|
- !ruby/object:Gem::Version
|
67
41
|
version: 0.14.2
|
68
42
|
- !ruby/object:Gem::Dependency
|
69
|
-
name:
|
70
|
-
requirement: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '0.13'
|
75
|
-
type: :runtime
|
76
|
-
prerelease: false
|
77
|
-
version_requirements: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '0.13'
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
name: faraday_middleware
|
43
|
+
name: ks
|
84
44
|
requirement: !ruby/object:Gem::Requirement
|
85
45
|
requirements:
|
86
|
-
- - "
|
46
|
+
- - ">="
|
87
47
|
- !ruby/object:Gem::Version
|
88
|
-
version: '0
|
48
|
+
version: '0'
|
89
49
|
type: :runtime
|
90
50
|
prerelease: false
|
91
51
|
version_requirements: !ruby/object:Gem::Requirement
|
92
52
|
requirements:
|
93
|
-
- - "
|
53
|
+
- - ">="
|
94
54
|
- !ruby/object:Gem::Version
|
95
|
-
version: '0
|
55
|
+
version: '0'
|
96
56
|
- !ruby/object:Gem::Dependency
|
97
57
|
name: measurometer
|
98
58
|
requirement: !ruby/object:Gem::Requirement
|
99
59
|
requirements:
|
100
|
-
- - "
|
60
|
+
- - ">="
|
101
61
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
62
|
+
version: '0'
|
103
63
|
type: :runtime
|
104
64
|
prerelease: false
|
105
65
|
version_requirements: !ruby/object:Gem::Requirement
|
106
66
|
requirements:
|
107
|
-
- - "
|
67
|
+
- - ">="
|
108
68
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
69
|
+
version: '0'
|
110
70
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
71
|
+
name: parallel_tests
|
112
72
|
requirement: !ruby/object:Gem::Requirement
|
113
73
|
requirements:
|
114
|
-
- - "
|
74
|
+
- - ">="
|
115
75
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
76
|
+
version: '0'
|
117
77
|
type: :development
|
118
78
|
prerelease: false
|
119
79
|
version_requirements: !ruby/object:Gem::Requirement
|
120
80
|
requirements:
|
121
|
-
- - "
|
81
|
+
- - ">="
|
122
82
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
83
|
+
version: '0'
|
124
84
|
- !ruby/object:Gem::Dependency
|
125
85
|
name: rake
|
126
86
|
requirement: !ruby/object:Gem::Requirement
|
127
87
|
requirements:
|
128
|
-
- - "
|
88
|
+
- - ">="
|
129
89
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
90
|
+
version: '0'
|
131
91
|
type: :development
|
132
92
|
prerelease: false
|
133
93
|
version_requirements: !ruby/object:Gem::Requirement
|
134
94
|
requirements:
|
135
|
-
- - "
|
95
|
+
- - ">="
|
136
96
|
- !ruby/object:Gem::Version
|
137
|
-
version: '
|
97
|
+
version: '0'
|
138
98
|
- !ruby/object:Gem::Dependency
|
139
|
-
name:
|
99
|
+
name: rspec
|
140
100
|
requirement: !ruby/object:Gem::Requirement
|
141
101
|
requirements:
|
142
|
-
- - "
|
102
|
+
- - ">="
|
143
103
|
- !ruby/object:Gem::Version
|
144
|
-
version: '0
|
104
|
+
version: '0'
|
145
105
|
type: :development
|
146
106
|
prerelease: false
|
147
107
|
version_requirements: !ruby/object:Gem::Requirement
|
148
108
|
requirements:
|
149
|
-
- - "
|
109
|
+
- - ">="
|
150
110
|
- !ruby/object:Gem::Version
|
151
|
-
version: '0
|
111
|
+
version: '0'
|
152
112
|
- !ruby/object:Gem::Dependency
|
153
|
-
name:
|
113
|
+
name: simplecov
|
154
114
|
requirement: !ruby/object:Gem::Requirement
|
155
115
|
requirements:
|
156
|
-
- - "
|
116
|
+
- - ">="
|
157
117
|
- !ruby/object:Gem::Version
|
158
|
-
version: '0
|
118
|
+
version: '0'
|
159
119
|
type: :development
|
160
120
|
prerelease: false
|
161
121
|
version_requirements: !ruby/object:Gem::Requirement
|
162
122
|
requirements:
|
163
|
-
- - "
|
123
|
+
- - ">="
|
164
124
|
- !ruby/object:Gem::Version
|
165
|
-
version: '0
|
125
|
+
version: '0'
|
166
126
|
- !ruby/object:Gem::Dependency
|
167
127
|
name: wetransfer_style
|
168
128
|
requirement: !ruby/object:Gem::Requirement
|
169
129
|
requirements:
|
170
130
|
- - '='
|
171
131
|
- !ruby/object:Gem::Version
|
172
|
-
version: 0.
|
132
|
+
version: 1.0.0
|
173
133
|
type: :development
|
174
134
|
prerelease: false
|
175
135
|
version_requirements: !ruby/object:Gem::Requirement
|
176
136
|
requirements:
|
177
137
|
- - '='
|
178
138
|
- !ruby/object:Gem::Version
|
179
|
-
version: 0.
|
139
|
+
version: 1.0.0
|
180
140
|
- !ruby/object:Gem::Dependency
|
181
|
-
name:
|
141
|
+
name: yard
|
182
142
|
requirement: !ruby/object:Gem::Requirement
|
183
143
|
requirements:
|
184
144
|
- - ">="
|
@@ -263,6 +223,7 @@ files:
|
|
263
223
|
- lib/read_limiter.rb
|
264
224
|
- lib/read_limits_config.rb
|
265
225
|
- lib/remote_io.rb
|
226
|
+
- lib/string.rb
|
266
227
|
- lib/text.rb
|
267
228
|
- lib/video.rb
|
268
229
|
- spec/active_storage/blob_io_spec.rb
|
@@ -312,7 +273,7 @@ licenses:
|
|
312
273
|
- MIT (Hippocratic)
|
313
274
|
metadata:
|
314
275
|
allowed_push_host: https://rubygems.org
|
315
|
-
post_install_message:
|
276
|
+
post_install_message:
|
316
277
|
rdoc_options: []
|
317
278
|
require_paths:
|
318
279
|
- lib
|
@@ -323,12 +284,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
323
284
|
version: '0'
|
324
285
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
325
286
|
requirements:
|
326
|
-
- - "
|
287
|
+
- - ">"
|
327
288
|
- !ruby/object:Gem::Version
|
328
|
-
version:
|
289
|
+
version: 1.3.1
|
329
290
|
requirements: []
|
330
|
-
rubygems_version: 3.
|
331
|
-
signing_key:
|
291
|
+
rubygems_version: 3.1.6
|
292
|
+
signing_key:
|
332
293
|
specification_version: 4
|
333
294
|
summary: A library for efficient parsing of file metadata
|
334
295
|
test_files: []
|