brapi 0.0.2 → 0.0.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd754bae4ef593d82860080d8ba79033cacd31ce
|
4
|
+
data.tar.gz: 43914721ad7ea02e45169ef27dc2528aae7f271d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b47c61b980f8c8fe8a99252affbed76cad8a0f6152a38fc3f9214a307ca24b4fd9fbbd095bbe65b9017d47b97a137556d35e31773ca3d55ae4192546bb6a19f
|
7
|
+
data.tar.gz: 0e7dfdd6a85467827e92517adf9be9cdc9d286fb1277e1d88d0006167b911bffa4706ace0c0b6d0ccc0bbf6a513dbfb4294186fb32c8496fa300fcebd1378915
|
data/CHANGELOG.md
CHANGED
data/lib/brapi/client.rb
CHANGED
data/lib/brapi/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://x:<BRAPI_ACCESS_TOKEN>@api.brapi.io/v1/zipcodes/ABS.json
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -23,13 +23,13 @@ http_interactions:
|
|
23
23
|
Content-Type:
|
24
24
|
- application/json; charset=utf-8
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Thu, 06 Feb 2014 11:20:51 GMT
|
27
27
|
Status:
|
28
28
|
- 404 Not Found
|
29
29
|
X-Request-Id:
|
30
|
-
-
|
30
|
+
- 5e7a3d26-28f3-4acc-afce-e5e333d04789
|
31
31
|
X-Runtime:
|
32
|
-
- '
|
32
|
+
- '0.544125'
|
33
33
|
Content-Length:
|
34
34
|
- '36'
|
35
35
|
Connection:
|
@@ -38,5 +38,5 @@ http_interactions:
|
|
38
38
|
encoding: UTF-8
|
39
39
|
string: "{\"status\":\"404\",\"error\":\"Not Found\"}"
|
40
40
|
http_version:
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Thu, 06 Feb 2014 11:20:51 GMT
|
42
42
|
recorded_with: VCR 2.8.0
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://x:<BRAPI_ACCESS_TOKEN>@api.brapi.io/v1/zipcodes/6720050.json
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- application/json; charset=utf-8
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Thu, 06 Feb 2014 11:20:29 GMT
|
29
29
|
Etag:
|
30
30
|
- "\"186c04cfe69b92b322d8069ad1d1d468\""
|
31
31
|
Last-Modified:
|
@@ -41,11 +41,11 @@ http_interactions:
|
|
41
41
|
X-Ratelimit-Limit:
|
42
42
|
- '500'
|
43
43
|
X-Ratelimit-Remaining:
|
44
|
-
- '
|
44
|
+
- '497'
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
46
|
+
- edf5b601-f7b9-4fcc-855c-d7da8210c43a
|
47
47
|
X-Runtime:
|
48
|
-
- '0.
|
48
|
+
- '0.276151'
|
49
49
|
X-Ua-Compatible:
|
50
50
|
- chrome=1
|
51
51
|
X-Xss-Protection:
|
@@ -59,5 +59,5 @@ http_interactions:
|
|
59
59
|
string: "{\"zipcode\":\"6720050\",\"address_type\":\"Rua\",\"address\":\"Ciro
|
60
60
|
Monteiro\",\"neighborhood\":\"Parque Mirante da Mata\",\"city\":\"Cotia\",\"city_ibge_code\":\"3513009\",\"state\":\"SP\"}"
|
61
61
|
http_version:
|
62
|
-
recorded_at:
|
62
|
+
recorded_at: Thu, 06 Feb 2014 11:20:29 GMT
|
63
63
|
recorded_with: VCR 2.8.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matheus Bras
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|