ibandit 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +37 -0
- data/.rubocop.yml +1 -1
- data/.rubocop_todo.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile +0 -4
- data/README.md +1 -1
- data/data/german_iban_rules.yml +1096 -1573
- data/data/raw/BLZ2.txt +16028 -17888
- data/ibandit.gemspec +3 -2
- data/lib/ibandit/german_details_converter.rb +21 -0
- data/lib/ibandit/iban.rb +6 -4
- data/lib/ibandit/version.rb +1 -1
- data/spec/fixtures/germany_integration_test_cases.json +21 -21
- data/spec/fixtures/germany_unit_test_cases.json +20 -6
- data/spec/ibandit/local_details_cleaner_spec.rb +1 -1
- data/spec/ibandit/structure_spec.rb +1 -1
- metadata +21 -7
- data/.travis.yml +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a5e9e0dfb8aef084ac2db903a4fa10450974e6d730b5c0aae94d1873bcbccc9
|
4
|
+
data.tar.gz: 2aab4c1dc7adf433beaee98f5db4da072b808323036674c5d24945ec2bfd85a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3f4a86ea57a0d4e914058b5f96babf19df2b3a4eb7781c7cc091979ff549f07c6fe49bf56a75f15072ddfbd203589682d5ed6749c480802b777eaa9962cbdef
|
7
|
+
data.tar.gz: c070bb075d7489f2faeac1b9d803a184687786510397a734862ade8d9e99db251f6d82721fb7d3e95b2734db1f795b45428cd10eb8c1d0b8b19b04817cefbdc9
|
@@ -0,0 +1,37 @@
|
|
1
|
+
version: 2.1
|
2
|
+
|
3
|
+
jobs:
|
4
|
+
test:
|
5
|
+
docker:
|
6
|
+
- image: circleci/ruby:<< parameters.ruby-version >>
|
7
|
+
parameters:
|
8
|
+
ruby-version:
|
9
|
+
type: string
|
10
|
+
steps:
|
11
|
+
- checkout
|
12
|
+
- restore_cache:
|
13
|
+
keys:
|
14
|
+
- bundle-v1-<< parameters.ruby-version >>-{{ checksum "ibandit.gemspec" }}
|
15
|
+
- bundle-v1-<< parameters.ruby-version >>-
|
16
|
+
- run:
|
17
|
+
name: Install dependencies
|
18
|
+
command: bundle install --clean --no-cache --path vendor/bundle --jobs=4 --retry=3
|
19
|
+
- save_cache:
|
20
|
+
key: bundle-v1-<< parameters.ruby-version >>-{{ checksum "ibandit.gemspec" }}
|
21
|
+
paths:
|
22
|
+
- vendor/bundle
|
23
|
+
- run:
|
24
|
+
name: Run tests
|
25
|
+
command: bundle exec rspec
|
26
|
+
- run:
|
27
|
+
name: Run rubocop
|
28
|
+
command: bundle exec rubocop --parallel --extra-details --display-style-guide
|
29
|
+
|
30
|
+
workflows:
|
31
|
+
default:
|
32
|
+
jobs:
|
33
|
+
- test:
|
34
|
+
name: Ruby << matrix.ruby-version >>
|
35
|
+
matrix:
|
36
|
+
parameters:
|
37
|
+
ruby-version: ["2.4.9", "2.5.8", "2.6.6", "2.7.1"]
|
data/.rubocop.yml
CHANGED
data/.rubocop_todo.yml
CHANGED
@@ -24,7 +24,7 @@ Naming/MemoizedInstanceVariableName:
|
|
24
24
|
# Offense count: 1
|
25
25
|
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
26
26
|
# AllowedNames: io, id, to, by, on, in, at, ip, db
|
27
|
-
Naming/
|
27
|
+
Naming/MethodParameterName:
|
28
28
|
Exclude:
|
29
29
|
- 'lib/ibandit/german_details_converter.rb'
|
30
30
|
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Ibandit [](https://circleci.com/gh/gocardless/business)
|
2
2
|
=======
|
3
3
|
|
4
4
|
Ibandit is a Ruby library for manipulating and validating
|