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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd57be7de01bb54fe1c2e725a715dde601b80f11
|
4
|
+
data.tar.gz: 0def33819ed95dcd280b4504d51e5c83ea3be7f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4df1359ea6faae832574e957825589404ee92d09269d4d8efee415b7b5bb694675d14ab1374c0ffa5057fcf789067201dfdced3efe8efd0722b5ba8bb7352ab7
|
7
|
+
data.tar.gz: 1968e3305f06c39e6627082b7d11d642a04a11895864f50012c2cbc78b24a7ce5f31abaac0510eda74b59c32e414596e540cb015c4e0f0d7f09fb395762d5822
|
data/CHANGELOG.md
CHANGED
@@ -25,9 +25,9 @@ module BrInvoicesPdf
|
|
25
25
|
|
26
26
|
# :reek:FeatureEnvy
|
27
27
|
def insert_fiscal_numbers(pdf, data)
|
28
|
-
pdf.text(
|
29
|
-
pdf.text(
|
30
|
-
pdf.text(
|
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
|
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.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-
|
12
|
+
date: 2017-08-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: prawn
|