-
Notifications
You must be signed in to change notification settings - Fork 2
/
wgit.gemspec
65 lines (56 loc) · 2.32 KB
/
wgit.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# frozen_string_literal: true
require_relative "./lib/wgit/version"
Gem::Specification.new do |s|
s.name = "wgit"
s.version = Wgit::VERSION
s.date = Time.now.strftime("%Y-%m-%d")
s.author = "Michael Telford"
s.email = "[email protected]"
s.homepage = "https://github.com/michaeltelford/wgit"
s.license = "MIT"
s.summary = <<~TEXT
Wgit is a HTML web crawler, written in Ruby, that allows you to programmatically extract the data you want from the web.
TEXT
s.description = <<~TEXT
Wgit was primarily designed to crawl static HTML websites to index and search their content - providing the basis of any search engine; but Wgit is suitable for many application domains including: URL parsing, data mining and statistical analysis.
TEXT
s.require_paths = %w[lib]
s.files = Dir[
"./lib/**/*.rb",
"bin/wgit",
"*.md",
"LICENSE.txt",
".yardopts"
]
s.bindir = "bin"
s.executable = "wgit"
s.post_install_message = "Added the 'wgit' executable to $PATH"
s.metadata = {
"yard.run" => "yri",
"source_code_uri" => "https://github.com/michaeltelford/wgit",
"changelog_uri" => "https://github.com/michaeltelford/wgit/blob/master/CHANGELOG.md",
"bug_tracker_uri" => "https://github.com/michaeltelford/wgit/issues",
"documentation_uri" => "https://www.rubydoc.info/gems/wgit"
}
s.platform = Gem::Platform::RUBY
s.required_ruby_version = ">= 3", "< 4"
s.add_runtime_dependency "addressable", "~> 2.8"
s.add_runtime_dependency "base64", "~> 0.2"
s.add_runtime_dependency "ferrum", "~> 0.14"
s.add_runtime_dependency "mongo", "~> 2.19"
s.add_runtime_dependency "nokogiri", "~> 1.15"
s.add_runtime_dependency "typhoeus", "~> 1.4"
s.add_development_dependency "byebug", "~> 11.1"
s.add_development_dependency "dotenv", "~> 2.8"
s.add_development_dependency "maxitest", "~> 5.4"
s.add_development_dependency "pry", "~> 0.14"
s.add_development_dependency "rubocop", "~> 1.57"
s.add_development_dependency "toys", "~> 0.15"
s.add_development_dependency "webmock", "~> 3.19"
s.add_development_dependency "yard", "~> 0.9"
# Only allow gem pushes to rubygems.org.
unless s.respond_to?(:metadata)
raise "Only RubyGems 2.0 or newer can protect against public gem pushes"
end
s.metadata["allowed_push_host"] = "https://rubygems.org"
end