-
Notifications
You must be signed in to change notification settings - Fork 16
/
prawn-markup.gemspec
38 lines (33 loc) · 1.53 KB
/
prawn-markup.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
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'prawn/markup/version'
Gem::Specification.new do |spec|
spec.name = 'prawn-markup'
spec.version = Prawn::Markup::VERSION
spec.authors = ['Pascal Zumkehr']
spec.email = ['[email protected]']
spec.summary = 'Parse simple HTML markup to include in Prawn PDFs'
spec.description = 'Adds simple HTML snippets into Prawn-generated PDFs. ' \
'All elements are layouted vertically using Prawn\'s formatting ' \
'options. A major use case for this gem is to include ' \
'WYSIWYG-generated HTML parts into server-generated PDF documents.'
spec.homepage = 'https://github.com/puzzle/prawn-markup'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(((spec|bin)/)|\.|Gemfile|Rakefile)})
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_dependency 'nokogiri'
spec.add_dependency 'prawn'
spec.add_dependency 'prawn-table'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'byebug'
spec.add_development_dependency 'matrix'
spec.add_development_dependency 'pdf-inspector'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rubocop'
spec.add_development_dependency 'simplecov'
end