blackstack-core 1.2.30 → 1.2.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/functions.rb +3 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6319585aa6afd55c363b5b7e59acc4afe407a741d22306831b3c5cef48724c76
4
- data.tar.gz: 2d7e134595693737c9beb9cfabaf05ac502a7631a79bafbbb5b60ae03cd90512
3
+ metadata.gz: fca9a409ddf81878f9b34d9abf346b2a289aca42fcf87a3c32d6de4eb41e04fb
4
+ data.tar.gz: ee034ca3f82310975c66e44c2180f6b7fdeb9c8d3eac31d51915ba6604367dfb
5
5
  SHA512:
6
- metadata.gz: f6d4de6e017a5871b60a1d1f3a987e9233ac2df83700ba3d794ddf843f5ffd3ec30de9efd4544eb4415e4f9381898826dd80647d8250c89d6d0f3001c38355ed
7
- data.tar.gz: 3e8c922cb98658ef9677b4e5badb5e4592f112b71d6a76d79ac59361f19cfbb0ad94558bbaea5a6ad99493a876eda33f224ccdde11e0cebc4d4e09716a70c0a7
6
+ metadata.gz: 4df2d7d486e43fe1785b5894530672dddeefc8ba24ae45fa38604e9b3d49f79f8aa63141fccde0cc87d75d11f4d4e2fee929f0471582009eafca67b687b1b31b
7
+ data.tar.gz: e6d18d38a227b5074ad139f9853af865f6285d2b774226bddf297a85546380102dc5bc4956c662dc2435bb413b3304faef38391f2f00c1e65b3add701df9884f
data/lib/functions.rb CHANGED
@@ -945,7 +945,7 @@ module BlackStack
945
945
 
946
946
  # Create a basic Faraday connection
947
947
  conn = Faraday.new(
948
- url: "#{uri.scheme}://#{uri.host}",
948
+ url: url, #"#{uri.scheme}://#{uri.host}:#{uri.port}",
949
949
  ssl: { verify: ssl_verify_mode != OpenSSL::SSL::VERIFY_NONE },
950
950
  request: {
951
951
  open_timeout: DEFAULT_OPEN_TIMEOUT,
@@ -1018,9 +1018,8 @@ module BlackStack
1018
1018
  while (nTries < max_retries && bSuccess == false)
1019
1019
  begin
1020
1020
  nTries = nTries + 1
1021
- uri = URI(url)
1022
- res = BlackStack::Netting::call_post(uri, params, ssl_verify_mode) if method==BlackStack::Netting::CALL_METHOD_POST
1023
- res = BlackStack::Netting::call_get(uri, params, ssl_verify_mode) if method==BlackStack::Netting::CALL_METHOD_GET
1021
+ res = BlackStack::Netting::call_post(url, params, ssl_verify_mode) if method==BlackStack::Netting::CALL_METHOD_POST
1022
+ res = BlackStack::Netting::call_get(url, params, ssl_verify_mode) if method==BlackStack::Netting::CALL_METHOD_GET
1024
1023
  parsed = JSON.parse(res.body)
1025
1024
  if (parsed['status']==BlackStack::Netting::SUCCESS)
1026
1025
  bSuccess = true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blackstack-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.30
4
+ version: 1.2.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi