eco-helpers 2.1.11 → 2.1.12

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: fe9a800859ad998e9d89ef67bf62bf00f9a300f05ff8ebf7491be210d1d5056e
4
- data.tar.gz: 37ca33fede2bd9f642da312ff5bcbbac20b583509d09b3418357dd47e6b52d06
3
+ metadata.gz: 335e1112db6baee9a3ddfa8ebe5bf66d6bd257c91c5c09808182683b07b7f408
4
+ data.tar.gz: e0b69526d52606752bb27c80f16534a8eb2cd3ae8e334cfe2576d71b37be596f
5
5
  SHA512:
6
- metadata.gz: 289fed1d974aee2a906ccf6d5dbee843da583e0a5ba1ff4a85df180057c5f42477ffb60b280cd20ad09d7efb0994017d60685cf05cd402b3a5835bbedabe8e38
7
- data.tar.gz: 26d36e3d9647f1f35168375383eece7694ca0829a2550118ee3f22d793f1ea21886e7232f2532b35329ba5b12d19754290676ee200f13d6f9407a2f3596d1668
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.12] - 2022-11-xx
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} (#{response.status.reason}): #{response.body}\n"
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
@@ -1,3 +1,3 @@
1
1
  module Eco
2
- VERSION = "2.1.11"
2
+ VERSION = "2.1.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eco-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.11
4
+ version: 2.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura