correios-cep 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77e523443aee991b4a8f09c8dcfed8bea6309a07
4
- data.tar.gz: 5c7ccf2008a2a4f74be4b62639ffc226fdd563e6
3
+ metadata.gz: 8d4333003fdd4446659ec47f2a89a3a38eceab45
4
+ data.tar.gz: f702b0f5fffc1a6d45d6ffa2eb06c598dca9640e
5
5
  SHA512:
6
- metadata.gz: 2d8f5101004470c8ee9bdc350ee6fbe7d9cb56b51e2036421b8ad6de8e7bde26f4f64af2babb67e8ed5e1d20876f3ffd01617f44940ccb57b906f66a2017cd6e
7
- data.tar.gz: acbe165a68eaaa4d8debae64144ac3e23e53c991e3af2b252a03b15e62ce8069d6bfd985d8b751110ca7124438ecb8c1acf6f3803190ec25cbde13ad15976dae
6
+ metadata.gz: 7f07bdb53fbff3d34d4bcd4ab82af4070bf0d4877ca66571e88c34253b7144767a971aee8d338cc3e0b2c29215d97d699b33bb6a0d63700b9b29e95044ea7875
7
+ data.tar.gz: a75756a9b5cad3fd824200289f626b5864af3fef2f71f88293478f7023a8f1afe5a76d9661f6567ab673a0b7260b16328e6d4a1dbe36077206aa3e2280e108c3
data/.travis.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 1.9.2
3
4
  - 1.9.3
4
5
  - 2.0.0
5
6
  - 2.1.5
7
+ - 2.2.1
6
8
  script: bundle exec rspec
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == Version 0.3.1
2
+ - Warning: Minimal required Ruby version is 1.9.2 again.
3
+
1
4
  == Version 0.3.0
2
5
  - Update: Update Correios Web Service URL.
3
6
 
data/correios-cep.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ["lib"]
19
19
 
20
20
  spec.platform = Gem::Platform::RUBY
21
- spec.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
21
+ spec.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
22
22
 
23
23
  spec.add_dependency "log-me", "= 0.0.7"
24
24
  spec.add_dependency "nokogiri", "~> 1.6"
@@ -1,5 +1,5 @@
1
1
  module Correios
2
2
  module CEP
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://200.252.60.209/SigepCliente/AtendeClienteService
5
+ uri: https://apps.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
@@ -12,7 +12,7 @@ http_interactions:
12
12
  Accept-Encoding:
13
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
14
  Accept:
15
- - '*/*'
15
+ - "*/*"
16
16
  User-Agent:
17
17
  - Ruby
18
18
  Content-Type:
@@ -23,31 +23,26 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Mon, 17 Feb 2014 02:25:30 GMT
27
- Server:
28
- - Apache/2.2.3 (Red Hat)
29
- X-Powered-By:
30
- - Servlet/2.5 JSP/2.1
31
- Connection:
32
- - close
33
- Transfer-Encoding:
34
- - chunked
26
+ - Fri, 20 Mar 2015 20:30:48 GMT
35
27
  Content-Type:
36
- - text/xml; charset=utf-8
28
+ - text/xml;charset=UTF-8
29
+ Vary:
30
+ - Accept-Encoding,User-Agent
31
+ Content-Length:
32
+ - '277'
37
33
  body:
38
34
  encoding: ASCII-8BIT
39
35
  string: !binary |-
40
- PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz48UzpFbnZl
41
- bG9wZSB4bWxuczpTPSJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy9z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dWY+UEU8L3VmPjwvcmV0dXJuPjwvbnMyOmNvbnN1bHRhQ0VQUmVzcG9u
45
+ c2U+PC9zb2FwOkJvZHk+PC9zb2FwOkVudmVsb3BlPg==
51
46
  http_version:
52
- recorded_at: Mon, 17 Feb 2014 01:48:39 GMT
53
- recorded_with: VCR 2.8.0
47
+ recorded_at: Fri, 20 Mar 2015 20:30:48 GMT
48
+ recorded_with: VCR 2.9.3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: correios-cep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Prodis a.k.a. Fernando Hamasaki de Amorim
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-20 00:00:00.000000000 Z
11
+ date: 2015-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: log-me
@@ -162,7 +162,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - ">="
164
164
  - !ruby/object:Gem::Version
165
- version: 1.9.3
165
+ version: 1.9.2
166
166
  required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  requirements:
168
168
  - - ">="