eba 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/eba/bcb.rb +2 -6
  3. data/lib/eba/version.rb +4 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd633dc290d44d1d0e00c67f8433e978b56b4751
4
- data.tar.gz: a90dc4745ef578231708f2b0c992c5df43a42458
3
+ metadata.gz: 9139840c48d380ebc7f4bd5eb6b85a67e4ddfa2f
4
+ data.tar.gz: 390f470ad98f6b9c505e6987d8bd4f0412966541
5
5
  SHA512:
6
- metadata.gz: 1bc70d65a3047a0ed8ffe84de82f9c04bc668b0fb44e0d17f4375df2f648a50b24d1c7bc28f048391abc95be86cd4097b01af4a9c8e048b3a7f9ffea297911e2
7
- data.tar.gz: ab7150d4118ea9f3dd05d6bb6444bcd1d5b33d61fdeb704aed52eef8cb89bd228fc6108d5b2e20593af5415dfa2b2f0901860143dbd076fc372ab48a5303da7c
6
+ metadata.gz: cd9bff1a14300d59f1de9631353710ba86b3a12ee2b9bd9f5dd7c6fc8b39fae50daeea998d5f5c573361eed7e4c00b57eeead6e5684153447e6adcf5529259d5
7
+ data.tar.gz: c2e8642c495dcf63e6b6b85a098f785b8a77e42f111595e948c4e20c5a9224ea7b0e790eb70c4b91baafa3a49162aba99b6821b2d119644f531bb4a0f1b8e969
@@ -12,24 +12,20 @@ class BCB < Helper
12
12
  # The certificate you are looking for is located in this webpage: #
13
13
  # https://www.bcb.gov.br/estabilidadefinanceira/certificacaodigital #
14
14
  # #
15
- # You MUST supply both the file 'bcb.gov.br (... - year)' file as the certificate AND the #
16
- # 'Cadeia de CAs de *.bcb.gov.br (validação estendida - 2018)' file as the CA. #
15
+ # You MUST supply 'Cadeia de CAs de *.bcb.gov.br (validação estendida - 2018)' file as the CA. #
17
16
  # #
18
17
  # With all this done, you will be able to access freely this #
19
18
  # service, without much hassle. Don't forget to upvote such an useful answer. #
20
19
  # #
21
20
  ################################################################################################
22
21
 
23
- def initialize(path_to_certificate, path_to_ca_certificate)
24
- @cert = path_to_certificate
22
+ def initialize(path_to_ca_certificate)
25
23
  @ca = path_to_ca_certificate
26
-
27
24
  connect_to_service()
28
25
  end
29
26
 
30
27
  def connect_to_service()
31
28
  @service = Savon.client({wsdl: "https://www3.bcb.gov.br/wssgs/services/FachadaWSSGS?wsdl",
32
- ssl_cert_file: @cert,
33
29
  ssl_ca_cert_file: @ca,
34
30
  headers: {'Accept-Encoding' => 'gzip, deflate'}})
35
31
  end
@@ -5,7 +5,7 @@ module Eba
5
5
  # ff - commits on feature
6
6
  # hh - commits on hotfix
7
7
 
8
- VERSION = "2.0.0"
8
+ VERSION = "2.0.1"
9
9
 
10
10
  #Version 1.0.1
11
11
  #
@@ -86,4 +86,7 @@ module Eba
86
86
 
87
87
  #Version 2.0.0
88
88
  # Changes which files are used for authentication and how they are supplied to BCB class.
89
+
90
+ #Version 2.0.1
91
+ # Removes useless certificate and supplies only CA.
89
92
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eba
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael Campos Cruz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-30 00:00:00.000000000 Z
11
+ date: 2019-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement