-
Notifications
You must be signed in to change notification settings - Fork 112
/
Copy pathupton.gemspec
27 lines (24 loc) · 1.17 KB
/
upton.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
require './lib/upton/version'
Gem::Specification.new do |s|
s.name = 'upton'
s.version = ::Upton::VERSION
s.date = Time.now.strftime("%Y-%m-%d")
s.summary = "A simple web-scraping framework"
s.description = "Don't re-write web scrapers every time. Upton gives you a scraper template that's easy to use for debugging and doesn't hammer servers by default."
s.authors = ["Jeremy B. Merrill"]
s.email = '[email protected]'
s.files = ["lib/upton.rb", "lib/upton/scraper.rb", "lib/upton/utils.rb", "lib/upton/downloader.rb", "lib/upton/version.rb"]
s.has_rdoc = true
s.test_files = Dir.glob('spec/data/*.html') + ['spec/upton_spec.rb', 'spec/spec_helper.rb', 'spec/upton_downloader_spec.rb']
s.required_ruby_version = ">= 1.9.2"
s.license = 'MIT'
s.homepage =
'http://github.org/propublica/upton'
s.add_development_dependency 'rack'
s.add_development_dependency 'rspec'
s.add_development_dependency 'webmock'
s.add_development_dependency 'thin'
s.add_development_dependency 'yard'
s.add_runtime_dependency "rest-client", [">= 1.6", "~> 2.0"]
s.add_runtime_dependency 'nokogiri', ["~> 1.5"]
end