-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathphantompdf.gemspec
29 lines (25 loc) · 1.11 KB
/
phantompdf.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
# -*- encoding: utf-8 -*-
phantompdf_lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(phantompdf_lib) unless $LOAD_PATH.include?(phantompdf_lib)
require 'phantompdf/version'
Gem::Specification.new do |spec|
spec.name = 'phantompdf'
spec.version = PhantomPDF::VERSION
spec.authors = ['Spring MC']
spec.email = %w([email protected])
spec.description = %q{Generate PDF from HTML using PhantomJS}
spec.summary = %q{A PhantomJS based PDF generator}
spec.license = 'MIT'
spec.homepage = 'https://github.com/mcspring/phantompdf'
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = %w(lib)
spec.add_runtime_dependency 'phantomjs', '~> 1.9'
spec.add_runtime_dependency 'rack', '~> 2.0'
spec.add_runtime_dependency 'json', '~> 2.1'
spec.add_development_dependency 'rack-test', '~> 0.7'
spec.add_development_dependency 'rspec', '~> 3.6'
spec.add_development_dependency 'byebug', '~> 9.1'
spec.add_development_dependency 'pdf-reader', '~> 2.0'
end