br_danfe 0.7.2 → 0.7.3

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
- SHA1:
3
- metadata.gz: bb741f1d1066620c0aa847c09fb4fa72b200c99e
4
- data.tar.gz: a264f79ee360582e6ad7190fc8efebc14a630e8f
2
+ SHA256:
3
+ metadata.gz: 9e68c7763bd356c3112f3bd03d02a8cf9c7d1bf261f2713f8d2a5f5ec2415dd5
4
+ data.tar.gz: 943164baf696ec2f5b4a64959027023221526ec5e3ab005a227423e44c250884
5
5
  SHA512:
6
- metadata.gz: b9a9e0920ff13af6e4e9b9de29cb6a8db6da16b666a038551d51df1854805813bc6793569cf12a7a7172d9d30d2830b25df9bfff69d0aa4670e273dd30222e5d
7
- data.tar.gz: cf94b429c376ab34b878409c257351025a935070a16b53f0fb5901d2e7516ac1317c7062c1758a9d0a7f66c5a7da19ea3a3c625c90056f55d64395f7d01c8744
6
+ metadata.gz: a8da8f10c1c5a6f3a6d1dea957e164d131368e74b1a1d1e585d62d8df4ff93bf8abad153b3cfc4e93ed8f0fdb5440fa97a27ef0b3b7b5c3cf46d386a215fd645
7
+ data.tar.gz: 601651394f4dd1d8071983fd3b6c8f8347fa2ac4114eb0b1b232b7c3dde0e6b909e1ab3dd49ff9a45c181fcae33cf5808b0cb66882f3e2c4e93d61c578f73ad5
@@ -0,0 +1,42 @@
1
+ version: 2
2
+ jobs:
3
+ build:
4
+ docker:
5
+ - image: circleci/ruby:2.5.1
6
+ steps:
7
+ - checkout
8
+ - restore_cache:
9
+ key: brdanfe-cache-v1-{{ checksum "Gemfile.lock" }}
10
+ - run: bundle check || bundle install
11
+ - save_cache:
12
+ key: brdanfe-cache-v1-{{ .Environment.CIRCLE_SHA1 }}
13
+ paths:
14
+ - .
15
+ - save_cache:
16
+ key: brdanfe-cache-v1-{{ checksum "Gemfile.lock" }}
17
+ paths:
18
+ - ./vendor/bundle
19
+ rspec:
20
+ docker:
21
+ - image: circleci/ruby:2.5.1
22
+ steps:
23
+ - restore_cache:
24
+ key: brdanfe-cache-v1-{{ .Environment.CIRCLE_SHA1 }}
25
+ - restore_cache:
26
+ key: brdanfe-cache-v1-{{ checksum "Gemfile.lock" }}
27
+ - run:
28
+ name: Install Test Coverage for CodeClimate
29
+ command: |
30
+ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
31
+ chmod +x ./cc-test-reporter
32
+ - run: ./cc-test-reporter before-build
33
+ - run: bundle exec rspec
34
+ - run: ./cc-test-reporter after-build --exit-code $?
35
+ workflows:
36
+ version: 2
37
+ main:
38
+ jobs:
39
+ - build
40
+ - rspec:
41
+ requires:
42
+ - build
data/Gemfile CHANGED
@@ -1,8 +1,3 @@
1
- source "https://rubygems.org"
2
- ruby "2.2.5"
1
+ source 'https://rubygems.org'
3
2
 
4
3
  gemspec
5
-
6
- gem "rake", "12.0.0"
7
- gem "simplecov", "0.11.1", group: :test
8
- gem "simplecov-html", "0.10.1", group: :test
@@ -1,22 +1,22 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- br_danfe (0.7.2)
4
+ br_danfe (0.7.3)
5
5
  barby (= 0.5.1)
6
- br_documents (>= 0.0.8)
7
- i18n
8
- nokogiri
6
+ br_documents (= 0.0.13)
7
+ i18n (= 0.8.6)
8
+ nokogiri (= 1.8.1)
9
9
  prawn (= 2.1.0)
10
10
  prawn-table (= 0.2.2)
11
11
 
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activemodel (5.1.4)
16
- activesupport (= 5.1.4)
17
- activesupport (5.1.4)
15
+ activemodel (5.2.0)
16
+ activesupport (= 5.2.0)
17
+ activesupport (5.2.0)
18
18
  concurrent-ruby (~> 1.0, >= 1.0.2)
