swiss_bank_validator 0.6.1 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08bba67328aa1349bac050e06d5ec0f7948296939cc7d56ec765412f8f8449e3'
4
- data.tar.gz: 83e208219db70076efba71b5b92f3ed14908a35dac18951225f1f72681832f85
3
+ metadata.gz: '08e7b858c6c5456461922261471e0635f8716d9a5ce42e663b0c268201ce4f18'
4
+ data.tar.gz: 55a2e52618ed95f9504ac0c328053ecb8c22658da18996e3a705b1c6e5eed569
5
5
  SHA512:
6
- metadata.gz: 3f1d15d310cb96034b718102457809b836abe7710f6874d3861f36ee81a5864db69898ab49862e6e3ea1a42644e1d029f420d3b4188c4df6dbce810a72c31076
7
- data.tar.gz: bf6d1ad621f446ec98d817a07ebeef72fb103f47526272e88d537afa3bb0c620701bfbe7dece5c64b6855472ee73ef70dd6d66fc45c2a64a25ed10f10193a6dd
6
+ metadata.gz: 62332ceef1b371ed7cb27ae81192a7fd16892561f32c32d9ca817bb9861362961f525d1c8b7b72936536dd080988f8c23b286a96aad7c5ee4e9a475db9cb6a9c
7
+ data.tar.gz: f0800de414ca9e8ce5ece205789046ea4c1ba8bddd786090450a61e1e2576c9ef19a5764288e201c55dffe65a0a83815c9dd8463903e0917de4c6bb3df61ae94
data/Gemfile.lock CHANGED
@@ -1,27 +1,37 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- swiss_bank_validator (0.6.1)
5
- activemodel (~> 6.0)
4
+ swiss_bank_validator (0.6.2)
5
+ activemodel (>= 6.1.7.6)
6
6
  rexml (~> 3.2.5)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (6.1.3.2)
12
- activesupport (= 6.1.3.2)
13
- activesupport (6.1.3.2)
11
+ activemodel (7.1.2)
12
+ activesupport (= 7.1.2)
13
+ activesupport (7.1.2)
14
+ base64
15
+ bigdecimal
14
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ connection_pool (>= 2.2.5)
18
+ drb
15
19
  i18n (>= 1.6, < 2)
16
20
  minitest (>= 5.1)
21
+ mutex_m
17
22
  tzinfo (~> 2.0)
18
- zeitwerk (~> 2.3)
19
23
  ast (2.4.1)
20
- concurrent-ruby (1.1.8)
24
+ base64 (0.1.1)
25
+ bigdecimal (3.1.5)
26
+ concurrent-ruby (1.2.2)
27
+ connection_pool (2.4.1)
21
28
  diff-lcs (1.4.4)
22
- i18n (1.8.10)
29
+ drb (2.2.0)
30
+ ruby2_keywords
31
+ i18n (1.14.1)
23
32
  concurrent-ruby (~> 1.0)
24
- minitest (5.14.4)
33
+ minitest (5.20.0)
34
+ mutex_m (0.2.0)
25
35
  parallel (1.20.1)
26
36
  parser (2.7.2.0)
27
37
  ast (~> 2.4.1)
@@ -54,10 +64,10 @@ GEM
54
64
  rubocop-ast (1.3.0)
55
65
  parser (>= 2.7.1.5)
56
66
  ruby-progressbar (1.10.1)
57
- tzinfo (2.0.4)
67
+ ruby2_keywords (0.0.5)
68
+ tzinfo (2.0.6)
58
69
  concurrent-ruby (~> 1.0)
59
70
  unicode-display_width (1.7.0)
60
- zeitwerk (2.4.2)
61
71
 
62
72
  PLATFORMS
63
73
  ruby
data/changelog.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.6.2]
9
+
10
+ - Update ActiveSupport to fix multiple CVE
11
+
8
12
  ## [0.6.1]
9
13
 
10
14
  - Fix Rexml vulnerabilities
@@ -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 = '0.6.2'
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.1.7.6'
31
31
  spec.add_dependency 'rexml', '~> 3.2.5'
32
32
 
33
33
  spec.add_development_dependency 'rspec', '~> 3.0'
metadata CHANGED
@@ -1,29 +1,29 @@
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: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - QoQa dev Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-11 00:00:00.000000000 Z
11
+ date: 2024-01-09 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
- version: '6.0'
19
+ version: 6.1.7.6
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
- version: '6.0'
26
+ version: 6.1.7.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rexml
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -66,7 +66,7 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.5'
69
- description:
69
+ description:
70
70
  email:
71
71
  - dev@qoqa.com
72
72
  executables: []
@@ -102,7 +102,7 @@ metadata:
102
102
  homepage_uri: https://github.com/qoqa/swiss_bank_validator
103
103
  source_code_uri: https://github.com/qoqa/swiss_bank_validator
104
104
  changelog_uri: https://github.com/qoqa/swiss_bank_validator/main/changelog.md
105
- post_install_message:
105
+ post_install_message:
106
106
  rdoc_options: []
107
107
  require_paths:
108
108
  - lib
@@ -117,8 +117,8 @@ 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
121
- signing_key:
120
+ rubygems_version: 3.4.10
121
+ signing_key:
122
122
  specification_version: 4
123
123
  summary: All you need to validate a Swiss Iban
124
124
  test_files: []