-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathvessel.gemspec
More file actions
44 lines (39 loc) · 1.74 KB
/
Copy pathvessel.gemspec
File metadata and controls
44 lines (39 loc) · 1.74 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
# frozen_string_literal: true
require_relative "lib/vessel/version"
Gem::Specification.new do |s|
s.name = "vessel"
s.version = Vessel::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Dmitry Vorotilin"]
s.email = ["d.vorotilin@gmail.com"]
s.homepage = "https://github.com/rubycdp/vessel"
s.summary = "High-level web crawling framework"
s.description = "Vessel is a high-level web crawling framework, used to crawl websites and " \
"extract structured data from their pages"
s.license = "MIT"
s.files = Dir.chdir(__dir__) do
tracked = `git ls-files -z bin lib CHANGELOG.md LICENSE README.md`.split("\x0")
next tracked unless tracked.empty? # built outside of a git checkout
Dir.glob("{bin/*,lib/**/*,CHANGELOG.md,LICENSE,README.md}", File::FNM_DOTMATCH)
.grep_v(%r{/\.\.?\z})
end
s.bindir = "bin"
s.executables = ["vessel"]
s.require_paths = ["lib"]
s.metadata = {
"homepage_uri" => "https://vessel.rubycdp.com/",
"bug_tracker_uri" => "https://github.com/rubycdp/vessel/issues",
"changelog_uri" => "https://github.com/rubycdp/vessel/blob/main/CHANGELOG.md",
"documentation_uri" => "https://github.com/rubycdp/vessel/blob/main/README.md",
"source_code_uri" => "https://github.com/rubycdp/vessel",
"rubygems_mfa_required" => "true"
}
s.required_ruby_version = ">= 3.1"
s.add_dependency "addressable", "~> 2.5"
s.add_dependency "concurrent-ruby", "~> 1.1"
s.add_dependency "ferrum", "~> 0.18"
s.add_dependency "logger", "~> 1.5"
s.add_dependency "mechanize", "~> 2.14"
s.add_dependency "nokogiri", "~> 1.18"
s.add_dependency "thor", "~> 1.5"
end