correios-cep 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +24 -0
- data/Gemfile +4 -0
- data/README.rdoc +74 -0
- data/Rakefile +1 -0
- data/correios-cep.gemspec +23 -0
- data/lib/correios/cep.rb +7 -0
- data/lib/correios/cep/version.rb +5 -0
- metadata +79 -0
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NWQ3NTU0ZmM1MDc5ZDFmMThlNTQ4ZDZmYzA4MjU0NDdlY2JhOTg2Nw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MzdjNTJhZTk4YmRmZGI1N2M2NTI0YWFkNDRlMjI1ZmMyMzJhZDliOQ==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NTQxN2ViMDUyOTA2YTM4NmViZWQ0YjBiYmI5MmJjY2FjMGM5MjkxOTQyMWQz
|
10
|
+
Yjg4NWY2N2ExMTVlZWYwYmU1ZTMyYTVkN2RlYjMwOGU1NDVmOTk4NTI4MGZl
|
11
|
+
NDE2NzZlMzEzYzNjNjdhZWViMWRhZmRmYjkyNjRmN2U4MTUxYjU=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NDJmZGVjOGI5NGEwMTU0MmQ0NGQ1OGRiMzMxMzJmYzUyMGJmM2M4ZDlmOGNl
|
14
|
+
NWExOGExMzMyM2I2OTM4NGJiMWI5ZjM4MGM2NTg2NzU5MGI1NTUwYWEyMTYw
|
15
|
+
MzY2NDI5ZTI1NzYzZWFjNzg0NjFhNDNiODg4ZDZmNTZlNmQ2MjI=
|
data/.gitignore
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
Gemfile.lock
|
7
|
+
InstalledFiles
|
8
|
+
_yardoc
|
9
|
+
coverage
|
10
|
+
doc/
|
11
|
+
lib/bundler/man
|
12
|
+
pkg
|
13
|
+
rdoc
|
14
|
+
spec/reports
|
15
|
+
test/tmp
|
16
|
+
test/version_tmp
|
17
|
+
tmp
|
18
|
+
TODO
|
19
|
+
|
20
|
+
# For MacOS:
|
21
|
+
.DS_Store
|
22
|
+
|
23
|
+
# For vim:
|
24
|
+
*.sw*
|
data/Gemfile
ADDED
data/README.rdoc
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
= correios-cep
|
2
|
+
|
3
|
+
Correios CEP
|
4
|
+
|
5
|
+
http://prodis.net.br/images/ruby/2011/correios_logo.png
|
6
|
+
|
7
|
+
|
8
|
+
== Installing
|
9
|
+
|
10
|
+
=== Gemfile
|
11
|
+
gem 'correios-cep'
|
12
|
+
|
13
|
+
=== Direct installation
|
14
|
+
$ gem install correios-cep
|
15
|
+
|
16
|
+
|
17
|
+
== Using
|
18
|
+
|
19
|
+
require 'correios-cep'
|
20
|
+
|
21
|
+
|
22
|
+
== Configurations
|
23
|
+
|
24
|
+
=== Timeout
|
25
|
+
|
26
|
+
|
27
|
+
=== Log
|
28
|
+
|
29
|
+
|
30
|
+
== Author
|
31
|
+
- {Fernando Hamasaki de Amorim (prodis)}[http://prodis.blog.br]
|
32
|
+
|
33
|
+
|
34
|
+
== Contributing to correios-cep
|
35
|
+
|
36
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
37
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
38
|
+
* Fork the project.
|
39
|
+
* Start a feature/bugfix branch.
|
40
|
+
* Commit and push until you are happy with your contribution.
|
41
|
+
* Don't forget to rebase with branch master in main project before submit the pull request.
|
42
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
43
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
44
|
+
|
45
|
+
|
46
|
+
== Copyright
|
47
|
+
|
48
|
+
(The MIT License)
|
49
|
+
|
50
|
+
{Prodis a.k.a. Fernando Hamasaki}[http://prodis.blog.br]
|
51
|
+
|
52
|
+
http://prodis.net.br/images/prodis_150.gif
|
53
|
+
|
54
|
+
Copyright (c) 2014 Prodis
|
55
|
+
|
56
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
57
|
+
a copy of this software and associated documentation files (the
|
58
|
+
"Software"), to deal in the Software without restriction, including
|
59
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
60
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
61
|
+
permit persons to whom the Software is furnished to do so, subject to
|
62
|
+
the following conditions:
|
63
|
+
|
64
|
+
The above copyright notice and this permission notice shall be
|
65
|
+
included in all copies or substantial portions of the Software.
|
66
|
+
|
67
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
68
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
69
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
70
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
71
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
72
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
73
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
74
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'correios/cep/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "correios-cep"
|
8
|
+
spec.version = Correios::Cep::VERSION
|
9
|
+
spec.authors = ["Fernando Hamasaki de Amorim"]
|
10
|
+
spec.email = ["prodis@gmail.com"]
|
11
|
+
spec.description = %q{Correios CEP}
|
12
|
+
spec.summary = %q{Correios CEP}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
end
|
data/lib/correios/cep.rb
ADDED
metadata
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: correios-cep
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Fernando Hamasaki de Amorim
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-02-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: Correios CEP
|
42
|
+
email:
|
43
|
+
- prodis@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- .gitignore
|
49
|
+
- Gemfile
|
50
|
+
- README.rdoc
|
51
|
+
- Rakefile
|
52
|
+
- correios-cep.gemspec
|
53
|
+
- lib/correios/cep.rb
|
54
|
+
- lib/correios/cep/version.rb
|
55
|
+
homepage: ''
|
56
|
+
licenses:
|
57
|
+
- MIT
|
58
|
+
metadata: {}
|
59
|
+
post_install_message:
|
60
|
+
rdoc_options: []
|
61
|
+
require_paths:
|
62
|
+
- lib
|
63
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ! '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ! '>='
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0'
|
73
|
+
requirements: []
|
74
|
+
rubyforge_project:
|
75
|
+
rubygems_version: 2.0.4
|
76
|
+
signing_key:
|
77
|
+
specification_version: 4
|
78
|
+
summary: Correios CEP
|
79
|
+
test_files: []
|