cnab240 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cnab240/arquivo/builder.rb +1 -1
- data/lib/cnab240/version.rb +1 -1
- data/spec/hom/retorno/SB22112AIT.RET +5 -0
- data/spec/hom/retorno/SB23112AIT.RET +5 -0
- metadata +57 -63
@@ -46,7 +46,7 @@ module Cnab240
|
|
46
46
|
arquivos.last.lotes.last.trailer.read(line)
|
47
47
|
|
48
48
|
when TRAILER_ARQUIVO
|
49
|
-
|
49
|
+
# arquivos.last.trailer = Trailer.read(line)
|
50
50
|
|
51
51
|
else
|
52
52
|
raise "Invalid tipo de registro: #{line[RANGE_TIPO_REGISTRO]} at line #{line_number} \n\t Line: [#{line}]"
|
data/lib/cnab240/version.rb
CHANGED
@@ -0,0 +1,5 @@
|
|
1
|
+
34100000 080205946982000122 000191495 00663 000000001540 2REDE DE CONVENIOS DO BRASIL BANCO ITAU S/A 22211201222095600020808006250
|
2
|
+
34100011C9803080 205946982000122 00663 000000001540 2REDE DE CONVENIOS DO BRASIL RUA GETULIO VARGAS 03646 PORTO VELHO 76000000RO
|
3
|
+
3410001300001A00000000100102 000000041210 4R C DE M ALMEIDA 1 22112012BRL000000000000000000000000026235218943371000018 22112012000000000026235 83646609439442000103 0BD
|
4
|
+
34100015 000003000000000000026235000000000000000000
|
5
|
+
34199999 000001000005000000
|
@@ -0,0 +1,5 @@
|
|
1
|
+
34100000 080205946982000122 000191495 00663 000000001540 2REDE DE CONVENIOS DO BRASIL BANCO ITAU S/A 22311201202470801576908006250
|
2
|
+
34100011C9803080 205946982000122 00663 000000001540 2REDE DE CONVENIOS DO BRASIL RUA GETULIO VARGAS 03646 PORTO VELHO 76000000RO
|
3
|
+
3410001300001A00000000100102 000000041210 4R C DE M ALMEIDA 1 22112012BRL000000000000000000000000026235218943371000018 22112012000000000026235 83646609439442000103 0NA
|
4
|
+
34100015 000003000000000000026235000000000000000000
|
5
|
+
34199999 000001000005000000
|
metadata
CHANGED
@@ -1,61 +1,55 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: cnab240
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.16
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 15
|
10
|
-
version: 0.0.15
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Eduardo Mourao
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
|
-
none: false
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
hash: 3
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
version: "0"
|
31
|
-
requirement: *id001
|
32
|
-
prerelease: false
|
12
|
+
date: 2012-11-26 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
33
15
|
name: rspec
|
34
|
-
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
37
17
|
none: false
|
38
|
-
requirements:
|
39
|
-
- -
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
|
42
|
-
|
43
|
-
- 0
|
44
|
-
version: "0"
|
45
|
-
requirement: *id002
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
46
23
|
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
47
31
|
name: bindata
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
48
38
|
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
49
46
|
description: Formato CNAB 240.
|
50
|
-
email:
|
47
|
+
email:
|
51
48
|
- eduardo.a20@gmail.com
|
52
49
|
executables: []
|
53
|
-
|
54
50
|
extensions: []
|
55
|
-
|
56
51
|
extra_rdoc_files: []
|
57
|
-
|
58
|
-
files:
|
52
|
+
files:
|
59
53
|
- .gitignore
|
60
54
|
- .rspec
|
61
55
|
- .travis.yml
|
@@ -129,6 +123,8 @@ files:
|
|
129
123
|
- spec/cnab240_spec.rb
|
130
124
|
- spec/helper/pagamento_itau_spec.rb
|
131
125
|
- spec/hom/hom_spec.rb
|
126
|
+
- spec/hom/retorno/SB22112AIT.RET
|
127
|
+
- spec/hom/retorno/SB23112AIT.RET
|
132
128
|
- spec/pagamentos/v40/header_spec.rb
|
133
129
|
- spec/pagamentos/v40/lote_spec.rb
|
134
130
|
- spec/pagamentos/v40/trailer_spec.rb
|
@@ -166,41 +162,37 @@ files:
|
|
166
162
|
- spec/segmentos/v86/segmento_z_spec.rb
|
167
163
|
- spec/spec_helper.rb
|
168
164
|
- spec/tmp/.gitkeep
|
169
|
-
|
170
|
-
homepage: ""
|
165
|
+
homepage: ''
|
171
166
|
licenses: []
|
172
|
-
|
173
167
|
post_install_message:
|
174
168
|
rdoc_options: []
|
175
|
-
|
176
|
-
require_paths:
|
169
|
+
require_paths:
|
177
170
|
- lib
|
178
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
179
172
|
none: false
|
180
|
-
requirements:
|
181
|
-
- -
|
182
|
-
- !ruby/object:Gem::Version
|
183
|
-
|
184
|
-
segments:
|
173
|
+
requirements:
|
174
|
+
- - ! '>='
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: '0'
|
177
|
+
segments:
|
185
178
|
- 0
|
186
|
-
|
187
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
|
+
hash: 3275458552657372508
|
180
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
181
|
none: false
|
189
|
-
requirements:
|
190
|
-
- -
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
|
193
|
-
segments:
|
182
|
+
requirements:
|
183
|
+
- - ! '>='
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '0'
|
186
|
+
segments:
|
194
187
|
- 0
|
195
|
-
|
188
|
+
hash: 3275458552657372508
|
196
189
|
requirements: []
|
197
|
-
|
198
190
|
rubyforge_project: cnab240
|
199
|
-
rubygems_version: 1.
|
191
|
+
rubygems_version: 1.8.24
|
200
192
|
signing_key:
|
201
193
|
specification_version: 3
|
202
194
|
summary: Formato CNAB 240.
|
203
|
-
test_files:
|
195
|
+
test_files:
|
204
196
|
- spec/arquivo/arquivo_spec.rb
|
205
197
|
- spec/arquivo/v40/header_spec.rb
|
206
198
|
- spec/arquivo/v40/trailer_spec.rb
|
@@ -212,6 +204,8 @@ test_files:
|
|
212
204
|
- spec/cnab240_spec.rb
|
213
205
|
- spec/helper/pagamento_itau_spec.rb
|
214
206
|
- spec/hom/hom_spec.rb
|
207
|
+
- spec/hom/retorno/SB22112AIT.RET
|
208
|
+
- spec/hom/retorno/SB23112AIT.RET
|
215
209
|
- spec/pagamentos/v40/header_spec.rb
|
216
210
|
- spec/pagamentos/v40/lote_spec.rb
|
217
211
|
- spec/pagamentos/v40/trailer_spec.rb
|