Skip to content

Commit

Permalink
update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagovsk committed Oct 6, 2017
1 parent cc8eae7 commit e66b409
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## CHANGELOG

### Unreleased
- [Corrigido] Encoding de produtos na CFE.

### 0.2.5 [2017-09-28]
- [Corrigido] CNPJ na CFE.
Expand Down
2 changes: 1 addition & 1 deletion lib/br_invoices_pdf/cfe/parser/products_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def products_params(node_products)

def product_by(element)
FIELDS
.map { |(key, field)| [key, node_locate(element, field).force_encoding('UTF-8')] }
.map { |(key, field)| [key, node_locate(element, field).force_encoding('UTF-8'.freeze)] }
.to_h
end
private_class_method :product_by
Expand Down

0 comments on commit e66b409

Please sign in to comment.