19
- i18n (~> 0.7)
19
+ i18n (>= 0.7, < 2)
20
20
  minitest (~> 5.1)
21
21
  tzinfo (~> 1.1)
22
22
  barby (0.5.1)
@@ -37,7 +37,7 @@ GEM
37
37
  i18n (0.8.6)
38
38
  json (1.8.6)
39
39
  mini_portile2 (2.3.0)
40
- minitest (5.10.3)
40
+ minitest (5.11.3)
41
41
  nokogiri (1.8.1)
42
42
  mini_portile2 (~> 2.3.0)
43
43
  pdf-core (0.6.1)
@@ -68,7 +68,7 @@ GEM
68
68
  slop (3.6.0)
69
69
  thread_safe (0.3.6)
70
70
  ttfunk (1.4.0)
71
- tzinfo (1.2.3)
71
+ tzinfo (1.2.5)
72
72
  thread_safe (~> 0.1)
73
73
 
74
74
  PLATFORMS
@@ -77,14 +77,11 @@ PLATFORMS
77
77
  DEPENDENCIES
78
78
  br_danfe!
79
79
  byebug (= 3.5.1)
80
- codeclimate-test-reporter
80
+ codeclimate-test-reporter (= 1.0.8)
81
81
  rake (= 12.0.0)
82
- rspec (>= 3.0.0)
82
+ rspec (= 3.6.0)
83
83
  simplecov (= 0.11.1)
84
84
  simplecov-html (= 0.10.1)
85
85
 
86
- RUBY VERSION
87
- ruby 2.2.5p319
88
-
89
86
  BUNDLED WITH
90
87
  1.16.1
