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: '08bba67328aa1349bac050e06d5ec0f7948296939cc7d56ec765412f8f8449e3'
4
- data.tar.gz: 83e208219db70076efba71b5b92f3ed14908a35dac18951225f1f72681832f85
3
+ metadata.gz: e732c6d7af46cf6b17975478adcfc45bdfb572b8e97bdf24cb89a085b505bc71
4
+ data.tar.gz: abd64659b420eded239358187044a45de8ce27968705f5b142a9f80115616bed
5
5
  SHA512:
6
- metadata.gz: 3f1d15d310cb96034b718102457809b836abe7710f6874d3861f36ee81a5864db69898ab49862e6e3ea1a42644e1d029f420d3b4188c4df6dbce810a72c31076
7
- data.tar.gz: bf6d1ad621f446ec98d817a07ebeef72fb103f47526272e88d537afa3bb0c620701bfbe7dece5c64b6855472ee73ef70dd6d66fc45c2a64a25ed10f10193a6dd
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
- # rubocop:disable Style/RedundantRegexpEscape
9
- BANK_REGEX = %r{\A[a-zA-Z0-9\.\,\;\:\’\+\-\(\)\?\*\[\]\{\}\`\´\~\'\s\!\“#%÷=@_$£àáâäçèéêëìíîïñòóôöùúûüýßÀÁÂÄÇÈÉÊËÌÍÎÏ
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SwissBankValidator
4
- VERSION = '0.6.1'
4
+ VERSION = '1.0.0'
5
5
  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', '~> 6.0'
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.6.1
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: 2021-05-11 00:00:00.000000000 Z
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.4
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