bs2_api 1.1.0 → 1.1.1

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: 68ed1e77534b0eaefc776507d8251749815a45e958ab03860bb3680f587d966b
4
- data.tar.gz: 462fc6a165a14fd8d8c1065d7bae3dab8795b5bf0bb67e368766b1c694960766
3
+ metadata.gz: 866ff976be9cf9abe7ccabd6828f051b537269e8f55a99c6bf8064c8f1e95bd0
4
+ data.tar.gz: cc8a0b055ac239dcb0f663e7fe581d99f741103649dc59118329b21ad995dbb7
5
5
  SHA512:
6
- metadata.gz: 9a73e88ab91779a2e9f771001eb17b08e6c4e5056cbe50d4308251e27f6368ed713b571651f32fc0844d9e225fd9e8247c41a0edd6b2a88a113bcb36affcaaa1
7
- data.tar.gz: '04098a0800c1bf9324ef44494a2c2800def7fd71b14fda526c89996cd5b9016166725112d18428fd204ea18adb386bc491fac8bfb0b6573c7df95a589ac8c2dc'
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.3)
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 (6.1.4.1)
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.10)
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.3.1)
38
+ mime-types (3.4.1)
40
39
  mime-types-data (~> 3.2015)
41
- mime-types-data (3.2021.0704)
42
- minitest (5.14.4)
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.18
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bs2Api
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
5
5
  end
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.0
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-09-13 00:00:00.000000000 Z
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: []