format_parser 0.17.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/LICENSE.txt +28 -4
- data/README.md +7 -0
- data/format_parser.gemspec +1 -1
- data/lib/format_parser/version.rb +1 -1
- data/lib/parsers/moov_parser.rb +1 -1
- data/spec/parsers/moov_parser_spec.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4af7a44806408b096543ba55fd7221b009c140766fc6dd27030bcd2fe09fa8e
|
4
|
+
data.tar.gz: 26da12681820653b7e36caf755185de9ed838e7b81656490b1a8c26d47535699
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94fd6c621c5116f9ce4dcd6319a6ebc5ef5018d074f51b57222ae39e42b9d2c0a33bf08d17dbac28361da97315494094f84a9000a3094d9f6109058084797889
|
7
|
+
data.tar.gz: b4805092400b37c33dd3fbf81c2404851386150e9e0d29682a66dd8feb4bc0205ccda29913954d1a4196ce47e935d2f818e92ae532837ada6db6fdadc5d6211b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 0.18.0
|
2
|
+
* Mark m4v as one of the filename extensions likely to parse via the MOOV parser
|
3
|
+
* Adopt [Hippocratic license v. 1.2](https://firstdonoharm.dev/version/1/2/license.html)
|
4
|
+
Note that this might make the license conditions unacceptable for your project. If that is the case,
|
5
|
+
you can use the 0.17.X branch of the library which stays under the original, exact MIT license.
|
6
|
+
|
1
7
|
## 0.17.0
|
2
8
|
* Remove parser factories. A parser should respond to `likely_match?` and `call`. If a parser has to be instantiated anew for
|
3
9
|
every call the parser should take care of instantiating itself.
|
data/LICENSE.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c)
|
1
|
+
Copyright (c) 2019 WeTransfer
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
a copy of this software and associated documentation files (the
|
@@ -8,8 +8,28 @@ distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
8
|
permit persons to whom the Software is furnished to do so, subject to
|
9
9
|
the following conditions:
|
10
10
|
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
11
|
+
* The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
* No Harm: The software may not be used by anyone for systems or
|
15
|
+
activities that actively and knowingly endanger, harm, or otherwise
|
16
|
+
threaten the physical, mental, economic, or general well-being of
|
17
|
+
other individuals or groups, in violation of the United Nations
|
18
|
+
Universal Declaration of Human Rights
|
19
|
+
(https://www.un.org/en/universal-declaration-human-rights/).
|
20
|
+
|
21
|
+
* Services: If the Software is used to provide a service to others, the
|
22
|
+
licensee shall, as a condition of use, require those others not to use
|
23
|
+
the service in any way that violates the No Harm clause above.
|
24
|
+
|
25
|
+
* Enforceability: If any portion or provision of this License shall to
|
26
|
+
any extent be declared illegal or unenforceable by a court of
|
27
|
+
competent jurisdiction, then the remainder of this License, or the
|
28
|
+
application of such portion or provision in circumstances other than
|
29
|
+
those as to which it is so declared illegal or unenforceable, shall
|
30
|
+
not be affected thereby, and each portion and provision of this
|
31
|
+
Agreement shall be valid and enforceable to the fullest extent
|
32
|
+
permitted by law.
|
13
33
|
|
14
34
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
35
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
@@ -17,4 +37,8 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
37
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
38
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
39
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
40
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
41
|
+
|
42
|
+
This Hippocratic License is an Ethical Source license
|
43
|
+
(https://ethicalsource.dev) derived from the MIT License, amended to
|
44
|
+
limit the impact of the unethical use of open source software.
|
data/README.md
CHANGED
@@ -177,3 +177,10 @@ Unless specified otherwise in this section the fixture files are MIT licensed an
|
|
177
177
|
|
178
178
|
### .key
|
179
179
|
- The `keynote_recognized_as_jpeg.key` file was created by the project maintainers
|
180
|
+
|
181
|
+
## Copyright
|
182
|
+
|
183
|
+
Copyright (c) 2019 WeTransfer.
|
184
|
+
|
185
|
+
`format_parser` is distributed under the conditions of the [Hippocratic License](https://firstdonoharm.dev/version/1/2/license.html)
|
186
|
+
- See LICENSE.txt for further details.
|
data/format_parser.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = FormatParser::VERSION
|
9
9
|
spec.authors = ['Noah Berman', 'Julik Tarkhanov']
|
10
10
|
spec.email = ['noah@noahberman.org', 'me@julik.nl']
|
11
|
-
spec.licenses = ['MIT']
|
11
|
+
spec.licenses = ['MIT (Hippocratic)']
|
12
12
|
spec.summary = 'A library for efficient parsing of file metadata'
|
13
13
|
spec.description = "A Ruby library for prying open files you can convert to a previewable format, such as video, image and audio files. It includes
|
14
14
|
a number of parser modules that try to recover metadata useful for post-processing and layout while reading the absolute
|
data/lib/parsers/moov_parser.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: format_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noah Berman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-11-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ks
|