br_danfe 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +1 -1
- data/Gemfile +3 -1
- data/Gemfile.lock +12 -11
- data/README.md +1 -1
- data/lib/br_danfe/danfe_lib/dest.rb +14 -5
- data/lib/br_danfe/danfe_lib/helper.rb +21 -2
- data/lib/br_danfe/danfe_lib/infadic.rb +14 -1
- data/lib/br_danfe/version.rb +1 -1
- data/spec/fixtures/nfe/lib/dest#render-v2.00.pdf +6 -6
- data/spec/fixtures/nfe/lib/dest#render-v3.10.pdf +6 -6
- data/spec/fixtures/nfe/lib/dest#render-with-address-bigger.pdf +271 -0
- data/spec/fixtures/nfe/lib/dest#render-with_cnpj.pdf +5 -12
- data/spec/fixtures/nfe/lib/dest#render-with_cpf.pdf +5 -12
- data/spec/fixtures/nfe/lib/dest#render-with_ie.pdf +5 -12
- data/spec/fixtures/nfe/lib/dest#render-without-address-complement.pdf +271 -0
- data/spec/fixtures/nfe/lib/infadic-with-street-data#render.pdf +104 -0
- data/spec/lib/danfe_lib/dest_spec.rb +84 -1
- data/spec/lib/danfe_lib/helper_spec.rb +92 -0
- data/spec/lib/danfe_lib/infadic_spec.rb +68 -0
- metadata +8 -2
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.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ASSEINFO
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -220,9 +220,11 @@ files:
|
|
220
220
|
- spec/fixtures/logo.png
|
221
221
|
- spec/fixtures/nfe/lib/dest#render-v2.00.pdf
|
222
222
|
- spec/fixtures/nfe/lib/dest#render-v3.10.pdf
|
223
|
+
- spec/fixtures/nfe/lib/dest#render-with-address-bigger.pdf
|
223
224
|
- spec/fixtures/nfe/lib/dest#render-with_cnpj.pdf
|
224
225
|
- spec/fixtures/nfe/lib/dest#render-with_cpf.pdf
|
225
226
|
- spec/fixtures/nfe/lib/dest#render-with_ie.pdf
|
227
|
+
- spec/fixtures/nfe/lib/dest#render-without-address-complement.pdf
|
226
228
|
- spec/fixtures/nfe/lib/det_body#render-csosn.pdf
|
227
229
|
- spec/fixtures/nfe/lib/det_body#render-cst.pdf
|
228
230
|
- spec/fixtures/nfe/lib/det_body#render-fci.pdf
|
@@ -250,6 +252,7 @@ files:
|
|
250
252
|
- spec/fixtures/nfe/lib/infadic#render-extra_volume_difal.pdf
|
251
253
|
- spec/fixtures/nfe/lib/infadic#render-footer_information.pdf
|
252
254
|
- spec/fixtures/nfe/lib/infadic#render.pdf
|
255
|
+
- spec/fixtures/nfe/lib/infadic-with-street-data#render.pdf
|
253
256
|
- spec/fixtures/nfe/lib/issqn#render-with_issqn.pdf
|
254
257
|
- spec/fixtures/nfe/lib/issqn#render-with_one_issqn_value.pdf
|
255
258
|
- spec/fixtures/nfe/lib/issqn#render-without_issqn.pdf
|
@@ -358,9 +361,11 @@ test_files:
|
|
358
361
|
- spec/fixtures/logo.png
|
359
362
|
- spec/fixtures/nfe/lib/dest#render-v2.00.pdf
|
360
363
|
- spec/fixtures/nfe/lib/dest#render-v3.10.pdf
|
364
|
+
- spec/fixtures/nfe/lib/dest#render-with-address-bigger.pdf
|
361
365
|
- spec/fixtures/nfe/lib/dest#render-with_cnpj.pdf
|
362
366
|
- spec/fixtures/nfe/lib/dest#render-with_cpf.pdf
|
363
367
|
- spec/fixtures/nfe/lib/dest#render-with_ie.pdf
|
368
|
+
- spec/fixtures/nfe/lib/dest#render-without-address-complement.pdf
|
364
369
|
- spec/fixtures/nfe/lib/det_body#render-csosn.pdf
|
365
370
|
- spec/fixtures/nfe/lib/det_body#render-cst.pdf
|
366
371
|
- spec/fixtures/nfe/lib/det_body#render-fci.pdf
|
@@ -388,6 +393,7 @@ test_files:
|
|
388
393
|
- spec/fixtures/nfe/lib/infadic#render-extra_volume_difal.pdf
|
389
394
|
- spec/fixtures/nfe/lib/infadic#render-footer_information.pdf
|
390
395
|
- spec/fixtures/nfe/lib/infadic#render.pdf
|
396
|
+
- spec/fixtures/nfe/lib/infadic-with-street-data#render.pdf
|
391
397
|
- spec/fixtures/nfe/lib/issqn#render-with_issqn.pdf
|
392
398
|
- spec/fixtures/nfe/lib/issqn#render-with_one_issqn_value.pdf
|
393
399
|
- spec/fixtures/nfe/lib/issqn#render-without_issqn.pdf
|