br_invoices_pdf 0.2.14 → 0.2.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.reek.yml +3 -0
- data/CHANGELOG.md +3 -0
- data/lib/br_invoices_pdf/nfce/parser/additional_info.rb +2 -1
- data/lib/br_invoices_pdf/nfce/renderer/taxes_info.rb +2 -1
- data/lib/br_invoices_pdf/version.rb +1 -1
- metadata +3 -3
- data/.reek +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34d08c034ae8a529faf5658815cb00f5d478c1ff
|
4
|
+
data.tar.gz: 4d4dfd8e1c611458cdfd2a4fd0c698ce1ba0fb0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8dcea3db07431ceb91b20646578489aa3fb3c5609d5d0260d81c1af1af8f354aa8603f6e6b9370687fe63e2e8289024ac43d158e71d6987ea981b5e8989b3ba
|
7
|
+
data.tar.gz: 55fd667a3807ca5dae264604b355e3b05fba9d550d892fd90ae27277f616fe735b7ac9f253fc3d0e08ca0cccf14ec479d364c2a47cda66395cae5c20d56fe317
|
data/.reek.yml
ADDED
data/CHANGELOG.md
CHANGED
@@ -18,7 +18,8 @@ module BrInvoicesPdf
|
|
18
18
|
# :reek:FeatureEnvy
|
19
19
|
def tribute_values(pdf, taxes)
|
20
20
|
pdf.text("Tributos\n\n", style: :italic)
|
21
|
-
|
21
|
+
value = format_currency(taxes)
|
22
|
+
text = "Informação dos tributos totais incidentes (Lei Federal 12.741/2012):\n R$ #{value}\n\n"
|
22
23
|
pdf.text(text, align: :center)
|
23
24
|
end
|
24
25
|
private_class_method :tribute_values
|
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.
|
4
|
+
version: 0.2.15
|
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: 2018-
|
12
|
+
date: 2018-07-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: barby
|
@@ -218,7 +218,7 @@ files:
|
|
218
218
|
- ".codeclimate.yml"
|
219
219
|
- ".coveralls.yml"
|
220
220
|
- ".gitignore"
|
221
|
-
- ".reek"
|
221
|
+
- ".reek.yml"
|
222
222
|
- ".rspec"
|
223
223
|
- ".rubocop.yml"
|
224
224
|
- CHANGELOG.md
|
data/.reek
DELETED