-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruby-ffmpeg.gemspec
More file actions
49 lines (41 loc) · 1.98 KB
/
ruby-ffmpeg.gemspec
File metadata and controls
49 lines (41 loc) · 1.98 KB
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
49
# frozen_string_literal: true
require_relative "lib/ffmpeg/version"
Gem::Specification.new do |spec|
spec.name = "ruby-ffmpeg"
spec.version = FFMPEG::VERSION
spec.authors = ["Active Agents"]
spec.email = ["hello@activeagents.ai"]
spec.summary = "Modern Ruby wrapper for FFmpeg with scene detection and keyframe extraction"
spec.description = <<~DESC
A clean, well-tested FFmpeg wrapper with modern Ruby conventions, proper error handling,
and zero dependencies. Features include metadata extraction, transcoding with progress
reporting, scene detection, keyframe extraction, and Rails/Active Storage integration.
Tested against FFmpeg 4, 5, 6, and 7.
DESC
spec.homepage = "https://github.com/activeagents/ruby-ffmpeg"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.1.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/activeagents/ruby-ffmpeg"
spec.metadata["changelog_uri"] = "https://github.com/activeagents/ruby-ffmpeg/blob/main/CHANGELOG.md"
spec.metadata["documentation_uri"] = "https://rubydoc.info/gems/ruby-ffmpeg"
spec.metadata["bug_tracker_uri"] = "https://github.com/activeagents/ruby-ffmpeg/issues"
spec.metadata["rubygems_mfa_required"] = "true"
# Specify which files should be added to the gem when it is released
spec.files = Dir.chdir(__dir__) do
`git ls-files -z`.split("\x0").reject do |f|
(File.expand_path(f) == __FILE__) ||
f.start_with?(*%w[bin/ test/ spec/ .git .github .rubocop Gemfile])
end
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
# No runtime dependencies - just pure Ruby!
# FFmpeg binary must be installed separately
# Development dependencies
spec.add_development_dependency "minitest", "~> 5.0"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rubocop", "~> 1.21"
spec.add_development_dependency "yard", "~> 0.9"
end