Sha256: bb8fe66d510b1bcfc540f05050759d2bef37ab3946a92afbe985e7f8f739f150

Contents?: true

Size: 1.63 KB

Versions: 5

Compression:

Stored size: 1.63 KB

Contents

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'wicked_pdf/version'
require 'English'

Gem::Specification.new do |spec|
  spec.name          = 'wicked_pdf'
  spec.version       = WickedPdf::VERSION
  spec.authors       = ['Miles Z. Sterrett', 'David Jones']
  spec.email         = ['miles.sterrett@gmail.com', 'unixmonkey1@gmail.com']
  spec.summary       = 'PDF generator (from HTML) gem for Ruby on Rails'
  spec.homepage      = 'https://github.com/mileszs/wicked_pdf'
  spec.license       = 'MIT'
  spec.date          = Time.now.strftime('%Y-%m-%d')
  spec.description   = <<DESC.gsub(/^\s+/, '')
    Wicked PDF uses the shell utility wkhtmltopdf to serve a PDF file to a user from HTML.
    In other words, rather than dealing with a PDF generation DSL of some sort,
    you simply write an HTML view as you would normally, and let Wicked take care of the hard stuff.
DESC

  spec.files         = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ['lib']

  spec.requirements << 'wkhtmltopdf'

  spec.add_dependency 'activesupport'

  spec.add_development_dependency 'rails'
  spec.add_development_dependency 'bundler', RUBY_VERSION >= '2.5' ? '~> 2' : '~> 1.3'
  spec.add_development_dependency 'rake'
  spec.add_development_dependency 'rubocop', '~> 0.50.0' if RUBY_VERSION >= '2.0.0'
  spec.add_development_dependency 'sqlite3', '~> 1.3.6'
  spec.add_development_dependency 'mocha', '= 1.3'
  spec.add_development_dependency 'test-unit'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wicked_pdf-1.4.0 wicked_pdf.gemspec
wicked_pdf-1.3.0 wicked_pdf.gemspec
wicked_pdf-1.2.2 wicked_pdf.gemspec
wicked_pdf-1.2.1 wicked_pdf.gemspec
wicked_pdf-1.2.0 wicked_pdf.gemspec