Sha256: 209ab9820adc57a911c8791b74de2aa22b58212776819e74a92b1bc41cc90ba3

Contents?: true

Size: 1.54 KB

Versions: 3

Compression:

Stored size: 1.54 KB

Contents

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

FONTS_FILES = [
  'LICENSE.txt',
  'FONTS_LICENSE.txt',
  'assets/fonts/overpass/OFL-1.1.txt',
  'assets/fonts/overpass/Overpass-Regular.ttf',
  'assets/fonts/overpass/Overpass-Bold.ttf',
  'assets/fonts/opensans/Apache-2.0.txt',
  'assets/fonts/opensans/OpenSans-Regular.ttf',
  'assets/fonts/opensans/OpenSans-Bold.ttf',
  'assets/fonts/roboto/Apache-2.0.txt',
  'assets/fonts/roboto/Roboto-Regular.ttf',
  'assets/fonts/roboto/Roboto-Bold.ttf',
  'lib/invoice_printer/fonts.rb'
]

Gem::Specification.new do |spec|
  spec.name          = 'invoice_printer_fonts'
  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.licenses      = ['MIT', 'OFL 1.1', 'Apache 2.0']

  # Include only font files
  spec.files         = FONTS_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.required_ruby_version = '>= 2.4'

  spec.add_dependency 'invoice_printer', InvoicePrinter::VERSION

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
invoice_printer-2.4.0 invoice_printer_fonts.gemspec
invoice_printer-2.3.0 invoice_printer_fonts.gemspec
invoice_printer-2.2.0 invoice_printer_fonts.gemspec