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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d9650b71dd79057b6ffb14aa2066b138689478f
4
- data.tar.gz: c60c4c544d1f11788aec5e5aaf5308269133b6d9
3
+ metadata.gz: f0b90d03fcbbf9c634256b23c59b433d50319d58
4
+ data.tar.gz: e41cf67a91dc5633d0e4308e38c4be64c904e199
5
5
  SHA512:
6
- metadata.gz: 50ae14bdce8987f8dbc7d4726bf1aea00dc937d57e201648f9a253e78f439b4920801bf96eb2c50dbbd51d6c264fad2f6003530b561cc441a5ea9d43a02bc2a7
7
- data.tar.gz: f8786f8a33ba3c396a4b111a3f50111bf9927012863333a75d3650d26922f304bfcc3312eeeb7c06520d0765fc19c08220a46e6f598ad215a51628a37ed9e3a7
6
+ metadata.gz: b4071bed19ec5bd7972d0c5cf452a88b090a9cac8e05e735250b99ad50353dd0c7a163184594019d4825776c413296238e47b09fd19ec65de8cb889dccdf3145
7
+ data.tar.gz: afddc5d76c6a923aaac358e7421847c90619dd6d51576769d16f6a254d795dc661b22becacc65cd523b85954efc40ddfae3e2b370bc4ddfa6ed5be3a059e4cf6
data/CHANGELOG.md CHANGED
@@ -4,6 +4,9 @@
4
4
 
5
5
  ### Unreleased
6
6
 
7
+ ### 0.2.1 [2017-08-25]
8
+ - [Corrigido] Erro ao gerar QR Code com tamanho decimal
9
+
7
10
  ### 0.2.0 [2017-05-29]
8
11
  - [Modificado] Atualizando versões das dependências
9
12
  - [Adicionado] Estrutura de Generator/Parser/Renderer
@@ -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
@@ -1,3 +1,3 @@
1
1
  module BrInvoicesPdf
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.2.1'.freeze
3
3
  end
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.0
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-18 00:00:00.000000000 Z
12
+ date: 2017-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: prawn