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: 69432dc97f4f14d700b656c35d8a0b4da8fae685
4
- data.tar.gz: c5b1c503059a53b4880c414e28f1bd682d5d12d8
3
+ metadata.gz: cd754bae4ef593d82860080d8ba79033cacd31ce
4
+ data.tar.gz: 43914721ad7ea02e45169ef27dc2528aae7f271d
5
5
  SHA512:
6
- metadata.gz: 53fa00c0cef09d7576d42019ee7c29d69a4b026babe84d9cd3536ce17f9ad66263f0c9505db4b2c650ba84f6619f3581b6da75cf825892f32f2812541c1f2f58
7
- data.tar.gz: 7db94cb9bb96ca893be255a224c7e368d8d573259ea40e0c3a49c1d04e90664abb013f10619e37602a662d8124ce1fce32afb18271b3014f0fea7c1780928137
6
+ metadata.gz: 2b47c61b980f8c8fe8a99252affbed76cad8a0f6152a38fc3f9214a307ca24b4fd9fbbd095bbe65b9017d47b97a137556d35e31773ca3d55ae4192546bb6a19f
7
+ data.tar.gz: 0e7dfdd6a85467827e92517adf9be9cdc9d286fb1277e1d88d0006167b911bffa4706ace0c0b6d0ccc0bbf6a513dbfb4294186fb32c8496fa300fcebd1378915
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.0.3 (February 6, 2014)
4
+
5
+ ### features
6
+
7
+ ### improvements
8
+ - Add https to the base api url
9
+
10
+ ### bug fixes
11
+
3
12
  ## 0.0.2 (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
- "http://x:#{access_token}@brapi.io/api/v1"
25
+ "https://x:#{access_token}@api.brapi.io/v1"
26
26
  end
27
27
  end
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module Brapi
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://x:<BRAPI_ACCESS_TOKEN>@brapi.io/api/v1/zipcodes/ABS.json
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
- - Wed, 05 Feb 2014 16:59:24 GMT
26
+ - Thu, 06 Feb 2014 11:20:51 GMT
27
27
  Status:
28
28
  - 404 Not Found
29
29
  X-Request-Id:
30
- - d9e41833-91a8-494e-8b24-1fb5cbc2da8c
30
+ - 5e7a3d26-28f3-4acc-afce-e5e333d04789
31
31
  X-Runtime:
32
- - '3.269434'
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: Wed, 05 Feb 2014 16:59:24 GMT
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: http://x:<BRAPI_ACCESS_TOKEN>@brapi.io/api/v1/zipcodes/6720050.json
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
- - Wed, 05 Feb 2014 16:58:58 GMT
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
- - '499'
44
+ - '497'
45
45
  X-Request-Id:
46
- - ddbb9614-f87f-4e2c-8725-feaaebfb213b
46
+ - edf5b601-f7b9-4fcc-855c-d7da8210c43a
47
47
  X-Runtime:
48
- - '0.196535'
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: Wed, 05 Feb 2014 16:58:58 GMT
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.2
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-05 00:00:00.000000000 Z
11
+ date: 2014-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler