norma43_parser 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/.github/workflows/release.yml +33 -0
- data/.rspec +1 -0
- data/CHANGELOG.md +19 -17
- data/Gemfile +2 -2
- data/Gemfile.lock +51 -50
- data/README.md +2 -0
- data/lib/norma43/models/account/spanish_iban.rb +107 -0
- data/lib/norma43/models/account.rb +63 -0
- data/lib/norma43/models/additional_currency.rb +22 -0
- data/lib/norma43/models/additional_item.rb +20 -0
- data/lib/norma43/models/document.rb +42 -0
- data/lib/norma43/models/mixins/attributes_assignment.rb +33 -0
- data/lib/norma43/models/transaction.rb +51 -0
- data/lib/norma43/models.rb +0 -78
- data/lib/norma43/version.rb +1 -1
- data/norma43_parser.gemspec +3 -4
- data/spec/example1_parse_spec.rb +1 -1
- data/spec/norma43/line_processors/account_end_spec.rb +1 -4
- data/spec/norma43/line_processors/account_start_spec.rb +3 -3
- data/spec/norma43/line_processors/additional_currency_spec.rb +3 -3
- data/spec/norma43/line_processors/{additional_items_spec.rb → additional_item_spec.rb} +3 -3
- data/spec/norma43/line_processors/document_end_spec.rb +3 -6
- data/spec/norma43/line_processors/document_start_spec.rb +3 -3
- data/spec/norma43/line_processors/transaction_spec.rb +3 -3
- data/spec/norma43/models/account/spanish_iban_spec.rb +107 -0
- data/spec/norma43/models/account_spec.rb +54 -0
- data/spec/norma43/models/document_spec.rb +35 -0
- data/spec/norma43/models/transaction_spec.rb +25 -0
- data/spec/norma43_spec.rb +1 -1
- data/spec/spec_helper.rb +3 -0
- data/spec/support/shared_examples_for_models.rb +61 -0
- metadata +31 -26
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: norma43_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sequra engineering
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: virtus
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: zeitwerk
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,15 +44,15 @@ dependencies:
|
|
58
44
|
requirements:
|
59
45
|
- - "~>"
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
47
|
+
version: '3.9'
|
62
48
|
type: :development
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
52
|
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
69
|
-
description:
|
54
|
+
version: '3.9'
|
55
|
+
description:
|
70
56
|
email:
|
71
57
|
- dev@sequra.es
|
72
58
|
executables: []
|
@@ -76,6 +62,8 @@ files:
|
|
76
62
|
- ".github/ISSUE_TEMPLATE.md"
|
77
63
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
78
64
|
- ".github/workflows/ci.yml"
|
65
|
+
- ".github/workflows/release.yml"
|
66
|
+
- ".rspec"
|
79
67
|
- ".rubocop.yml"
|
80
68
|
- CHANGELOG.md
|
81
69
|
- Gemfile
|
@@ -98,6 +86,13 @@ files:
|
|
98
86
|
- lib/norma43/line_parsers/transaction.rb
|
99
87
|
- lib/norma43/line_processors.rb
|
100
88
|
- lib/norma43/models.rb
|
89
|
+
- lib/norma43/models/account.rb
|
90
|
+
- lib/norma43/models/account/spanish_iban.rb
|
91
|
+
- lib/norma43/models/additional_currency.rb
|
92
|
+
- lib/norma43/models/additional_item.rb
|
93
|
+
- lib/norma43/models/document.rb
|
94
|
+
- lib/norma43/models/mixins/attributes_assignment.rb
|
95
|
+
- lib/norma43/models/transaction.rb
|
101
96
|
- lib/norma43/parser.rb
|
102
97
|
- lib/norma43/utils/contexts.rb
|
103
98
|
- lib/norma43/utils/string_helpers.rb
|
@@ -116,19 +111,24 @@ files:
|
|
116
111
|
- spec/norma43/line_processors/account_end_spec.rb
|
117
112
|
- spec/norma43/line_processors/account_start_spec.rb
|
118
113
|
- spec/norma43/line_processors/additional_currency_spec.rb
|
119
|
-
- spec/norma43/line_processors/
|
114
|
+
- spec/norma43/line_processors/additional_item_spec.rb
|
120
115
|
- spec/norma43/line_processors/document_end_spec.rb
|
121
116
|
- spec/norma43/line_processors/document_start_spec.rb
|
122
117
|
- spec/norma43/line_processors/transaction_spec.rb
|
118
|
+
- spec/norma43/models/account/spanish_iban_spec.rb
|
119
|
+
- spec/norma43/models/account_spec.rb
|
120
|
+
- spec/norma43/models/document_spec.rb
|
121
|
+
- spec/norma43/models/transaction_spec.rb
|
123
122
|
- spec/norma43/parser_spec.rb
|
124
123
|
- spec/norma43_spec.rb
|
125
124
|
- spec/spec_helper.rb
|
125
|
+
- spec/support/shared_examples_for_models.rb
|
126
126
|
- spec/support/shared_examples_for_values_line_parsers.rb
|
127
127
|
homepage: https://github.com/sequra/norma43_parser
|
128
128
|
licenses:
|
129
129
|
- MIT
|
130
130
|
metadata: {}
|
131
|
-
post_install_message:
|
131
|
+
post_install_message:
|
132
132
|
rdoc_options: []
|
133
133
|
require_paths:
|
134
134
|
- lib
|
@@ -136,15 +136,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
136
136
|
requirements:
|
137
137
|
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: '
|
139
|
+
version: '3.0'
|
140
140
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
142
|
- - ">="
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
|
-
rubygems_version: 3.
|
147
|
-
signing_key:
|
146
|
+
rubygems_version: 3.4.19
|
147
|
+
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Parses banks transactions files specified in rule 43
|
150
150
|
test_files:
|
@@ -160,11 +160,16 @@ test_files:
|
|
160
160
|
- spec/norma43/line_processors/account_end_spec.rb
|
161
161
|
- spec/norma43/line_processors/account_start_spec.rb
|
162
162
|
- spec/norma43/line_processors/additional_currency_spec.rb
|
163
|
-
- spec/norma43/line_processors/
|
163
|
+
- spec/norma43/line_processors/additional_item_spec.rb
|
164
164
|
- spec/norma43/line_processors/document_end_spec.rb
|
165
165
|
- spec/norma43/line_processors/document_start_spec.rb
|
166
166
|
- spec/norma43/line_processors/transaction_spec.rb
|
167
|
+
- spec/norma43/models/account/spanish_iban_spec.rb
|
168
|
+
- spec/norma43/models/account_spec.rb
|
169
|
+
- spec/norma43/models/document_spec.rb
|
170
|
+
- spec/norma43/models/transaction_spec.rb
|
167
171
|
- spec/norma43/parser_spec.rb
|
168
172
|
- spec/norma43_spec.rb
|
169
173
|
- spec/spec_helper.rb
|
174
|
+
- spec/support/shared_examples_for_models.rb
|
170
175
|
- spec/support/shared_examples_for_values_line_parsers.rb
|