eba 1.8.7 → 1.8.8
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 +1 -1
- data/lib/eba/version.rb +5 -2
- 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: 1231bf40608efe45e2d079ed9517fb8e65e7a63d
|
4
|
+
data.tar.gz: 4d92dc6d01a200cad08e2468f1ad848a56105fa4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f349eb2311358a786f0f2ce8858538dd5ad1b1a7c3f64555741c31c7db5171e09fb8a136061977c576b8a752515e56d609ee6324f6987f78eeba9e05147876e
|
7
|
+
data.tar.gz: db656af679ced55f11b12ce7f644b8d2baf7d525f901ed70037d1254574bc55a164abeda5d73d75310c315dc0b04c121eb2cecde77b8ac5b5faff36d690ec402
|
data/lib/eba/bcb.rb
CHANGED
@@ -162,7 +162,7 @@ class BCB < Encoder
|
|
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
|
165
|
+
if erro.to_s.include? "Value(s) not found" then
|
166
166
|
return []
|
167
167
|
else
|
168
168
|
puts "\n\nError requesting! #{erro}\n\n"
|
data/lib/eba/version.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
module Eba
|
2
2
|
# For documentation purposes:
|
3
|
-
# VERSION = mm.
|
3
|
+
# VERSION = mm.ff.hh
|
4
4
|
# mm - major change
|
5
5
|
# ff - commits on feature
|
6
6
|
# hh - commits on hotfix
|
7
7
|
|
8
|
-
VERSION = "1.8.
|
8
|
+
VERSION = "1.8.8"
|
9
9
|
|
10
10
|
#Version 1.0.1
|
11
11
|
#
|
@@ -63,4 +63,7 @@ module Eba
|
|
63
63
|
#Version 1.8.7
|
64
64
|
# Improves the way the gem deals with no data in interval result. Returning an empty array,
|
65
65
|
# instead of an error.
|
66
|
+
|
67
|
+
#Version 1.8.8
|
68
|
+
# Forces conversion of error to string.
|
66
69
|
end
|