forked from jabbrwcky/prawn-qrcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prawn-qrcode.gemspec
49 lines (43 loc) · 2.03 KB
/
prawn-qrcode.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
43
44
45
46
47
48
49
# coding: utf-8
# Copyright 2011-2017 Jens Hausherr
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'prawn/qrcode/version'
Gem::Specification.new do |spec|
spec.name = "prawn-qrcode"
spec.version = Prawn::QRCode::VERSION
spec.platform = Gem::Platform::RUBY
spec.summary = "Print QR Codes in PDF"
spec.licenses = [ 'Apache License 2.0' ]
spec.files = Dir.glob("{examples,lib}/**/**/*") +
["Rakefile", "prawn-qrcode.gemspec"]
spec.require_path = "lib"
spec.required_ruby_version = '>= 2.0.0'
spec.required_rubygems_version = ">= 1.3.6"
spec.extra_rdoc_files = %w{README.md LICENSE}
spec.rdoc_options << '--title' << 'Prawn/QRCode Documentation' <<
'--main' << 'README.md' << '-q'
spec.authors = ["Jens Hausherr"]
spec.email = ["[email protected]"]
spec.homepage = "http://github.com/jabbrwcky/prawn-qrcode"
spec.description = <<END_DESC
Prawn/QRCode simplifies the generation and rendering of QRCodes in Prawn PDF documents.
END_DESC
spec.add_dependency('prawn', '>=1')
spec.add_dependency('rqrcode', '>=0.4.1')
spec.add_development_dependency "bundler", "~> 1.13"
spec.add_development_dependency "rake", "~> 10.0"
#spec.add_development_dependency "rspec", "~> 3.0"
end