-
Notifications
You must be signed in to change notification settings - Fork 18
/
format_parser.gemspec
48 lines (42 loc) · 2.06 KB
/
format_parser.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'format_parser/version'
Gem::Specification.new do |spec|
spec.name = 'format_parser'
spec.version = FormatParser::VERSION
spec.authors = ['Noah Berman', 'Julik Tarkhanov']
spec.email = ['noah@noahberman.org', 'me@julik.nl']
spec.licenses = ['MIT (Hippocratic)']
spec.summary = 'A library for efficient parsing of file metadata'
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
a number of parser modules that try to recover metadata useful for post-processing and layout while reading the absolute
minimum amount of data possible."
spec.homepage = 'https://github.com/WeTransfer/format_parser'
spec.license = 'MIT (Hippocratic)'
spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
else
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
end
spec.files = `git ls-files -z`.split("\x0").reject do |f|
# Make sure large fixture files are not packaged with the gem every time
f.match(%r{^spec/fixtures/})
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_dependency 'exifr', '>= 1.4.0'
spec.add_dependency 'id3tag', '>= 0.14.2'
spec.add_dependency 'matrix'
spec.add_dependency 'measurometer'
spec.add_development_dependency 'parallel_tests'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'webmock'
spec.add_development_dependency 'webrick'
spec.add_development_dependency 'wetransfer_style', '1.0.0'
spec.add_development_dependency 'yard'
end