-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathurl_verifier.gemspec
78 lines (65 loc) · 3.85 KB
/
url_verifier.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
73
74
75
76
77
78
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "url_verifier/version"
Gem::Specification.new do |spec|
spec.name = "url_verifier"
spec.version = UrlVerifier::VERSION
spec.authors = ["Adam Booth"]
spec.email = ["4rlm@protonmail.ch"]
spec.summary = %q{Format, Verify & Follow URL redirects with detailed reports. (url: 'blackwellford.com/staff', verified_url: 'https://www.blackwellford.com', response_code:'200', url_redirected: true) }
spec.description = %q{Format, Verify & Follow URL redirects with detailed reports. (Ex => url: 'blackwellford.com/staff', verified_url: 'https://www.blackwellford.com', response_code:'200', url_redirected: true, url_sts: 'Valid', url_path: '/staff'). Following url redirects can sometimes take a few minutes and often creates various exceptions. UrlVerifier is built with exceptional error handling, reformatting, and optional time limits you can set; default is set to 60 sec limit, but typically only takes 5-10 seconds per url. UrlVerifier has been developed and improved upon for several years in an enterprise level app and is now available as an open source gem. It is perfect for high-volume, yet smooth, uninterrupted url formatting and verification.}
spec.homepage = 'https://github.com/4rlm/url_verifier'
spec.license = "MIT"
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
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
# spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
# `git ls-files -z`.split("\x0").reject { |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 'utf8_sanitizer', '~> 2.17'
spec.add_dependency 'crm_formatter', '~> 2.65'
spec.add_dependency 'net-ping', '~> 1.7', '>= 1.7.8'
spec.add_dependency 'curb', '~> 0.9.6'
# 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