data/README.md CHANGED
@@ -6,7 +6,7 @@ This gem generates PDF files for Brazilian DANFE (_Documento Auxiliar da Nota Fi
6
6
 
7
7
  [See an example here.](https://github.com/asseinfo/br_danfe/blob/master/spec/fixtures/v2.00/nfe_with_logo.xml.fixture.pdf?raw=true)
8
8
 
9
- This gem requires `ruby >= 1.9.3`.
9
+ This gem requires `ruby >= 2.0`.
10
10
 
11
11
  ## Supported NF-e versions
12
12
 
@@ -107,6 +107,18 @@ You can run all RSpec specs using:
107
107
  >
108
108
  > You can do this simply deleting the fixture pdf file. The `have_same_content_of` matcher will recreate the fixture in the next time you run the `bundle exec rspec` command.
109
109
 
110
+
111
+ ## Environment variables
112
+
113
+ The following variables are necessary to be set:
114
+
115
+ Environment var | Development? | Test? | CI? | Production? | Data
116
+ ----------------------|--------------|-------|-------|-------------|-----
117
+ TZ | no | no | yes | no | America/Sao_Paulo
118
+ BUNDLE_PATH | no | no | yes | no | vendor/bundle
119
+ CC_TEST_REPORTER_ID | no | no | yes | no | get at codeclimate
120
+ RAILS_ENV | no | no | yes | no | test
121
+
110
122
  ### Code coverage
111
123
 
112
124
  Code coverage is available through of SimpleCov. Just run `bundle exec rspec` and open the coverage report in your browser.
@@ -1,31 +1,34 @@
1
1
  # coding: utf-8
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "br_danfe/version"
2
+
3
+ $LOAD_PATH.push File.expand_path('../lib', __FILE__)
4
+ require 'br_danfe/version'
4
5
 
5
6
  Gem::Specification.new do |spec|
6
- spec.name = "br_danfe"
7
+ spec.name = 'br_danfe'
7
8
  spec.version = BrDanfe::VERSION
8
- spec.summary = "DANFE pdf generator for Brazilian invoices."
9
- spec.author = "ASSEINFO"
10
- spec.email = "asseinfo@asseinfo.com.br"
11
- spec.homepage = "http://github.com/asseinfo/br_danfe"
12
- spec.license = "MIT"
9
+ spec.summary = 'DANFE pdf generator for Brazilian invoices.'
10
+ spec.author = 'ASSEINFO'
11
+ spec.email = 'asseinfo@asseinfo.com.br'
12
+ spec.homepage = 'http://github.com/asseinfo/br_danfe'
13
+ spec.license = 'MIT'
13
14
 
14
15
  spec.files = `git ls-files`.split("\n")
15
- spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
+ spec.test_files = `git ls-files -- { test,spec,features }/*`.split("\n")
16
17
  spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
- spec.require_paths = ["lib"]
18
- spec.required_ruby_version = ">= 2.0"
18
+ spec.require_paths = ['lib']
19
+ spec.required_ruby_version = '>= 2.1'
19
20
 
20
- spec.add_dependency "nokogiri"
21
- spec.add_dependency "prawn", "2.1.0"
22
- spec.add_dependency "prawn-table", "0.2.2"
23
- spec.add_dependency "barby", "0.5.1"
24
- spec.add_dependency "i18n"
25
- spec.add_dependency "br_documents", ">= 0.0.8"
21
+ spec.add_dependency 'barby', '0.5.1'
22
+ spec.add_dependency 'br_documents', '0.0.13'
23
+ spec.add_dependency 'i18n', '0.8.6'
24
+ spec.add_dependency 'nokogiri', '1.8.1'
25
+ spec.add_dependency 'prawn', '2.1.0'
26
+ spec.add_dependency 'prawn-table', '0.2.2'
26
27
 
27
- spec.add_development_dependency "byebug", "3.5.1"
28
- spec.add_development_dependency "rspec", ">= 3.0.0"
29
- spec.add_development_dependency "simplecov", "0.11.1"
30
- spec.add_development_dependency "codeclimate-test-reporter"
28
+ spec.add_development_dependency 'byebug', '3.5.1'
29
+ spec.add_development_dependency 'codeclimate-test-reporter', '1.0.8'
30
+ spec.add_development_dependency 'rake', '12.0.0'
31
+ spec.add_development_dependency 'rspec', '3.6.0'
32
+ spec.add_development_dependency 'simplecov', '0.11.1'
33
+ spec.add_development_dependency 'simplecov-html', '0.10.1'
31
34
  end
@@ -1,3 +1,3 @@
1
1
  module BrDanfe
2
- VERSION = "0.7.2".freeze
2
+ VERSION = '0.7.3'.freeze
3
3
  end
@@ -186,7 +186,7 @@ ET
186
186
  BT
187
187
  528.44 574.5952 Td
188
188
  /F1.0 10 Tf
189
- [<32392f31302f32303131>] TJ
189
+ [<32392f30392f32303131>] TJ
190
190
  ET
191
191
 
192
192
  493.2283 549.0709 82.7717 22.6772 re
@@ -202,7 +202,7 @@ ET
202
202
  BT
203
203
  528.44 551.918 Td
204
204
  /F1.0 10 Tf
205
- [<33302f31302f32303131>] TJ
205
+ [<33302f30392f32303131>] TJ
206
206
  ET
207
207
 
208
208
  493.2283 526.3937 82.7717 22.6772 re
@@ -218,7 +218,7 @@ ET
218
218
  BT
219
219
  538.44 529.2409 Td
220
220
  /F1.0 10 Tf
221
- [<31333a33323a3435>] TJ
221
+ [<31323a33323a3435>] TJ
222
222
  ET
223
223
 
224
224
  Q
@@ -186,7 +186,7 @@ ET
186
186
  BT
187
187
  528.44 574.5952 Td
188
188
  /F1.0 10 Tf
189
- [<32392f31302f32303131>] TJ
189
+ [<32392f30392f32303131>] TJ
190
190
  ET
191
191
 
192
192
  493.2283 549.0709 82.7717 22.6772 re
@@ -202,7 +202,7 @@ ET
202
202
  BT
203
203
  528.44 551.918 Td
204
204
  /F1.0 10 Tf
205
- [<33302f31302f32303131>] TJ
205
+ [<33302f30392f32303131>] TJ
206
206
  ET
207
207
 
208
208
  493.2283 526.3937 82.7717 22.6772 re
@@ -218,7 +218,7 @@ ET
218
218
  BT
219
219
  538.44 529.2409 Td
220
220
  /F1.0 10 Tf
221
- [<31333a33323a3435>] TJ
221
+ [<31323a33323a3435>] TJ
222
222
  ET
223
223
 
224
224
  Q
@@ -186,7 +186,7 @@ ET
186
186
  BT
187
187
  528.44 574.5952 Td
188
188
  /F1.0 10 Tf
189
- [<32392f31302f32303131>] TJ
189
+ [<32392f30392f32303131>] TJ
190
190
  ET
191
191
 
192
192
  493.2283 549.0709 82.7717 22.6772 re
@@ -202,7 +202,7 @@ ET
202
202
  BT
203
203
  528.44 551.918 Td
204
204
  /F1.0 10 Tf
205
- [<33302f31302f32303131>] TJ
205
+ [<33302f30392f32303131>] TJ
206
206
  ET
207
207
 
208
208
  493.2283 526.3937 82.7717 22.6772 re
@@ -218,7 +218,7 @@ ET
218
218
  BT
219
219
  538.44 529.2409 Td
220
220
  /F1.0 10 Tf
221
- [<31333a33323a3435>] TJ
221
+ [<31323a33323a3435>] TJ
222
222
  ET
223
223
 
224
224
  Q
@@ -62,8 +62,8 @@ describe BrDanfe::DanfeLib::Dest do
62
62
  <NFe xmlns="http://www.portalfiscal.inf.br/nfe">
63
63
  <infNFe Id="NFe25111012345678901234550020000134151000134151" versao="3.10">
64
64
  <ide>
65
- <dhEmi>2011-10-29T13:02:59+00:00</dhEmi>
66
- <dhSaiEnt>2011-10-30T12:32:45-03:00</dhSaiEnt>
65
+ <dhEmi>2011-09-29T13:02:59+00:00</dhEmi>
66
+ <dhSaiEnt>2011-09-30T12:32:45-03:00</dhSaiEnt>
67
67
  </ide>
68
68
  <dest>
69
69
  <CNPJ>82743287000880</CNPJ>
@@ -213,8 +213,8 @@ describe BrDanfe::DanfeLib::Dest do
213
213
  <NFe xmlns="http://www.portalfiscal.inf.br/nfe">
214
214
  <infNFe Id="NFe25111012345678901234550020000134151000134151" versao="3.10">
215
215
  <ide>
216
- <dhEmi>2011-10-29T13:02:59+00:00</dhEmi>
217
- <dhSaiEnt>2011-10-30T12:32:45-03:00</dhSaiEnt>
216
+ <dhEmi>2011-09-29T13:02:59+00:00</dhEmi>
217
+ <dhSaiEnt>2011-09-30T12:32:45-03:00</dhSaiEnt>
218
218
  </ide>
219
219
  <dest>
220
220
  <CNPJ>82743287000880</CNPJ>
@@ -254,8 +254,8 @@ describe BrDanfe::DanfeLib::Dest do
254
254
  <NFe xmlns="http://www.portalfiscal.inf.br/nfe">
255
255
  <infNFe Id="NFe25111012345678901234550020000134151000134151" versao="3.10">
256
256
  <ide>
257
- <dhEmi>2011-10-29T13:02:59+00:00</dhEmi>
258
- <dhSaiEnt>2011-10-30T12:32:45-03:00</dhSaiEnt>
257
+ <dhEmi>2011-09-29T13:02:59+00:00</dhEmi>
258
+ <dhSaiEnt>2011-09-30T12:32:45-03:00</dhSaiEnt>
259
259
  </ide>
260
260
  <dest>
261
261
  <CNPJ>82743287000880</CNPJ>
@@ -17,10 +17,6 @@ describe BrDanfe::DanfeLib::DetBody do
17
17
  eos
18
18
  end
19
19
 
20
- let(:products) do
21
- "#{product_1}\n#{product_2}"
22
- end
23
-
24
20
  let(:product_1) do
25
21
  <<-eos
26
22
  <det nItem="1">
metadata CHANGED
@@ -1,99 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: br_danfe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ASSEINFO
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-31 00:00:00.000000000 Z
11
+ date: 2018-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: nokogiri
14
+ name: barby
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 0.5.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 0.5.1
27
27
  - !ruby/object:Gem::Dependency
28
- name: prawn
28
+ name: br_documents
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.1.0
33
+ version: 0.0.13
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.1.0
40
+ version: 0.0.13
41
41
  - !ruby/object:Gem::Dependency
42
- name: prawn-table
42
+ name: i18n
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.2.2
47
+ version: 0.8.6
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.2.2
54
+ version: 0.8.6
55
55
  - !ruby/object:Gem::Dependency
56
- name: barby
56
+ name: nokogiri
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.5.1
61
+ version: 1.8.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.5.1
68
+ version: 1.8.1
69
69
  - !ruby/object:Gem::Dependency
70
- name: i18n
70
+ name: prawn
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 2.1.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 2.1.0
83
83
  - !ruby/object:Gem::Dependency
84
- name: br_documents
84
+ name: prawn-table
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 0.0.8
89
+ version: 0.2.2
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 0.0.8
96
+ version: 0.2.2
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: byebug
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -108,20 +108,48 @@ dependencies:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
110
  version: 3.5.1
111
+ - !ruby/object:Gem::Dependency
112
+ name: codeclimate-test-reporter
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
117
+ version: 1.0.8
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '='
123
+ - !ruby/object:Gem::Version
124
+ version: 1.0.8
125
+ - !ruby/object:Gem::Dependency
126
+ name: rake
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '='
130
+ - !ruby/object:Gem::Version
131
+ version: 12.0.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '='
137
+ - !ruby/object:Gem::Version
138
+ version: 12.0.0
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: rspec
113
141
  requirement: !ruby/object:Gem::Requirement
114
142
  requirements:
115
- - - ">="
143
+ - - '='
116
144
  - !ruby/object:Gem::Version
117
- version: 3.0.0
145
+ version: 3.6.0
118
146
  type: :development
119
147
  prerelease: false
120
148
  version_requirements: !ruby/object:Gem::Requirement
121
149
  requirements:
122
- - - ">="
150
+ - - '='
123
151
  - !ruby/object:Gem::Version
124
- version: 3.0.0
152
+ version: 3.6.0
125
153
  - !ruby/object:Gem::Dependency
126
154
  name: simplecov
127
155
  requirement: !ruby/object:Gem::Requirement
@@ -137,25 +165,26 @@ dependencies:
137
165
  - !ruby/object:Gem::Version
138
166
  version: 0.11.1
139
167
  - !ruby/object:Gem::Dependency
140
- name: codeclimate-test-reporter
168
+ name: simplecov-html
141
169
  requirement: !ruby/object:Gem::Requirement
142
170
  requirements:
143
- - - ">="
171
+ - - '='
144
172
  - !ruby/object:Gem::Version
145
- version: '0'
173
+ version: 0.10.1
146
174
  type: :development
147
175
  prerelease: false
148
176
  version_requirements: !ruby/object:Gem::Requirement
149
177
  requirements:
150
- - - ">="
178
+ - - '='
151
179
  - !ruby/object:Gem::Version
152
- version: '0'
180
+ version: 0.10.1
153
181
  description:
154
182
  email: asseinfo@asseinfo.com.br
155
183
  executables: []
156
184
  extensions: []
157
185
  extra_rdoc_files: []
158
186
  files:
187
+ - ".circleci/config.yml"
159
188
  - ".codeclimate.yml"
160
189
  - ".gitignore"
161
190
  - ".rspec"
@@ -165,7 +194,6 @@ files:
165
194
  - README.md
166
195
  - Rakefile
167
196
  - br_danfe.gemspec
168
- - circle.yml
169
197
  - config/locales/pt-BR.yml
170
198
  - docker-compose.yml
171
199
  - lib/br_danfe.rb
@@ -329,7 +357,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
329
357
  requirements:
330
358
  - - ">="
331
359
  - !ruby/object:Gem::Version
332
- version: '2.0'
360
+ version: '2.1'
333
361
  required_rubygems_version: !ruby/object:Gem::Requirement
334
362
  requirements:
335
363
  - - ">="
@@ -337,125 +365,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
337
365
  version: '0'
338
366
  requirements: []
339
367
  rubyforge_project:
340
- rubygems_version: 2.4.5.1
368
+ rubygems_version: 2.7.6
341
369
  signing_key:
342
370
  specification_version: 4
343
371
  summary: DANFE pdf generator for Brazilian invoices.
344
- test_files:
345
- - spec/features/cce_spec.rb
346
- - spec/features/danfe_spec.rb
347
- - spec/fixtures/cce/lib/barcode#render.pdf
348
- - spec/fixtures/cce/lib/correction#render.pdf
349
- - spec/fixtures/cce/lib/document#box.pdf
350
- - spec/fixtures/cce/lib/document#box.with.block.pdf
351
- - spec/fixtures/cce/lib/document#text.align.pdf
352
- - spec/fixtures/cce/lib/document#text.pad.pdf
353
- - spec/fixtures/cce/lib/document#text.simple.pdf
354
- - spec/fixtures/cce/lib/document#text.size.pdf
355
- - spec/fixtures/cce/lib/document#text.style.pdf
356
- - spec/fixtures/cce/lib/footer#render.pdf
357
- - spec/fixtures/cce/lib/header#render.pdf
358
- - spec/fixtures/cce/lib/nfe_key#render.pdf
359
- - spec/fixtures/cce/lib/protocol#render.pdf
360
- - spec/fixtures/cce/v1.00/cce.fixture.pdf
361
- - spec/fixtures/cce/v1.00/cce.xml
362
- - spec/fixtures/logo.png
363
- - spec/fixtures/nfe/lib/dest#render-v2.00.pdf
364
- - spec/fixtures/nfe/lib/dest#render-v3.10.pdf
365
- - spec/fixtures/nfe/lib/dest#render-v4.00.pdf
366
- - spec/fixtures/nfe/lib/dest#render-with-address-bigger.pdf
367
- - spec/fixtures/nfe/lib/dest#render-with_cnpj.pdf
368
- - spec/fixtures/nfe/lib/dest#render-with_cpf.pdf
369
- - spec/fixtures/nfe/lib/dest#render-with_ie.pdf
370
- - spec/fixtures/nfe/lib/dest#render-without-address-complement.pdf
371
- - spec/fixtures/nfe/lib/det_body#render-csosn.pdf
372
- - spec/fixtures/nfe/lib/det_body#render-cst.pdf
373
- - spec/fixtures/nfe/lib/det_body#render-fci.pdf
374
- - spec/fixtures/nfe/lib/det_body#render-icms_st.pdf
375
- - spec/fixtures/nfe/lib/det_body#render-quantity_with_custom_precision.pdf
376
- - spec/fixtures/nfe/lib/det_body#render-three_pages.pdf
377
- - spec/fixtures/nfe/lib/det_body#render-two_pages.pdf
378
- - spec/fixtures/nfe/lib/det_body#render-unit_price_with_custom_precision.pdf
379
- - spec/fixtures/nfe/lib/det_body#render-with_infadprod.pdf
380
- - spec/fixtures/nfe/lib/det_body#render-with_issqn.pdf
381
- - spec/fixtures/nfe/lib/det_body#render-without_issqn.pdf
382
- - spec/fixtures/nfe/lib/document#lcnpj-blank.pdf
383
- - spec/fixtures/nfe/lib/document#lcnpj-invalid.pdf
384
- - spec/fixtures/nfe/lib/document#lcnpj-valid.pdf
385
- - spec/fixtures/nfe/lib/document#lie-blank.pdf
386
- - spec/fixtures/nfe/lib/document#lie-invalid.pdf
387
- - spec/fixtures/nfe/lib/document#lie-valid.pdf
388
- - spec/fixtures/nfe/lib/dup#render.pdf
389
- - spec/fixtures/nfe/lib/emit_header#render-second_page.pdf
390
- - spec/fixtures/nfe/lib/emit_header#render-with_logo.pdf
391
- - spec/fixtures/nfe/lib/emit_header#render-without_logo.pdf
392
- - spec/fixtures/nfe/lib/icmstot#render.pdf
393
- - spec/fixtures/nfe/lib/infadic#render-difal.pdf
394
- - spec/fixtures/nfe/lib/infadic#render-extra_volume.pdf
395
- - spec/fixtures/nfe/lib/infadic#render-extra_volume_difal.pdf
396
- - spec/fixtures/nfe/lib/infadic#render-footer_information.pdf
397
- - spec/fixtures/nfe/lib/infadic#render.pdf
398
- - spec/fixtures/nfe/lib/infadic-with-street-data#render.pdf
399
- - spec/fixtures/nfe/lib/issqn#render-with_issqn.pdf
400
- - spec/fixtures/nfe/lib/issqn#render-with_one_issqn_value.pdf
401
- - spec/fixtures/nfe/lib/issqn#render-without_issqn.pdf
402
- - spec/fixtures/nfe/lib/ticket#render.pdf
403
- - spec/fixtures/nfe/lib/transp#render-modfrete_0.pdf
404
- - spec/fixtures/nfe/lib/transp#render-modfrete_1.pdf
405
- - spec/fixtures/nfe/lib/transp#render-modfrete_2.pdf
406
- - spec/fixtures/nfe/lib/transp#render-modfrete_9.pdf
407
- - spec/fixtures/nfe/lib/transp#render.pdf
408
- - spec/fixtures/nfe/lib/vol#render-blank-boxes.pdf
409
- - spec/fixtures/nfe/lib/vol#render.pdf
410
- - spec/fixtures/nfe/v2.00/custom_options.fixture.pdf
411
- - spec/fixtures/nfe/v2.00/custom_options.fixture.xml
412
- - spec/fixtures/nfe/v2.00/nfe_simples_nacional.xml
413
- - spec/fixtures/nfe/v2.00/nfe_simples_nacional.xml.fixture.pdf
414
- - spec/fixtures/nfe/v2.00/nfe_with_extra_volumes.xml
415
- - spec/fixtures/nfe/v2.00/nfe_with_extra_volumes.xml.fixture.pdf
416
- - spec/fixtures/nfe/v2.00/nfe_with_fci.xml
417
- - spec/fixtures/nfe/v2.00/nfe_with_fci.xml.fixture.pdf
418
- - spec/fixtures/nfe/v2.00/nfe_with_logo.xml
419
- - spec/fixtures/nfe/v2.00/nfe_with_ns.xml
420
- - spec/fixtures/nfe/v2.00/nfe_with_ns.xml.fixture.pdf
421
- - spec/fixtures/nfe/v2.00/nfe_without_ns.xml
422
- - spec/fixtures/nfe/v2.00/nfe_without_ns.xml.fixture.pdf
423
- - spec/fixtures/nfe/v3.10/nfe_simples_nacional.xml
424
- - spec/fixtures/nfe/v3.10/nfe_simples_nacional.xml.fixture.pdf
425
- - spec/fixtures/nfe/v3.10/with_footer.fixture.pdf
426
- - spec/fixtures/nfe/v3.10/with_footer.xml
427
- - spec/fixtures/nfe/v3.10/with_issqn.fixture.pdf
428
- - spec/fixtures/nfe/v3.10/with_issqn.xml
429
- - spec/fixtures/nfe/v3.10/with_three_pages.fixture.pdf
430
- - spec/fixtures/nfe/v3.10/with_three_pages.xml
431
- - spec/fixtures/nfe/v3.10/withot_issqn.fixture.pdf
432
- - spec/fixtures/nfe/v3.10/withot_issqn.xml
433
- - spec/lib/cce_lib/barcode_spec.rb
434
- - spec/lib/cce_lib/correction_spec.rb
435
- - spec/lib/cce_lib/document_spec.rb
436
- - spec/lib/cce_lib/footer_spec.rb
437
- - spec/lib/cce_lib/header_spec.rb
438
- - spec/lib/cce_lib/nfe_key_spec.rb
439
- - spec/lib/cce_lib/protocol_spec.rb
440
- - spec/lib/danfe_lib/cep_spec.rb
441
- - spec/lib/danfe_lib/cst_spec.rb
442
- - spec/lib/danfe_lib/dest_spec.rb
443
- - spec/lib/danfe_lib/det_body_spec.rb
444
- - spec/lib/danfe_lib/document_spec.rb
445
- - spec/lib/danfe_lib/dup_spec.rb
446
- - spec/lib/danfe_lib/emit_header_spec.rb
447
- - spec/lib/danfe_lib/helper_spec.rb
448
- - spec/lib/danfe_lib/icmstot_spec.rb
449
- - spec/lib/danfe_lib/infadic_spec.rb
450
- - spec/lib/danfe_lib/issqn_spec.rb
451
- - spec/lib/danfe_lib/logo_options_spec.rb
452
- - spec/lib/danfe_lib/options_spec.rb
453
- - spec/lib/danfe_lib/phone_spec.rb
454
- - spec/lib/danfe_lib/plate_spec.rb
455
- - spec/lib/danfe_lib/ticket_spec.rb
456
- - spec/lib/danfe_lib/transp_spec.rb
457
- - spec/lib/danfe_lib/vol_spec.rb
458
- - spec/lib/danfe_lib/xml_spec.rb
459
- - spec/lib/danfe_lib/xprod_spec.rb
460
- - spec/spec_helper.rb
461
- - spec/support/have_same_content_of.rb
372
+ test_files: []
data/circle.yml DELETED
@@ -1,5 +0,0 @@
1
- machine:
2
- timezone:
3
- America/Sao_Paulo
4
- environment:
5
- CODECLIMATE_REPO_TOKEN: d7196b5d208c110965cd943545838235668fde9bd23a755f850d3b012e93f9d1