ibancom 0.0.7 → 0.0.10

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: '09af741fc42baf5ed49ad7d1710af241682882a2bbaf556ca98172c21b738857'
4
- data.tar.gz: 2e96e8d450bbbaf52ab45b8cce6cf5c89d3c106a9a27f8445705ba19c8a97e73
3
+ metadata.gz: db212a5427dbb25699bbdec0aac5cd33031d6ae19ba4b3be96e5e2408090fffe
4
+ data.tar.gz: 527d056deb38d7c42cd8124a8e0dfa5fc67931057bb96cc5128feff794b1ca41
5
5
  SHA512:
6
- metadata.gz: 4098f2cd5b90cecc0e4f14da65e1c1eec5921cd374dc06f6203339d6c3634aa051bc0ba382c71fc8c4862065bac838fba1cc94293b32f123f163caaaae391505
7
- data.tar.gz: 15e1aca22545a8fafb9f7f65c845514b2b1dd95ad2b21777f56d2f0f8ca0852bb4383f3a95477c37f04812dd5af04899623611ad9fe34785addba7a4a3aef12a
6
+ metadata.gz: b098efd3c946d7adfe126bda574ba28361a61fec806f34ab18ce641705fd6b38260a9f963a016f2bcdf7bec55240a8b581a8f6b1a784913ea2f3224335bdf4d4
7
+ data.tar.gz: af899cab00d8c47782447a3d4004a4f7a8e9c2f690027c8fc9f41a70236782ae03e11b0b31d9d7e8dfe4f239be3abfe281df73d3b4ec030d57a4e0e4311c2dec
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ibancom (0.0.7)
4
+ ibancom (0.0.10)
5
5
  faraday (>= 0.15)
6
6
 
7
7
  GEM
@@ -14,10 +14,10 @@ GEM
14
14
  crack (0.4.5)
15
15
  rexml
16
16
  diff-lcs (1.5.0)
17
- faraday (2.5.2)
17
+ faraday (2.7.4)
18
18
  faraday-net_http (>= 2.0, < 3.1)
19
19
  ruby2_keywords (>= 0.0.4)
20
- faraday-net_http (3.0.0)
20
+ faraday-net_http (3.0.2)
21
21
  ffi (1.15.5)
22
22
  formatador (1.1.0)
23
23
  guard (2.18.0)
@@ -35,8 +35,8 @@ GEM
35
35
  guard-compat (~> 1.1)
36
36
  rspec (>= 2.99.0, < 4.0)
37
37
  hashdiff (1.0.1)
38
- json (2.6.2)
39
- listen (3.7.1)
38
+ json (2.6.3)
39
+ listen (3.8.0)
40
40
  rb-fsevent (~> 0.10, >= 0.10.3)
41
41
  rb-inotify (~> 0.9, >= 0.9.10)
42
42
  lumberjack (1.2.8)
@@ -46,57 +46,60 @@ GEM
46
46
  nenv (~> 0.1)
47
47
  shellany (~> 0.0)
48
48
  parallel (1.22.1)
49
- parser (3.1.2.1)
49
+ parser (3.2.1.1)
50
50
  ast (~> 2.4.1)
51
- pry (0.14.1)
51
+ pry (0.14.2)
52
52
  coderay (~> 1.1)
53
53
  method_source (~> 1.0)
54
- public_suffix (5.0.0)
54
+ public_suffix (5.0.1)
55
55
  rainbow (3.1.1)
56
56
  rake (12.3.3)
57
- rb-fsevent (0.11.1)
57
+ rb-fsevent (0.11.2)
58
58
  rb-inotify (0.10.1)
59
59
  ffi (~> 1.0)
60
- regexp_parser (2.5.0)
60
+ regexp_parser (2.7.0)
61
61
  rexml (3.2.5)
62
- rspec (3.11.0)
63
- rspec-core (~> 3.11.0)
64
- rspec-expectations (~> 3.11.0)
65
- rspec-mocks (~> 3.11.0)
66
- rspec-core (3.11.0)
67
- rspec-support (~> 3.11.0)
68
- rspec-expectations (3.11.0)
62
+ rspec (3.12.0)
63
+ rspec-core (~> 3.12.0)
64
+ rspec-expectations (~> 3.12.0)
65
+ rspec-mocks (~> 3.12.0)
66
+ rspec-core (3.12.1)
67
+ rspec-support (~> 3.12.0)
68
+ rspec-expectations (3.12.2)
69
69
  diff-lcs (>= 1.2.0, < 2.0)
