br_invoices_pdf 0.2.2 → 0.2.3

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: dd57be7de01bb54fe1c2e725a715dde601b80f11
4
- data.tar.gz: 0def33819ed95dcd280b4504d51e5c83ea3be7f5
3
+ metadata.gz: 2fae5093f6313574d0252623aa722e0ec07ff794
4
+ data.tar.gz: 036465c3dbdb8358df83a82da4982975e2dd942c
5
5
  SHA512:
6
- metadata.gz: 4df1359ea6faae832574e957825589404ee92d09269d4d8efee415b7b5bb694675d14ab1374c0ffa5057fcf789067201dfdced3efe8efd0722b5ba8bb7352ab7
7
- data.tar.gz: 1968e3305f06c39e6627082b7d11d642a04a11895864f50012c2cbc78b24a7ce5f31abaac0510eda74b59c32e414596e540cb015c4e0f0d7f09fb395762d5822
6
+ metadata.gz: 7fc6c4521b9fcc400136af587991a993c1912fe8e5edf78250f0a88eeff98b1e2df5110dfc00c61554d11e8b869669517c015e381e99113a0e2a51355571b22a
7
+ data.tar.gz: 72a62e27b3e47d685e44f331b3516a4673efd9e5b25f1496c8cb4bfc0a9b2f5eb7dc78333de9cdc110eaf21d4abb928d27d68b566de52ee9dd6df39e6d30710a
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## CHANGELOG
4
4
 
5
+ ### 0.2.3 [2017-09-6]
6
+ - [Corrigido] Encoding errado ao gerar xml, alterando para encoding windows-1252.
7
+
5
8
  ### 0.2.2 [2017-08-31]
6
9
  - [Corrigido] Erro ao gerar documento CFE com empresa sem inscrição municipal
7
10
 
@@ -17,6 +17,8 @@ module BrInvoicesPdf
17
17
 
18
18
  module_function
19
19
 
20
+ Ox.default_options = Ox.default_options.merge(encoding: 'windows-1252')
21
+
20
22
  def generate(type, xml, options = {})
21
23
  generator = @generators[type]
22
24
  raise(Errors::InvalidDocumentType, type) unless generator
@@ -1,3 +1,3 @@
1
1
  module BrInvoicesPdf
2
- VERSION = '0.2.2'.freeze
2
+ VERSION = '0.2.3'.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.2
4
+ version: 0.2.3
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-31 00:00:00.000000000 Z
12
+ date: 2017-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: prawn