cnab240_bancoabc 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +17 -0
- data/LICENSE +21 -0
- data/README.md +72 -0
- data/Rakefile +48 -0
- data/lib/cnab240/bancoabc/entities/base.rb +50 -0
- data/lib/cnab240/bancoabc/entities/header.rb +120 -0
- data/lib/cnab240/bancoabc/entities/header_builder.rb +91 -0
- data/lib/cnab240/bancoabc/entities/header_lote_builder.rb +84 -0
- data/lib/cnab240/bancoabc/entities/register_p.rb +183 -0
- data/lib/cnab240/bancoabc/entities/register_q.rb +101 -0
- data/lib/cnab240/bancoabc/entities/register_r.rb +129 -0
- data/lib/cnab240/bancoabc/entities/register_s.rb +73 -0
- data/lib/cnab240/bancoabc/entities/register_t.rb +116 -0
- data/lib/cnab240/bancoabc/entities/register_u.rb +79 -0
- data/lib/cnab240/bancoabc/entities/trailler.rb +54 -0
- data/lib/cnab240/bancoabc/entities/trailler_builder.rb +45 -0
- data/lib/cnab240/bancoabc/entities/trailler_lote_builder.rb +49 -0
- data/lib/cnab240/bancoabc/ocorrencias.rb +68 -0
- data/lib/cnab240/bancoabc/services/parse_line.rb +21 -0
- data/lib/cnab240/bancoabc/version.rb +14 -0
- data/lib/cnab240_bancoabc.rb +25 -0
- data/spec/cnab240/bancoabc/entities/base_spec.rb +93 -0
- data/spec/cnab240/bancoabc/entities/header_spec.rb +64 -0
- data/spec/cnab240/bancoabc/entities/register_p_spec.rb +298 -0
- data/spec/cnab240/bancoabc/entities/register_q_spec.rb +149 -0
- data/spec/cnab240/bancoabc/entities/register_r_spec.rb +191 -0
- data/spec/cnab240/bancoabc/entities/register_t_spec.rb +64 -0
- data/spec/cnab240/bancoabc/entities/register_u_spec.rb +49 -0
- data/spec/cnab240/bancoabc/entities/trailler_builder_spec.rb +60 -0
- data/spec/cnab240/bancoabc/entities/trailler_lote_builder_spec.rb +65 -0
- data/spec/cnab240/bancoabc/entities/trailler_spec.rb +73 -0
- data/spec/cnab240/bancoabc/services/parse_line_spec.rb +37 -0
- data/spec/spec_helper.rb +34 -0
- metadata +223 -0
metadata
ADDED
@@ -0,0 +1,223 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cnab240_bancoabc
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Danilo Carolino
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-02-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.2'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: fuubar
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.5'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.5'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: pry
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.14'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.14'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '13.0'
|
62
|
+
- - ">="
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '10.0'
|
65
|
+
type: :development
|
66
|
+
prerelease: false
|
67
|
+
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - "~>"
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '13.0'
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '10.0'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: rspec
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '3.10'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '3.10'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rubocop
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '1.25'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '1.25'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rubocop-packaging
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0.5'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0.5'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: rubocop-performance
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '1.13'
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '1.13'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: simplecov
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - "~>"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '0.21'
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - "~>"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0.21'
|
145
|
+
description: CNAB240 BancoABC layout library
|
146
|
+
email:
|
147
|
+
- danilo.carolino@qflash.com.br
|
148
|
+
executables: []
|
149
|
+
extensions: []
|
150
|
+
extra_rdoc_files: []
|
151
|
+
files:
|
152
|
+
- CHANGELOG.md
|
153
|
+
- LICENSE
|
154
|
+
- README.md
|
155
|
+
- Rakefile
|
156
|
+
- lib/cnab240/bancoabc/entities/base.rb
|
157
|
+
- lib/cnab240/bancoabc/entities/header.rb
|
158
|
+
- lib/cnab240/bancoabc/entities/header_builder.rb
|
159
|
+
- lib/cnab240/bancoabc/entities/header_lote_builder.rb
|
160
|
+
- lib/cnab240/bancoabc/entities/register_p.rb
|
161
|
+
- lib/cnab240/bancoabc/entities/register_q.rb
|
162
|
+
- lib/cnab240/bancoabc/entities/register_r.rb
|
163
|
+
- lib/cnab240/bancoabc/entities/register_s.rb
|
164
|
+
- lib/cnab240/bancoabc/entities/register_t.rb
|
165
|
+
- lib/cnab240/bancoabc/entities/register_u.rb
|
166
|
+
- lib/cnab240/bancoabc/entities/trailler.rb
|
167
|
+
- lib/cnab240/bancoabc/entities/trailler_builder.rb
|
168
|
+
- lib/cnab240/bancoabc/entities/trailler_lote_builder.rb
|
169
|
+
- lib/cnab240/bancoabc/ocorrencias.rb
|
170
|
+
- lib/cnab240/bancoabc/services/parse_line.rb
|
171
|
+
- lib/cnab240/bancoabc/version.rb
|
172
|
+
- lib/cnab240_bancoabc.rb
|
173
|
+
- spec/cnab240/bancoabc/entities/base_spec.rb
|
174
|
+
- spec/cnab240/bancoabc/entities/header_spec.rb
|
175
|
+
- spec/cnab240/bancoabc/entities/register_p_spec.rb
|
176
|
+
- spec/cnab240/bancoabc/entities/register_q_spec.rb
|
177
|
+
- spec/cnab240/bancoabc/entities/register_r_spec.rb
|
178
|
+
- spec/cnab240/bancoabc/entities/register_t_spec.rb
|
179
|
+
- spec/cnab240/bancoabc/entities/register_u_spec.rb
|
180
|
+
- spec/cnab240/bancoabc/entities/trailler_builder_spec.rb
|
181
|
+
- spec/cnab240/bancoabc/entities/trailler_lote_builder_spec.rb
|
182
|
+
- spec/cnab240/bancoabc/entities/trailler_spec.rb
|
183
|
+
- spec/cnab240/bancoabc/services/parse_line_spec.rb
|
184
|
+
- spec/spec_helper.rb
|
185
|
+
homepage: https://github.com/Quasar-Flash/cnab240_bancoabc
|
186
|
+
licenses:
|
187
|
+
- MIT
|
188
|
+
metadata:
|
189
|
+
changelog_uri: https://github.com/Quasar-Flash/cnab240_bancoabc/blob/master/CHANGELOG.md
|
190
|
+
source_code_uri: https://github.com/Quasar-Flash/cnab240_bancoabc
|
191
|
+
bug_tracker_uri: https://github.com/Quasar-Flash/cnab240_bancoabc/issues
|
192
|
+
post_install_message:
|
193
|
+
rdoc_options: []
|
194
|
+
require_paths:
|
195
|
+
- lib
|
196
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '2.7'
|
201
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - ">="
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
requirements: []
|
207
|
+
rubygems_version: 3.3.3
|
208
|
+
signing_key:
|
209
|
+
specification_version: 4
|
210
|
+
summary: CNAB240 BancoABC lib
|
211
|
+
test_files:
|
212
|
+
- spec/cnab240/bancoabc/entities/base_spec.rb
|
213
|
+
- spec/cnab240/bancoabc/entities/header_spec.rb
|
214
|
+
- spec/cnab240/bancoabc/entities/register_p_spec.rb
|
215
|
+
- spec/cnab240/bancoabc/entities/register_q_spec.rb
|
216
|
+
- spec/cnab240/bancoabc/entities/register_r_spec.rb
|
217
|
+
- spec/cnab240/bancoabc/entities/register_t_spec.rb
|
218
|
+
- spec/cnab240/bancoabc/entities/register_u_spec.rb
|
219
|
+
- spec/cnab240/bancoabc/entities/trailler_builder_spec.rb
|
220
|
+
- spec/cnab240/bancoabc/entities/trailler_lote_builder_spec.rb
|
221
|
+
- spec/cnab240/bancoabc/entities/trailler_spec.rb
|
222
|
+
- spec/cnab240/bancoabc/services/parse_line_spec.rb
|
223
|
+
- spec/spec_helper.rb
|