br_danfe 0.13.0 → 0.13.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f55ded3c375282fe46db39e4341a44af0b269ce77e58fe981e4e20df9389a32d
4
- data.tar.gz: 31cbea91ca7a466c0feced8157725a44914907189f046a6e0ba87f43c5a92aaa
3
+ metadata.gz: 9dc1e0a0157c5377beab0c664ebec12005b11af97c38e65da93026dd7f87448f
4
+ data.tar.gz: 7d38c45b6fcf72a5b22807fceaf0ddad6257a98f2b29932de8f843aceff4d04a
5
5
  SHA512:
6
- metadata.gz: 349620dbbbe722fe92ee1564bb2112285fc5555e0baec9e3b3bc4f60ad3456e6d667003ddfb25ee8ccde382b62241b8d9671b304ad68eed8a74f2c95cf0ff55b
7
- data.tar.gz: e650de0c73f69e2b3a78df8dc476d2f76de5307f9b2d701bf853dff974724b049b3d717fafa1805964821c30efabc7336b61e22a29604505e1a56e137b68d7dc
6
+ metadata.gz: 2ff693f6fe6c62cb6345767764a4cf231faf93ceb08f9a3188b38c3d62d8941373ce740fec2d4771b352272dbdd098b534a5f885fb9de7802c0c679067fa54f5
7
+ data.tar.gz: 493d8c6ec7bdb1a5da8701450a6cedffec08cab7141856a873246aadf0a466fb11959abdb7fa522d80f9f8516a668e70b71409cdc0b29266333462442a91aced
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- br_danfe (0.13.0)
4
+ br_danfe (0.13.1)
5
5
  barby (= 0.5.1)
6
6
  br_documents (>= 0.1.3)
7
7
  i18n (>= 0.8.6)
@@ -13,7 +13,7 @@ module BrDanfe
13
13
 
14
14
  def render
15
15
  qrcode = RQRCode::QRCode.new(@xml['qrCode'])
16
- image = Tempfile.create('qrcode.png')
16
+ image = Tempfile.new(%w[qrcode png], binmode: true)
17
17
  image.write(qrcode.as_png(module_px_size: 12).to_s)
18
18
 
19
19
  box_size = 3.cm
@@ -1,3 +1,3 @@
1
1
  module BrDanfe
2
- VERSION = '0.13.0'.freeze
2
+ VERSION = '0.13.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: br_danfe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ASSEINFO
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-03 00:00:00.000000000 Z
11
+ date: 2020-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: barby