Sha256: 1caf2930dc67eca7bf45ce03cf7db3c3aee1cec14b8dce4f86fd14d22e6d204f

Contents?: true

Size: 1.25 KB

Versions: 2

Compression:

Stored size: 1.25 KB

Contents

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

Gem::Specification.new do |spec|
  spec.name          = 'invoice_printer'
  spec.version       = InvoicePrinter::VERSION
  spec.authors       = ['Josef Strzibny']
  spec.email         = ['strzibny@strzibny.name']
  spec.summary       = 'Super simple PDF invoicing in pure Ruby'
  spec.description   = 'Super simple and fast PDF invoicing in pure Ruby (based on Prawn library).'
  spec.homepage      = 'https://github.com/strzibny/invoice_printer'
  spec.license       = 'MIT'

  # Remove .pdf files as they take a lot of space
  package_files = `git ls-files -z`.split("\x0")
                    .reject{ |file| file.match /.*\.pdf/ }
                    .reject{ |file| file.match /docs\/.*/ }

  spec.files         = package_files
  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.add_dependency 'json', '~> 2.1'
  spec.add_dependency 'prawn', '2.1.0'
  spec.add_dependency 'prawn-layout', '0.8.4'

  spec.add_development_dependency 'bundler', '~> 1.7'
  spec.add_development_dependency 'rake', '~> 10.0'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
invoice_printer-1.0.0 invoice_printer.gemspec
invoice_printer-1.0.0.rc1 invoice_printer.gemspec