brapi 0.0.1 → 0.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e7a05c34b5b27aeb5fc26e85db5eea4bdee1854
4
- data.tar.gz: 1fb58149c3dc35257b8cec3400fef5d344424bc9
3
+ metadata.gz: 69432dc97f4f14d700b656c35d8a0b4da8fae685
4
+ data.tar.gz: c5b1c503059a53b4880c414e28f1bd682d5d12d8
5
5
  SHA512:
6
- metadata.gz: a3f7a33b3be11c8fe1b5635edef028455c56a3f85c580b0c3869496bc3aa800e34d6494c3d2deeb3ec78f8711081e536765740a4fb6ac3c0d3d9a2d3f6ba98cc
7
- data.tar.gz: e94c501786a9ac378c789c04043da164cf737eeed7c9be8cb54b5d3bbe829846eb486ecf79dad2b87a305e8c4f6819e733e0d498008178ffd7341093f6f99db3
6
+ metadata.gz: 53fa00c0cef09d7576d42019ee7c29d69a4b026babe84d9cd3536ce17f9ad66263f0c9505db4b2c650ba84f6619f3581b6da75cf825892f32f2812541c1f2f58
7
+ data.tar.gz: 7db94cb9bb96ca893be255a224c7e368d8d573259ea40e0c3a49c1d04e90664abb013f10619e37602a662d8124ce1fce32afb18271b3014f0fea7c1780928137
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.0.2 (February 5, 2014)
4
+
5
+ ### features
6
+
7
+ ### improvements
8
+ - Changed the base api url
9
+
10
+ ### bug fixes
11
+
3
12
  ## 0.0.1 (February 5, 2014)
4
13
 
5
14
  ### features
@@ -22,7 +22,7 @@ module Brapi
22
22
  attr_reader :access_token, :user_agent
23
23
 
24
24
  def base_uri
25
- "https://x:#{access_token}@brapi.herokuapp.com/api/v1"
25
+ "http://x:#{access_token}@brapi.io/api/v1"
26
26
  end
27
27
  end
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module Brapi
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://x:<BRAPI_ACCESS_TOKEN>@brapi.herokuapp.com/api/v1/zipcodes/ABS.json
5
+ uri: http://x:<BRAPI_ACCESS_TOKEN>@brapi.io/api/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
- - Wed, 05 Feb 2014 13:13:51 GMT
26
+ - Wed, 05 Feb 2014 16:59:24 GMT
27
27
  Status:
28
28
  - 404 Not Found
29
29
  X-Request-Id:
30
- - badd211b-b8d8-432c-a579-61e23fba9cda
30
+ - d9e41833-91a8-494e-8b24-1fb5cbc2da8c
31
31
  X-Runtime:
32
- - '1.136146'
32
+ - '3.269434'
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: Wed, 05 Feb 2014 13:13:52 GMT
41
+ recorded_at: Wed, 05 Feb 2014 16:59:24 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: https://x:<BRAPI_ACCESS_TOKEN>@brapi.herokuapp.com/api/v1/zipcodes/6720050.json
5
+ uri: http://x:<BRAPI_ACCESS_TOKEN>@brapi.io/api/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
- - Wed, 05 Feb 2014 13:13:49 GMT
28
+ - Wed, 05 Feb 2014 16:58:58 GMT
29
29
  Etag:
30
30
  - "\"186c04cfe69b92b322d8069ad1d1d468\""
31
31
  Last-Modified:
@@ -43,9 +43,9 @@ http_interactions:
43
43
  X-Ratelimit-Remaining:
44
44
  - '499'
45
45
  X-Request-Id:
46
- - d4304cef-58ad-46d4-9d37-efbc3895ed9c
46
+ - ddbb9614-f87f-4e2c-8725-feaaebfb213b
47
47
  X-Runtime:
48
- - '0.721375'
48
+ - '0.196535'
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: Wed, 05 Feb 2014 13:13:50 GMT
62
+ recorded_at: Wed, 05 Feb 2014 16:58:58 GMT
63
63
  recorded_with: VCR 2.8.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matheus Bras