-
Notifications
You must be signed in to change notification settings - Fork 0
/
link_scraper.gemspec
72 lines (61 loc) · 2.99 KB
/
link_scraper.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
66
67
68
69
70
71
72
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "link_scraper/version"
Gem::Specification.new do |spec|
spec.name = "link_scraper"
spec.version = LinkScraper::VERSION
spec.authors = ["Adam Booth"]
spec.email = ["4rlm@protonmail.ch"]
spec.homepage = 'https://github.com/4rlm/link_scraper'
spec.license = "MIT"
spec.summary = %q{Scrape website links' text and path with built-in scrubbing filter.}
spec.description = %q{Scrape website links' text and path with built-in scrubbing filter. Designed to rapidly visit and scrape links from list of several URLs, then filters them based on your criteria. For example, to only grab the links for inventory, staff, or contact us, etc.}
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|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = '~> 2.5.1'
spec.add_dependency 'activesupport', '~> 5.2'
spec.add_dependency 'crm_formatter', '~> 2.65'
spec.add_dependency 'mechanizer', '~> 1.12'
spec.add_dependency 'scrub_db', '~> 2.24'
spec.add_dependency 'url_verifier', '~> 2.12'
# spec.add_dependency 'utf8_sanitizer', '~> 2.16'
# spec.add_dependency "activesupport-inflector", ['~> 0.1.0']
spec.add_development_dependency 'bundler', '~> 1.16', '>= 1.16.2'
spec.add_development_dependency 'pry', '~> 0.11.3'
spec.add_development_dependency 'rake', '~> 12.3', '>= 12.3.1'
spec.add_development_dependency 'rspec', '~> 3.7'
# spec.add_development_dependency 'byebug', '~> 10.0', '>= 10.0.2'
# spec.add_development_dependency 'class_indexer', '~> 0.3.0'
# spec.add_development_dependency 'irbtools', '~> 2.2', '>= 2.2.1'
# spec.add_development_dependency 'rubocop', '~> 0.56.0'
# spec.add_development_dependency 'ruby-beautify', '~> 0.97.4'
# spec.add_runtime_dependency 'library', '~> 2.2'
# spec.add_dependency 'activerecord', '>= 3.0'
# spec.add_dependency 'actionpack', '>= 3.0'
# spec.add_dependency 'polyamorous', '~> 1.3.2'
# spec.add_development_dependency 'machinist', '~> 1.0.6'
# spec.add_development_dependency 'faker', '~> 0.9.5'
# spec.add_development_dependency 'sqlite3', '~> 1.3.3'
# spec.add_development_dependency 'pg', '~> 0.21'
# spec.add_development_dependency 'mysql2', '0.3.20'
# spec.requirements << 'libmagick, v6.0'
# spec.requirements << 'A good graphics card'
# # This gem will work with 1.8.6 or greater...
# spec.required_ruby_version = '>= 1.8.6'
#
# # Only with ruby 2.0.x
# spec.required_ruby_version = '~> 2.0'
#
# # Only with ruby between 2.2.0 and 2.2.2
# spec.required_ruby_version = ['>= 2.2.0', '< 2.2.3']
end