-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathytdl.gemspec
More file actions
29 lines (24 loc) · 1.05 KB
/
Copy pathytdl.gemspec
File metadata and controls
29 lines (24 loc) · 1.05 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
require_relative "lib/youtube_dl/version"
Gem::Specification.new do |s|
s.name = "ytdl"
s.version = YoutubeDL::VERSION
s.license = "MIT"
s.authors = ["Max Hollmann"]
s.email = ["maxhollmann@gmail.com"]
s.homepage = "https://github.com/maxhollmann/ruby-ytdl"
s.summary = "A wrapper for youtube-dl with progress callbacks"
all_files = `git ls-files -z`.split("\x0")
s.files = all_files.grep(%r!^(exe|lib|rubocop)/|^.rubocop.yml$!)
s.executables = all_files.grep(%r!^exe/!) { |f| File.basename(f) }
s.bindir = "exe"
s.require_paths = ["lib"]
s.metadata = {
"source_code_uri" => "https://github.com/maxhollmann/ruby-ytdl",
"bug_tracker_uri" => "https://github.com/maxhollmann/ruby-ytdl/issues",
"changelog_uri" => "https://github.com/maxhollmann/ruby-ytdl/releases",
"homepage_uri" => s.homepage,
}
s.required_ruby_version = ">= 2.3.0"
s.add_runtime_dependency("dry-configurable", "~> 1.0")
s.add_runtime_dependency("filesize", "~> 0.2.0")
end