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 +4 -4
- data/.travis.yml +2 -0
- data/CHANGELOG.rdoc +3 -0
- data/correios-cep.gemspec +1 -1
- data/lib/correios/cep/version.rb +1 -1
- data/spec/fixtures/cassettes/correios_consulta_cep_ok.yml +20 -25
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d4333003fdd4446659ec47f2a89a3a38eceab45
|
4
|
+
data.tar.gz: f702b0f5fffc1a6d45d6ffa2eb06c598dca9640e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f07bdb53fbff3d34d4bcd4ab82af4070bf0d4877ca66571e88c34253b7144767a971aee8d338cc3e0b2c29215d97d699b33bb6a0d63700b9b29e95044ea7875
|
7
|
+
data.tar.gz: a75756a9b5cad3fd824200289f626b5864af3fef2f71f88293478f7023a8f1afe5a76d9661f6567ab673a0b7260b16328e6d4a1dbe36077206aa3e2280e108c3
|
data/.travis.yml
CHANGED
data/CHANGELOG.rdoc
CHANGED
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.
|
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"
|
data/lib/correios/cep/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri:
|
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
|
-
-
|
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;
|
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
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
RW52ZWxvcGU+
|
36
|
+
PHNvYXA6RW52ZWxvcGUgeG1sbnM6c29hcD0iaHR0cDovL3NjaGVtYXMueG1s
|
37
|
+
c29hcC5vcmcvc29hcC9lbnZlbG9wZS8iPjxzb2FwOkJvZHk+PG5zMjpjb25z
|
38
|
+
dWx0YUNFUFJlc3BvbnNlIHhtbG5zOm5zMj0iaHR0cDovL2NsaWVudGUuYmVh
|
39
|
+
bi5tYXN0ZXIuc2lnZXAuYnNiLmNvcnJlaW9zLmNvbS5ici8iPjxyZXR1cm4+
|
40
|
+
PGJhaXJybz5DYXZhbGVpcm88L2JhaXJybz48Y2VwPjU0MjUwNjEwPC9jZXA+
|
41
|
+
PGNpZGFkZT5KYWJvYXTDo28gZG9zIEd1YXJhcmFwZXM8L2NpZGFkZT48Y29t
|
42
|
+
cGxlbWVudG8+PC9jb21wbGVtZW50bz48Y29tcGxlbWVudG8yPjwvY29tcGxl
|
43
|
+
bWVudG8yPjxlbmQ+UnVhIEZlcm5hbmRvIEFtb3JpbTwvZW5kPjxpZD4wPC9p
|
44
|
+
ZD48dWY+UEU8L3VmPjwvcmV0dXJuPjwvbnMyOmNvbnN1bHRhQ0VQUmVzcG9u
|
45
|
+
c2U+PC9zb2FwOkJvZHk+PC9zb2FwOkVudmVsb3BlPg==
|
51
46
|
http_version:
|
52
|
-
recorded_at:
|
53
|
-
recorded_with: VCR 2.
|
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.
|
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-
|
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.
|
165
|
+
version: 1.9.2
|
166
166
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
167
|
requirements:
|
168
168
|
- - ">="
|