br_zip_code 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +3 -3
- data/br_zip_code.gemspec +1 -1
- data/lib/br_zip_code.rb +1 -1
- data/lib/br_zip_code/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e150cfe55ee004e4938f6aaf0ee9724e4809c4b
|
4
|
+
data.tar.gz: 17c5ec9528b8e976761e623756bcfa28314514d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f81a7b925085e3b8c2e130fcb8bca8f10d2358cb13732da681323e52483498ee46ac2627528725ae2b9396c1638daf5277d674ac79481e0d692e4bfc234be158
|
7
|
+
data.tar.gz: ed81f25fc6bd476a95234b589341fca27a048667f9093d0576c60fec3f5537b2434e1c4830afdd54144af792d16950a488f5294bc6ea05093edf508d98dfa097
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
# BrZipCode
|
2
2
|
|
3
|
-
This gem helps you to find an address based on a brazilian zip code. For that,
|
3
|
+
This gem helps you to find an address based on a brazilian zip code. For that, 5 webservices are used:
|
4
4
|
|
5
5
|
* [Postmon](http://postmon.com.br/ "Postmon")
|
6
6
|
* [Via CEP](http://viacep.com.br/ "Via CEP")
|
7
|
-
* [Correio Control](http://cep.correiocontrol.com.br "Correio Control")
|
8
7
|
* [República Virtual](http://republicavirtual.com.br/cep/ "República Virtual")
|
9
|
-
* [CEP Livre](http://ceplivre.com.br/ "CEP Livre")
|
8
|
+
* [CEP Livre](http://ceplivre.com.br/ "CEP Livre") - This one needs an API KEY set as an environment variable.
|
9
|
+
* [Correio Control](http://cep.correiocontrol.com.br "Correio Control")
|
10
10
|
|
11
11
|
The webservices are searched in order. If one is not available, the next is tested until one is available or none.
|
12
12
|
|
data/br_zip_code.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.require_paths = ["lib"]
|
25
25
|
|
26
26
|
spec.add_dependency "rails"
|
27
|
-
spec.add_dependency "dotenv"
|
27
|
+
spec.add_dependency "dotenv-rails"
|
28
28
|
|
29
29
|
spec.add_development_dependency "bundler", "~> 1.8"
|
30
30
|
spec.add_development_dependency "rake", "~> 10.0"
|
data/lib/br_zip_code.rb
CHANGED
data/lib/br_zip_code/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: br_zip_code
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ariel Schvartz
|
@@ -25,19 +25,19 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: dotenv
|
28
|
+
name: dotenv-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,5 +135,5 @@ rubyforge_project:
|
|
135
135
|
rubygems_version: 2.4.6
|
136
136
|
signing_key:
|
137
137
|
specification_version: 4
|
138
|
-
summary: BR Zip Code - 1.0.
|
138
|
+
summary: BR Zip Code - 1.0.5
|
139
139
|
test_files: []
|