prawn-qrcode 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prawn/qrcode.rb +1 -1
- data/lib/prawn/qrcode/version.rb +1 -1
- data/prawn-qrcode.gemspec +1 -1
- data/test/test_qrcode_in_context.rb +10 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 403a8097100459aace10f31ef7ebf8177ae029fb60befc009b3823e7fefd4a26
|
4
|
+
data.tar.gz: dd509b0a317be8c44046dd1b41baf48940a865c036091c41afdf5aa5ea31af3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d2a32073bba4469b6f2cb36e49a6290dfbd78db6bb1cc12ad162a6a592ddb8106c18ff8122649dd3c548d289ab4efafb1148ddc871a834a14a6d87590f50ea2
|
7
|
+
data.tar.gz: a44e5b92656d8a83785b828187ce6b8e5389255dc4d8ae400d09d43f71909bd44dee348316163e1218714d4d041d77456a99d29f4b5ac6348c9dd8067c34f4db
|
data/lib/prawn/qrcode.rb
CHANGED
@@ -74,7 +74,7 @@ module Prawn
|
|
74
74
|
#
|
75
75
|
def print_qr_code(content, level: :m, mode: nil, pos: [0, cursor], **options)
|
76
76
|
qr_code = Prawn::QRCode.min_qrcode(content, level: level, mode: mode)
|
77
|
-
render_qr_code(qr_code, pos: pos,
|
77
|
+
render_qr_code(qr_code, pos: pos, **options)
|
78
78
|
end
|
79
79
|
|
80
80
|
# Renders a prepared QR code (RQRCode::QRCode) int the pdf.
|
data/lib/prawn/qrcode/version.rb
CHANGED
data/prawn-qrcode.gemspec
CHANGED
@@ -46,5 +46,5 @@ END_DESC
|
|
46
46
|
spec.add_development_dependency 'minitest', '~> 5.12', '>= 5.12.2'
|
47
47
|
spec.add_development_dependency 'prawn-table', '~> 0.2.2'
|
48
48
|
spec.add_development_dependency 'rake', '~> 13.0'
|
49
|
-
spec.add_development_dependency 'rubocop', '~>0.
|
49
|
+
spec.add_development_dependency 'rubocop', '~>0.76.0'
|
50
50
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prawn-qrcode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Hausherr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prawn
|
@@ -106,14 +106,14 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0.
|
109
|
+
version: 0.76.0
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 0.
|
116
|
+
version: 0.76.0
|
117
117
|
description: " Prawn/QRCode simplifies the generation and rendering of QRCodes in
|
118
118
|
Prawn PDF documents.\n"
|
119
119
|
email:
|
@@ -137,6 +137,7 @@ files:
|
|
137
137
|
- lib/prawn/qrcode/version.rb
|
138
138
|
- prawn-qrcode.gemspec
|
139
139
|
- test/test_minqrcode.rb
|
140
|
+
- test/test_qrcode_in_context.rb
|
140
141
|
- test/test_renderer.rb
|
141
142
|
homepage: http://github.com/jabbrwcky/prawn-qrcode
|
142
143
|
licenses:
|