eba 1.8.7 → 1.8.8

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 +1 -1
  3. data/lib/eba/version.rb +5 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a81a0de60ce3d13011ebb73f80e1a39b6c764db
4
- data.tar.gz: 6264e522474251a05c4e82aa5ef2ff3b1de5f323
3
+ metadata.gz: 1231bf40608efe45e2d079ed9517fb8e65e7a63d
4
+ data.tar.gz: 4d92dc6d01a200cad08e2468f1ad848a56105fa4
5
5
  SHA512:
6
- metadata.gz: c74ce4f7ce5c4b41957822e0637d92cd7ba8e3df495e30bb3fe9d09ab2a0fe727db3ba8ee7b4f0b80dc42ff8c1ea323718146c3c6b76866aad57914ad361f3c2
7
- data.tar.gz: 2f96e23e5494555ab046b48f668364c4aa2244790213ac1d46bfe7b2881ba4a02242838e7cafcd7dd513d14f05648ce80b0f416cf80735254bc2f77840b3eb5d
6
+ metadata.gz: 8f349eb2311358a786f0f2ce8858538dd5ad1b1a7c3f64555741c31c7db5171e09fb8a136061977c576b8a752515e56d609ee6324f6987f78eeba9e05147876e
7
+ data.tar.gz: db656af679ced55f11b12ce7f644b8d2baf7d525f901ed70037d1254574bc55a164abeda5d73d75310c315dc0b04c121eb2cecde77b8ac5b5faff36d690ec402
@@ -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"
@@ -1,11 +1,11 @@
1
1
  module Eba
2
2
  # For documentation purposes:
3
- # VERSION = mm.dd.ff.hh
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.7"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eba
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.7
4
+ version: 1.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael Campos Cruz