eba 1.10.1 → 1.10.2
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/lib/eba/bcb.rb +3 -2
- data/lib/eba/version.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c529de9a64d7728b5c6e203dcc0fd428587866e9
|
4
|
+
data.tar.gz: 569a5cbecb3b8c50503682f247ea090aeb890cdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69211d896f0081ac80c217feb0def3c065ca6555baf3a64cb5feb442976ce1f01d951f9b17718ef5642e85f6baacf0e7a1681f58f569f342ddd7e55e98802054
|
7
|
+
data.tar.gz: 7be34be91dc8372ddbf888ea9121794dc114138d514f3c34cf6a33d59f64af09c8e2d1b7c124470b3553ef647e69020f139918b58063df22f0e751a4dce9d23f
|
data/lib/eba/bcb.rb
CHANGED
@@ -113,8 +113,9 @@ class BCB < Encoder
|
|
113
113
|
|
114
114
|
elsif e.message.to_s["nil:NilClass"] != nil ||
|
115
115
|
e.message.to_s["Connection reset by peer"] != nil ||
|
116
|
-
e.message.to_s["Failed to open TCP connection"] != nil
|
117
|
-
|
116
|
+
e.message.to_s["Failed to open TCP connection"] != nil ||
|
117
|
+
e.message.to_s["Socket closed"] != nil then
|
118
|
+
puts "Will have to try last value again for #{series_code}, webservice dropped the ball.\nError: #{e.message}"
|
118
119
|
|
119
120
|
else
|
120
121
|
puts "Error requesting last value.\nMessage: #{e.message}\nTrace: #{e.backtrace}"
|
data/lib/eba/version.rb
CHANGED
@@ -5,7 +5,7 @@ module Eba
|
|
5
5
|
# ff - commits on feature
|
6
6
|
# hh - commits on hotfix
|
7
7
|
|
8
|
-
VERSION = "1.10.
|
8
|
+
VERSION = "1.10.2"
|
9
9
|
|
10
10
|
#Version 1.0.1
|
11
11
|
#
|
@@ -76,4 +76,7 @@ module Eba
|
|
76
76
|
|
77
77
|
#Version 1.10.1
|
78
78
|
# Rolling back on trying to retry every miss on the webservice and just handling errors apropriatelly.
|
79
|
+
|
80
|
+
#Version 1.10.2
|
81
|
+
# Adds "Socket closed" error to last value expcetion handling.
|
79
82
|
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: 1.10.
|
4
|
+
version: 1.10.2
|
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: 2018-08-
|
11
|
+
date: 2018-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|