eco-helpers 2.1.11 → 2.1.12
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/CHANGELOG.md +9 -1
- data/lib/eco/api/session/batch/errors.rb +1 -2
- data/lib/eco/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 335e1112db6baee9a3ddfa8ebe5bf66d6bd257c91c5c09808182683b07b7f408
|
4
|
+
data.tar.gz: e0b69526d52606752bb27c80f16534a8eb2cd3ae8e334cfe2576d71b37be596f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c07bd1e0009ce543d7f479a2bf5e21eada3b59e8e2a8e79c65b265b97fbd5c2a7a196f7ef6cd8ed8a8a979ea9ac7b59c29f986d16edac25b113369ece6bedcf9
|
7
|
+
data.tar.gz: c8e042cd62c67ad78db3f7cb2771c394142e471ca49b8dcf43351df4fa9b60f01e4f49df956775e0d842ddff7fea7cf6bc8d5fb309ac2f3c002ca06306dec361
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,19 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
-
## [2.1.
|
4
|
+
## [2.1.13] - 2022-11-xx
|
5
5
|
|
6
6
|
### Added
|
7
7
|
### Changed
|
8
8
|
### Fixed
|
9
|
+
- `Eco::API::Session::Batch::Errors#str` remove double up on error message
|
10
|
+
- wrong require
|
11
|
+
|
12
|
+
## [2.1.12] - 2022-11-30
|
13
|
+
|
14
|
+
### Fixed
|
15
|
+
- `Eco::API::Session::Batch::Errors#str` remove double up on error message
|
16
|
+
- wrong require
|
9
17
|
|
10
18
|
## [2.1.11] - 2022-11-30
|
11
19
|
|
@@ -81,7 +81,6 @@ module Eco
|
|
81
81
|
# 3. `entry` -> the entry that generated the error
|
82
82
|
# 4. `response` -> the original response from the server that carries the error
|
83
83
|
def errors
|
84
|
-
require 'byebug'
|
85
84
|
entries.each_with_object([]) do |entry, arr|
|
86
85
|
response = status[entry]
|
87
86
|
if body = response.body
|
@@ -184,7 +183,7 @@ module Eco
|
|
184
183
|
i = to_index(key)
|
185
184
|
entry = queue.to_a[i]
|
186
185
|
response = status[i]
|
187
|
-
msg = "Error #{response.status}
|
186
|
+
msg = "Error #{response.status}: #{response.body}\n"
|
188
187
|
msg += "-- Failed to batch #{method}. Person: #{person_ref(entry)}"
|
189
188
|
end
|
190
189
|
msg
|
data/lib/eco/version.rb
CHANGED