br_invoices_pdf 0.2.1 → 0.2.2

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: f0b90d03fcbbf9c634256b23c59b433d50319d58
4
- data.tar.gz: e41cf67a91dc5633d0e4308e38c4be64c904e199
3
+ metadata.gz: dd57be7de01bb54fe1c2e725a715dde601b80f11
4
+ data.tar.gz: 0def33819ed95dcd280b4504d51e5c83ea3be7f5
5
5
  SHA512:
6
- metadata.gz: b4071bed19ec5bd7972d0c5cf452a88b090a9cac8e05e735250b99ad50353dd0c7a163184594019d4825776c413296238e47b09fd19ec65de8cb889dccdf3145
7
- data.tar.gz: afddc5d76c6a923aaac358e7421847c90619dd6d51576769d16f6a254d795dc661b22becacc65cd523b85954efc40ddfae3e2b370bc4ddfa6ed5be3a059e4cf6
6
+ metadata.gz: 4df1359ea6faae832574e957825589404ee92d09269d4d8efee415b7b5bb694675d14ab1374c0ffa5057fcf789067201dfdced3efe8efd0722b5ba8bb7352ab7
7
+ data.tar.gz: 1968e3305f06c39e6627082b7d11d642a04a11895864f50012c2cbc78b24a7ce5f31abaac0510eda74b59c32e414596e540cb015c4e0f0d7f09fb395762d5822
data/CHANGELOG.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## CHANGELOG
4
4
 
5
+ ### 0.2.2 [2017-08-31]
6
+ - [Corrigido] Erro ao gerar documento CFE com empresa sem inscrição municipal
7
+
5
8
  ### Unreleased
6
9
 
7
10
  ### 0.2.1 [2017-08-25]
@@ -25,9 +25,9 @@ module BrInvoicesPdf
25
25
 
26
26
  # :reek:FeatureEnvy
27
27
  def insert_fiscal_numbers(pdf, data)
28
- pdf.text('CNPJ: ' + format_cnpj(data[:cnpj]), align: :center)
29
- pdf.text('Inscrição Estadual: ' + data[:ie], align: :center)
30
- pdf.text('Inscrição Municipal: ' + data[:im], align: :center)
28
+ pdf.text("CNPJ: #{format_cnpj(data[:cnpj])}", align: :center)
29
+ pdf.text("Inscrição Estadual: #{data[:ie]}", align: :center)
30
+ pdf.text("Inscrição Municipal: #{data[:im]}", align: :center)
31
31
  end
32
32
  private_class_method :insert_fiscal_numbers
33
33
  end
@@ -1,3 +1,3 @@
1
1
  module BrInvoicesPdf
2
- VERSION = '0.2.1'.freeze
2
+ VERSION = '0.2.2'.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.1
4
+ version: 0.2.2
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-25 00:00:00.000000000 Z
12
+ date: 2017-08-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: prawn