70
- rspec-support (~> 3.11.0)
71
- rspec-mocks (3.11.1)
70
+ rspec-support (~> 3.12.0)
71
+ rspec-mocks (3.12.4)
72
72
  diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.11.0)
74
- rspec-support (3.11.0)
75
- rubocop (1.35.1)
73
+ rspec-support (~> 3.12.0)
74
+ rspec-support (3.12.0)
75
+ rubocop (1.48.1)
76
76
  json (~> 2.3)
77
77
  parallel (~> 1.10)
78
- parser (>= 3.1.2.1)
78
+ parser (>= 3.2.0.0)
79
79
  rainbow (>= 2.2.2, < 4.0)
80
80
  regexp_parser (>= 1.8, < 3.0)
81
81
  rexml (>= 3.2.5, < 4.0)
82
- rubocop-ast (>= 1.20.1, < 2.0)
82
+ rubocop-ast (>= 1.26.0, < 2.0)
83
83
  ruby-progressbar (~> 1.7)
84
- unicode-display_width (>= 1.4.0, < 3.0)
85
- rubocop-ast (1.21.0)
86
- parser (>= 3.1.1.0)
87
- rubocop-performance (1.14.2)
84
+ unicode-display_width (>= 2.4.0, < 3.0)
85
+ rubocop-ast (1.27.0)
86
+ parser (>= 3.2.1.0)
87
+ rubocop-capybara (2.17.1)
88
+ rubocop (~> 1.41)
89
+ rubocop-performance (1.16.0)
88
90
  rubocop (>= 1.7.0, < 2.0)
89
91
  rubocop-ast (>= 0.4.0)
90
92
  rubocop-rake (0.6.0)
91
93
  rubocop (~> 1.0)
92
- rubocop-rspec (2.11.1)
93
- rubocop (~> 1.19)
94
- ruby-progressbar (1.11.0)
94
+ rubocop-rspec (2.19.0)
95
+ rubocop (~> 1.33)
96
+ rubocop-capybara (~> 2.17)
97
+ ruby-progressbar (1.13.0)
95
98
  ruby2_keywords (0.0.5)
96
99
  shellany (0.0.1)
97
- test-prof (1.0.9)
100
+ test-prof (1.2.1)
98
101
  thor (1.2.1)
99
- unicode-display_width (2.2.0)
102
+ unicode-display_width (2.4.2)
100
103
  webmock (3.18.1)
101
104
  addressable (>= 2.8.0)
102
105
  crack (>= 0.3.2)
@@ -119,4 +122,4 @@ DEPENDENCIES
119
122
  webmock (~> 3.0)
120
123
 
121
124
  BUNDLED WITH
122
- 2.3.3
125
+ 2.4.1
@@ -8,6 +8,7 @@ module Ibancom
8
8
  "001" => "IBAN Check digit is correct",
9
9
  "002" => "Account Number check digit is correct",
10
10
  "003" => "IBAN Length is correct",
11
+ "004" => "Account Number check digit is not performed for this bank or branch",
11
12
  "005" => "IBAN structure is correct",
12
13
  "006" => "IBAN does not contain illegal characters",
13
14
  "007" => "Country supports IBAN standard",
@@ -29,7 +29,10 @@ module Ibancom
29
29
 
30
30
  def supported_scheme?(code)
31
31
  scheme = supported_schemes.find { |supported| supported.code == code }
32
- scheme&.supported?
32
+
33
+ return false if scheme.nil?
34
+
35
+ scheme.supported?
33
36
  end
34
37
  end
35
38
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ibancom
4
- VERSION = "0.0.7"
4
+ VERSION = "0.0.10"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibancom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aitor García Rey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-26 00:00:00.000000000 Z
11
+ date: 2023-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -222,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
222
  - !ruby/object:Gem::Version
223
223
  version: '0'
224
224
  requirements: []
225
- rubygems_version: 3.3.7
225
+ rubygems_version: 3.4.10
226
226
  signing_key:
227
227
  specification_version: 4
228
228
  summary: Ruby client for iban.com APIs