eba 1.10.1 → 1.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/eba/bcb.rb +3 -2
  3. data/lib/eba/version.rb +4 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89151b822e3b3ef93c3facbab8b4bbc6c2909b5f
4
- data.tar.gz: e1def1fd832d5c39ccb11bee0c71d08cfbc89e5f
3
+ metadata.gz: c529de9a64d7728b5c6e203dcc0fd428587866e9
4
+ data.tar.gz: 569a5cbecb3b8c50503682f247ea090aeb890cdb
5
5
  SHA512:
6
- metadata.gz: 96fd12fab082a247e6200edae5836bebda1b818670364e0aa9034de16f0beee083f8dac97a0081a583367ce6938eff62e45f3950644a381fb229da99fe508efa
7
- data.tar.gz: 0fb1a39bd65350a39912002c02a79f484998ee6eb3ff456e9fa0e4d5f9a4c54d0d6b172b8a09a778b7b7a08e2cf8c0f66db08e30cae7e2d8ec57c039ebae43e7
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 then
117
- puts "Will have to try again, webservice dropped the ball.\nError: #{e.message}"
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.1"
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.1
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-22 00:00:00.000000000 Z
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