consulta_cep 0.0.2 → 0.0.3

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.
@@ -13,4 +13,4 @@ Uma gem bem simples pra fazer busca de endereços no site brasileiro dos correio
13
13
  Consulta.endereco 'Avenida Paulista, São Paulo'
14
14
 
15
15
  # Procurando dados por endereço refinado
16
- Consulta.endereco 'Avenida Paulista', :cidade => 'São Paulo', :estado => 'SP'
16
+ Consulta.endereco_refinado 'Avenida Paulista', :cidade => 'São Paulo', :estado => 'SP'
@@ -15,7 +15,7 @@ module ConsultaCep
15
15
  ]
16
16
 
17
17
  def initialize
18
- @agent = Mechanize.new{ |a| a.log = Logger.new(STDERR) }
18
+ @agent = Mechanize.new#{ |a| a.log = Logger.new(STDERR) }
19
19
  @agent.user_agent_alias = 'Windows IE 7'
20
20
  @last_page = @agent.get 'http://correios.com.br'
21
21
  sleep 0.1
@@ -1,3 +1,3 @@
1
1
  module ConsultaCep
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: consulta_cep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-10-20 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mechanize
16
- requirement: &70248830532920 !ruby/object:Gem::Requirement
16
+ requirement: &70122226543060 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70248830532920
24
+ version_requirements: *70122226543060
25
25
  description: ! 'A very simple gem to fetch brazilian postalcodes from www.correios.com.br '
26
26
  email:
27
27
  - dalthon@dlt.local