-
Notifications
You must be signed in to change notification settings - Fork 73
/
invoice_printer_fonts.gemspec
42 lines (36 loc) · 1.54 KB
/
invoice_printer_fonts.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
39
40
41
42
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 = ['[email protected]']
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