bs2_api 1.1.0 → 1.1.1
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/Gemfile.lock +7 -9
- data/lib/bs2_api/util/bank_service.rb +2 -2
- data/lib/bs2_api/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 866ff976be9cf9abe7ccabd6828f051b537269e8f55a99c6bf8064c8f1e95bd0
|
4
|
+
data.tar.gz: cc8a0b055ac239dcb0f663e7fe581d99f741103649dc59118329b21ad995dbb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31257e2378352cc08cd37684e554936d1a613afecd42bfa6c19322c981fc9776415859974da2f9823d656eea8896b25f1ed61126bd09a3c1b1ffe4c6bab0f0db
|
7
|
+
data.tar.gz: 6273ff5a29f9fd05170b7dce718cdcb2864243719667c979e3aff361542f38ade0bc94948f0ed941ce42b81995af741cade4c78aefc502c7aeaf0983b6e833c0
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bs2_api (1.0
|
4
|
+
bs2_api (1.1.0)
|
5
5
|
activesupport
|
6
6
|
builder
|
7
7
|
bundler
|
@@ -11,12 +11,11 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
activesupport (
|
14
|
+
activesupport (7.0.0)
|
15
15
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
16
|
i18n (>= 1.6, < 2)
|
17
17
|
minitest (>= 5.1)
|
18
18
|
tzinfo (~> 2.0)
|
19
|
-
zeitwerk (~> 2.3)
|
20
19
|
addressable (2.7.0)
|
21
20
|
public_suffix (>= 2.0.2, < 5.0)
|
22
21
|
builder (3.2.4)
|
@@ -31,15 +30,15 @@ GEM
|
|
31
30
|
httparty (0.18.1)
|
32
31
|
mime-types (~> 3.0)
|
33
32
|
multi_xml (>= 0.5.2)
|
34
|
-
i18n (1.8.
|
33
|
+
i18n (1.8.11)
|
35
34
|
concurrent-ruby (~> 1.0)
|
36
35
|
macaddr (1.7.2)
|
37
36
|
systemu (~> 2.6.5)
|
38
37
|
method_source (1.0.0)
|
39
|
-
mime-types (3.
|
38
|
+
mime-types (3.4.1)
|
40
39
|
mime-types-data (~> 3.2015)
|
41
|
-
mime-types-data (3.2021.
|
42
|
-
minitest (5.
|
40
|
+
mime-types-data (3.2021.1115)
|
41
|
+
minitest (5.15.0)
|
43
42
|
multi_xml (0.6.0)
|
44
43
|
pry (0.13.1)
|
45
44
|
coderay (~> 1.1)
|
@@ -73,7 +72,6 @@ GEM
|
|
73
72
|
addressable (>= 2.3.6)
|
74
73
|
crack (>= 0.3.2)
|
75
74
|
hashdiff (>= 0.4.0, < 2.0.0)
|
76
|
-
zeitwerk (2.4.2)
|
77
75
|
|
78
76
|
PLATFORMS
|
79
77
|
ruby
|
@@ -89,4 +87,4 @@ DEPENDENCIES
|
|
89
87
|
webmock (~> 3.13)
|
90
88
|
|
91
89
|
BUNDLED WITH
|
92
|
-
2.2.
|
90
|
+
2.2.31
|
@@ -7,7 +7,7 @@ module Bs2Api
|
|
7
7
|
class BankService
|
8
8
|
class << self
|
9
9
|
def find_by_code code
|
10
|
-
bank = bank_list.find {|b| b["code"] == code }
|
10
|
+
bank = bank_list.find {|b| b["code"].to_s == code.to_s }
|
11
11
|
raise Bs2Api::Errors::MissingBank, "Bank with code #{code} not registered into util/banks.yml file" if bank.blank?
|
12
12
|
bank
|
13
13
|
end
|
@@ -18,4 +18,4 @@ module Bs2Api
|
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
21
|
-
end
|
21
|
+
end
|
data/lib/bs2_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bs2_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kim Pastro
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|
@@ -232,7 +232,7 @@ metadata:
|
|
232
232
|
homepage_uri: https://github.com/latamgateway/bs2_api
|
233
233
|
source_code_uri: https://github.com/latamgateway/bs2_api
|
234
234
|
changelog_uri: https://github.com/latamgateway/bs2_api/blob/main/CHANGELOG.md
|
235
|
-
post_install_message:
|
235
|
+
post_install_message:
|
236
236
|
rdoc_options: []
|
237
237
|
require_paths:
|
238
238
|
- lib
|
@@ -251,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
251
251
|
version: '0'
|
252
252
|
requirements: []
|
253
253
|
rubygems_version: 3.1.4
|
254
|
-
signing_key:
|
254
|
+
signing_key:
|
255
255
|
specification_version: 4
|
256
256
|
summary: Integração com a API do BS2
|
257
257
|
test_files: []
|