wolf_core 1.0.31 → 1.0.33

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: e1be0e306a525249f1b834d2bd702869cb1d06b91e4f18a491725485bff3e5df
4
- data.tar.gz: 5cbdf166f59f3a2f5e3c5ced8ce269c0edfcbf29d31f45ae1aadcedf6c6d4f40
3
+ metadata.gz: 1e7b310c680306478a394b18ad4e2b548591972261ab57697b9a0ecd8cba1a82
4
+ data.tar.gz: e0544f1e690f63dafd785b7c93876f2362506df36d99df605dd14bf3e63ab5f7
5
5
  SHA512:
6
- metadata.gz: a0664df28d2e22176da6a57d8a95933170b5e1c5798fc1e0f02e7c2e79a3951fadbfb7154444a97ceff3adc06da74fb11957e527ed28d8697b0e4ab6402fb83a
7
- data.tar.gz: 92dcbcac34b41ed513f641bf5d590ba9e65f34de753249a91fad42a81013cfb60f97de29f440d264a58666172bbb4bee1d9d789785fb20bcdceebffe6bb5fa22
6
+ metadata.gz: bd6bbbf8ff94e7e859605a563ea1ca00cff38d35029efb43faf9c6c36048710c2cf10d3b41009cc8f979bc6121bd3320b20439f13e7be41efae9e8d244f6b2ef
7
+ data.tar.gz: 72fa20b77cd0e71b2478cb426af48dbff15dad2f8031e92738defe3f4ca097cebfee105d893b7238f9fded945c84b1f6cf2b2be930fd91e264495fbeaf6a80f6
@@ -20,7 +20,7 @@ module WolfCore
20
20
  }
21
21
 
22
22
  ORDER_STATUS_MAP = {
23
- "Listing Qualification" => "pending",
23
+ "Listing Qualification" => "live",
24
24
  "Pending" => "pending",
25
25
  "On Hold" => "pending",
26
26
  "Filled" => "pending",
@@ -79,7 +79,7 @@ module WolfCore
79
79
  end
80
80
  end
81
81
 
82
- def safe_http_put(url:, headers: {}, body: nil, query: nil, error_message: nil, title: nil)
82
+ def safe_http_put(url:, headers: {}, body: nil, query: nil, error_message: nil, title: nil, error_data: nil)
83
83
  response = http_put(url: url, headers: headers, body: body, query: query)
84
84
  response = parse_http_response(response)
85
85
 
@@ -87,7 +87,7 @@ module WolfCore
87
87
  log_object response, title: title
88
88
 
89
89
  error_message ||= "Error on safe_http_put"
90
- validate_http_response(response: response, message: error_message)
90
+ validate_http_response(response: response, message: error_message, error_data: error_data)
91
91
 
92
92
  response
93
93
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "1.0.31"
4
+ VERSION = "1.0.33"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolf_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.31
4
+ version: 1.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo