This repository has been archived by the owner on Apr 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
news_scraper.gemspec
46 lines (40 loc) · 2.3 KB
/
news_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
# rubocop:disable BlockLength
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'news_scraper/version'
Gem::Specification.new do |spec|
spec.name = "news_scraper"
spec.version = NewsScraper::VERSION
spec.authors = ["Richard Wu", "Julian Nadeau"]
spec.email = ["me@rwu1997.com", "julian@jnadeau.ca"]
spec.summary = 'Simple ETL news scraper in Ruby'
spec.description = 'A collection of extractors, transformers and loaders for scraping news websites and syndicates.'
spec.homepage = 'https://github.com/richardwu/news_scraper'
spec.license = "MIT"
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
raise "RubyGems 2.0 or newer is required to protect against public gem pushes." unless spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency 'nokogiri', '~>1.6', '>= 1.6.8'
spec.add_dependency 'httparty', '~> 0.14', '>= 0.14.0'
spec.add_dependency 'sanitize', '~> 4.2', '>= 4.2.0'
spec.add_dependency 'ruby-readability', '~> 0.7', '>= 0.7.0'
spec.add_dependency 'htmlbeautifier', '~> 1.1', '>= 1.1.1'
spec.add_dependency 'terminal-table', '~> 1.7.0', '>= 1.7.0'
spec.add_dependency 'metainspector', '~> 5.3.0', '>= 5.3.0'
spec.add_dependency 'highscore', '~> 1.2.0', '>= 1.2.0'
spec.add_development_dependency 'bundler', '~> 1.12', '>= 1.12.0'
spec.add_development_dependency 'rake', '~> 10.0', '>= 10.0.0'
spec.add_development_dependency 'minitest', '~> 5.9', '>= 5.9.0'
spec.add_development_dependency 'pry', '~> 0.10', '>= 0.10.4'
spec.add_development_dependency 'mocha', '~> 1.1', '>= 1.1.0'
spec.add_development_dependency 'timecop', '~> 0.8', '>= 0.8.0'
spec.add_development_dependency 'rubocop', '~> 0.42', '>= 0.42.0'
spec.add_development_dependency 'rdoc', '~> 4.2', '>= 4.2.2'
spec.add_development_dependency 'simplecov', '~> 0.12.0'
end