eba 1.7.7 → 1.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eba/bcb.rb +6 -1
- data/lib/eba/version.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a81a0de60ce3d13011ebb73f80e1a39b6c764db
|
4
|
+
data.tar.gz: 6264e522474251a05c4e82aa5ef2ff3b1de5f323
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c74ce4f7ce5c4b41957822e0637d92cd7ba8e3df495e30bb3fe9d09ab2a0fe727db3ba8ee7b4f0b80dc42ff8c1ea323718146c3c6b76866aad57914ad361f3c2
|
7
|
+
data.tar.gz: 2f96e23e5494555ab046b48f668364c4aa2244790213ac1d46bfe7b2881ba4a02242838e7cafcd7dd513d14f05648ce80b0f416cf80735254bc2f77840b3eb5d
|
data/lib/eba/bcb.rb
CHANGED
@@ -161,7 +161,12 @@ class BCB < Encoder
|
|
161
161
|
response = @service.call(:get_valores_series_xml, message: message)
|
162
162
|
result = Nokogiri::XML(response.to_hash[:get_valores_series_xml_response][:get_valores_series_xml_return])
|
163
163
|
rescue Exception => erro
|
164
|
-
|
164
|
+
#The interval is empty, therefore an empty array should be returned.
|
165
|
+
if erro.include? "Value(s) not found" then
|
166
|
+
return []
|
167
|
+
else
|
168
|
+
puts "\n\nError requesting! #{erro}\n\n"
|
169
|
+
end
|
165
170
|
end
|
166
171
|
|
167
172
|
i = 0
|
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.
|
8
|
+
VERSION = "1.8.7"
|
9
9
|
|
10
10
|
#Version 1.0.1
|
11
11
|
#
|
@@ -59,4 +59,8 @@ module Eba
|
|
59
59
|
|
60
60
|
#Version 1.7.7
|
61
61
|
# Adds support for max and minimun data for queries.
|
62
|
+
|
63
|
+
#Version 1.8.7
|
64
|
+
# Improves the way the gem deals with no data in interval result. Returning an empty array,
|
65
|
+
# instead of an error.
|
62
66
|
end
|