ibandit 1.7.1 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +6 -1
- data/bin/build_structure_file.rb +3 -2
- data/ibandit.gemspec +2 -2
- data/lib/ibandit/version.rb +1 -1
- data/lib/ibandit.rb +3 -2
- data/spec/ibandit/structure_spec.rb +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08226e85893b75b353a9a6de43cbf9b91101fdbde782f075f99e5e79cf215610'
|
4
|
+
data.tar.gz: 28f725e3bc6f3f9137e22bb25706d4a2a1134c5d5dabb1a71d64d14f2c45df49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d14ccc4c5f1942bccea74ed0fdcb3b6e6d4a27caab8176bcbc4ef3dafe37f56480f5f690aa0ef5d14ebbeeb751b3e8eba26c12ca38baa0219a9dd9e7061b602
|
7
|
+
data.tar.gz: ce6011161b74a0ea546aa6059873df86233400dbea058a22dd063abe7fb56fa96eb418b924b12f7fad7404ad5e870cbdc0b198eb88f403434e10f96cf5b019fd
|
data/.circleci/config.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0
|
1
|
+
3.1.0
|
data/CHANGELOG.md
CHANGED
data/bin/build_structure_file.rb
CHANGED
@@ -153,8 +153,9 @@ if __FILE__ == $PROGRAM_NAME
|
|
153
153
|
iban_registry_file,
|
154
154
|
)
|
155
155
|
|
156
|
-
structure_additions = YAML.
|
157
|
-
|
156
|
+
structure_additions = YAML.safe_load(
|
157
|
+
Pathname.new(__dir__).join("../data/raw/structure_additions.yml").read,
|
158
|
+
permitted_classes: [Range, Symbol],
|
158
159
|
)
|
159
160
|
|
160
161
|
complete_structures = merge_structures(iban_structures, structure_additions)
|
data/ibandit.gemspec
CHANGED
@@ -3,13 +3,13 @@
|
|
3
3
|
require File.expand_path("lib/ibandit/version", __dir__)
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
|
-
gem.add_development_dependency "gc_ruboconfig", "~> 2.
|
6
|
+
gem.add_development_dependency "gc_ruboconfig", "~> 2.30.0"
|
7
7
|
gem.add_development_dependency "nokogiri", "~> 1.6"
|
8
8
|
gem.add_development_dependency "pry", "~> 0.13"
|
9
9
|
gem.add_development_dependency "pry-byebug", "~> 3.9"
|
10
10
|
gem.add_development_dependency "rspec", "~> 3.3"
|
11
11
|
gem.add_development_dependency "rspec-its", "~> 1.2"
|
12
|
-
gem.add_development_dependency "rspec_junit_formatter", "~> 0.
|
12
|
+
gem.add_development_dependency "rspec_junit_formatter", "~> 0.5.0"
|
13
13
|
gem.add_development_dependency "sax-machine", "~> 1.3"
|
14
14
|
|
15
15
|
gem.add_runtime_dependency "i18n"
|
data/lib/ibandit/version.rb
CHANGED
data/lib/ibandit.rb
CHANGED
@@ -30,8 +30,9 @@ module Ibandit
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def structures
|
33
|
-
@structures ||= YAML.
|
34
|
-
|
33
|
+
@structures ||= YAML.safe_load(
|
34
|
+
Pathname.new(__dir__).join("../data/structures.yml").read,
|
35
|
+
permitted_classes: [Range, Symbol],
|
35
36
|
)
|
36
37
|
end
|
37
38
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
require "spec_helper"
|
4
4
|
|
5
5
|
describe "structures.yml" do
|
6
|
-
structure_file =
|
7
|
-
structures = YAML.
|
6
|
+
structure_file = Pathname.new(__dir__).join("../../data/structures.yml").read
|
7
|
+
structures = YAML.safe_load(structure_file, permitted_classes: [Range, Symbol])
|
8
8
|
|
9
9
|
structures.each do |country, rules|
|
10
10
|
context country do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibandit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GoCardless
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gc_ruboconfig
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.30.0
|
20
20
|
type: :development
|
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: 2.
|
26
|
+
version: 2.30.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: nokogiri
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.
|
103
|
+
version: 0.5.0
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
110
|
+
version: 0.5.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: sax-machine
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
226
|
- !ruby/object:Gem::Version
|
227
227
|
version: '0'
|
228
228
|
requirements: []
|
229
|
-
rubygems_version: 3.
|
229
|
+
rubygems_version: 3.3.3
|
230
230
|
signing_key:
|
231
231
|
specification_version: 4
|
232
232
|
summary: Convert national banking details into IBANs, and vice-versa.
|