swiss_bank_validator 0.6.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e732c6d7af46cf6b17975478adcfc45bdfb572b8e97bdf24cb89a085b505bc71
|
4
|
+
data.tar.gz: abd64659b420eded239358187044a45de8ce27968705f5b142a9f80115616bed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46c8f70ecc5a87afad4cc1d3732f9fffa65e842469e489c203d968a947c4d974610b36a34cba4c2bfbf2535e15660c225963a0246f2aac7ca747fc9bf6130684
|
7
|
+
data.tar.gz: e6866ccc50eab3f193efc7f0fe8ee6ced05ec982c643f55b4108385ca52ecb41a995ebb5bb625dc9c5d90480d0d29b316a9e3bef5e6b3ae985755c71fd64e425
|
@@ -5,8 +5,6 @@ module SwissBankValidator
|
|
5
5
|
IBAN_LENGTH = 21
|
6
6
|
|
7
7
|
# Regex that allow only field accepted by Swiss bank to initiate a payment
|
8
|
-
|
9
|
-
|
10
|
-
ÒÓÔÖÙÚÛÜÑ]*\z}.freeze
|
11
|
-
# rubocop:enable Style/RedundantRegexpEscape
|
8
|
+
BANK_REGEX = %r{\A[a-zA-Z0-9.,;:’+\-()?*\[\]{}`´~'\s!“#%÷=@_$£
|
9
|
+
àáâäçèéêëìíîïñòóôöùúûüýßÀÁÂÄÇÈÉÊËÌÍÎÏÒÓÔÖÙÚÛÜÑ]*\z}x.freeze
|
12
10
|
end
|
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
28
|
spec.require_paths = ['lib']
|
29
29
|
|
30
|
-
spec.add_dependency 'activemodel', '
|
30
|
+
spec.add_dependency 'activemodel', '>= 6.0'
|
31
31
|
spec.add_dependency 'rexml', '~> 3.2.5'
|
32
32
|
|
33
33
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swiss_bank_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- QoQa dev Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '6.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '6.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '0'
|
119
119
|
requirements: []
|
120
|
-
rubygems_version: 3.1.
|
120
|
+
rubygems_version: 3.1.2
|
121
121
|
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: All you need to validate a Swiss Iban
|