br_danfe 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +32 -0
- data/Gemfile +2 -1
- data/README.md +1 -1
- data/circle.yml +2 -2
- data/config/locales/pt-BR.yml +1 -1
- data/lib/br_danfe/danfe_lib/emit.rb +1 -1
- data/lib/br_danfe/version.rb +1 -1
- data/spec/lib/danfe_lib/emit_spec.rb +1 -1
- metadata +3 -3
- data/.travis.yml +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf614acac5c7739a5f0224aa6600064ae395f1d7
|
4
|
+
data.tar.gz: eb58783e7239321c521afe1e9d47c47a23b4d5e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d9e697b90191159df34f89cae0c48a6af1ed362ac443473164a329f45c2c6d0178892539a7347865e0044b9c2e82e977eecfcbcb918d6bb724dc33e66523407
|
7
|
+
data.tar.gz: a3b445332f39021a3a129c5307c468af3a0f77d934fb2f4151411b82982a10a815916e36f2c67416201a8f4662b99980a10eee288fe39a22282d0e9c32c2bfb0
|
data/.codeclimate.yml
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
engines:
|
2
|
+
brakeman:
|
3
|
+
enabled: false
|
4
|
+
bundler-audit:
|
5
|
+
enabled: false
|
6
|
+
duplication:
|
7
|
+
enabled: true
|
8
|
+
config:
|
9
|
+
languages:
|
10
|
+
- ruby
|
11
|
+
eslint:
|
12
|
+
enabled: false
|
13
|
+
fixme:
|
14
|
+
enabled: true
|
15
|
+
rubocop:
|
16
|
+
enabled: true
|
17
|
+
ratings:
|
18
|
+
paths:
|
19
|
+
- Gemfile.lock
|
20
|
+
- "**.erb"
|
21
|
+
- "**.haml"
|
22
|
+
- "**.rb"
|
23
|
+
- "**.rhtml"
|
24
|
+
- "**.slim"
|
25
|
+
- "**.inc"
|
26
|
+
- "**.js"
|
27
|
+
- "**.jsx"
|
28
|
+
- "**.module"
|
29
|
+
- "**.php"
|
30
|
+
- "**.py"
|
31
|
+
exclude_paths:
|
32
|
+
- spec/*
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# BrDanfe
|
2
2
|
|
3
|
-
[![Code Climate](https://codeclimate.com/github/asseinfo/br_danfe.png)](https://codeclimate.com/github/asseinfo/br_danfe)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/asseinfo/br_danfe.png)](https://codeclimate.com/github/asseinfo/br_danfe)
|
4
4
|
|
5
5
|
This gem generates PDF files for Brazilian DANFE (_Documento Auxiliar da Nota Fiscal Eletrônica_) from a valid NF-e XML. It also can generates PDF file for CC-e (_Carta de Correção Eletrônica_).
|
6
6
|
|
data/circle.yml
CHANGED
data/config/locales/pt-BR.yml
CHANGED
@@ -15,7 +15,7 @@ module BrDanfe
|
|
15
15
|
@pdf.lbox LINE_HEIGHT, 10.04, 0.75, @l1, @xml, "ide/natOp"
|
16
16
|
@pdf.ibox LINE_HEIGHT, 9.52, 10.79, @l1, I18n.t("danfe.infProt"), @xml["infProt/nProt"] + " " + Helper.format_datetime(@xml["infProt/dhRecbto"]), { align: :center }
|
17
17
|
@pdf.lie LINE_HEIGHT, 6.36, 0.75, @l2, @xml, "enderEmit/UF", "emit/IE"
|
18
|
-
@pdf.lie LINE_HEIGHT, 6.86, 7.11, @l2, @xml, "enderEmit/UF", "emit/
|
18
|
+
@pdf.lie LINE_HEIGHT, 6.86, 7.11, @l2, @xml, "enderEmit/UF", "emit/IEST"
|
19
19
|
@pdf.lcnpj LINE_HEIGHT, 6.34, 13.97, @l2, @xml, "emit/CNPJ"
|
20
20
|
end
|
21
21
|
end
|
data/lib/br_danfe/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: br_danfe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ASSEINFO
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -156,9 +156,9 @@ executables: []
|
|
156
156
|
extensions: []
|
157
157
|
extra_rdoc_files: []
|
158
158
|
files:
|
159
|
+
- ".codeclimate.yml"
|
159
160
|
- ".gitignore"
|
160
161
|
- ".rspec"
|
161
|
-
- ".travis.yml"
|
162
162
|
- Gemfile
|
163
163
|
- README.md
|
164
164
|
- Rakefile
|