forked from html2rss/html2rss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
html2rss.gemspec
53 lines (48 loc) · 2.07 KB
/
html2rss.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
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'html2rss/version'
Gem::Specification.new do |spec|
spec.name = 'html2rss'
spec.version = Html2rss::VERSION
spec.authors = ['Gil Desmarais']
spec.email = ['[email protected]']
spec.summary = 'Returns an RSS::Rss object by scraping a URL.'
spec.description = 'Give the URL to scrape and some CSS selectors. Get a RSS::Rss instance in return.'
spec.homepage = 'https://github.com/gildesmarais/html2rss'
spec.license = 'MIT'
spec.required_ruby_version = '>= 2.5.0'
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
spec.metadata['changelog_uri'] = 'https://github.com/gildesmarais/html2rss/blob/master/CHANGELOG.md'
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.add_dependency 'activesupport', '>= 5', '< 7'
spec.add_dependency 'addressable', '~> 2.7'
spec.add_dependency 'builder'
spec.add_dependency 'faraday', '~> 1.0'
spec.add_dependency 'faraday_middleware'
spec.add_dependency 'kramdown'
spec.add_dependency 'mime-types', '> 3.0'
spec.add_dependency 'nokogiri', '>= 1.10', '< 2.0'
spec.add_dependency 'reverse_markdown', '~> 2.0'
spec.add_dependency 'sanitize', '~> 5.0'
spec.add_dependency 'to_regexp'
spec.add_dependency 'zeitwerk'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'byebug'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rubocop'
spec.add_development_dependency 'rubocop-performance'
spec.add_development_dependency 'rubocop-rspec'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'vcr'
spec.add_development_dependency 'yard'
end