br_invoices_pdf 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/br_invoices_pdf/cfe/renderer/qr_code.rb +1 -1
- data/lib/br_invoices_pdf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0b90d03fcbbf9c634256b23c59b433d50319d58
|
4
|
+
data.tar.gz: e41cf67a91dc5633d0e4308e38c4be64c904e199
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4071bed19ec5bd7972d0c5cf452a88b090a9cac8e05e735250b99ad50353dd0c7a163184594019d4825776c413296238e47b09fd19ec65de8cb889dccdf3145
|
7
|
+
data.tar.gz: afddc5d76c6a923aaac358e7421847c90619dd6d51576769d16f6a254d795dc661b22becacc65cd523b85954efc40ddfae3e2b370bc4ddfa6ed5be3a059e4cf6
|
data/CHANGELOG.md
CHANGED
@@ -52,7 +52,7 @@ module BrInvoicesPdf
|
|
52
52
|
|
53
53
|
def generate_qr_code_data(qr_code_string, qrcode_size)
|
54
54
|
qrcode = RQRCode::QRCode.new(qr_code_string)
|
55
|
-
blob = qrcode.as_png(size: qrcode_size, border_modules: 0).to_blob
|
55
|
+
blob = qrcode.as_png(size: qrcode_size.to_i, border_modules: 0).to_blob
|
56
56
|
StringIO.new(blob)
|
57
57
|
end
|
58
58
|
private_class_method :generate_qr_code_data
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: br_invoices_pdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thiago Ribeiro
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-08-
|
12
|
+
date: 2017-08-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: prawn
|