correios-ws 4 → 5

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.
data/lib/correios-ws.rb CHANGED
@@ -200,7 +200,7 @@ module Correios
200
200
  s.entrega_domiciliar = cservico['EntregaDomiciliar']
201
201
  s.entrega_sabado = cservico['EntregaSabado']
202
202
  #Informacoes de Erro
203
- s.error = cservico['Erro'] == 1
203
+ s.error = cservico['Erro'].to_s == '1'
204
204
  s.msg_error = cservico['MsgErro']
205
205
  end
206
206
  end
@@ -1,3 +1,3 @@
1
1
  module Correios
2
- VERSION = "4"
2
+ VERSION = "5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: correios-ws
3
3
  version: !ruby/object:Gem::Version
4
- version: '4'
4
+ version: '5'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: