guia_mais 0.2 → 0.3
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.
- data/Manifest +3 -1
- data/README +15 -0
- data/Rakefile +3 -2
- data/guia_mais.gemspec +15 -13
- data/lib/guia_mais.rb +73 -42
- data/test/guia_mais_test.rb +27 -26
- metadata +51 -16
data/Manifest
CHANGED
data/README
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
GuiaMais v0.3
|
|
2
|
+
|
|
3
|
+
Busca endereços no site guiamais.com.br através de mineração de dados.
|
|
4
|
+
|
|
5
|
+
Exemplo:
|
|
6
|
+
|
|
7
|
+
require 'rubygems'
|
|
8
|
+
require 'guia_mais'
|
|
9
|
+
|
|
10
|
+
cliente = Cliente.buscar("32222222", :estado => :piaui)
|
|
11
|
+
puts cliente.nome #=> RÁDIO TÁXI
|
|
12
|
+
puts cliente.endereco #=> R Álvaro Ferreira, 60 Monte Castelo
|
|
13
|
+
puts cliente.bairro #=> Monte Castelo
|
|
14
|
+
puts cliente.cep #=> 64017-380
|
|
15
|
+
puts cliente.categoria #=> Táxi
|
data/Rakefile
CHANGED
|
@@ -3,12 +3,13 @@ require "rubygems"
|
|
|
3
3
|
require "rake"
|
|
4
4
|
require "echoe"
|
|
5
5
|
|
|
6
|
-
Echoe.new("guia_mais", "0.
|
|
6
|
+
Echoe.new("guia_mais", "0.3") do |p|
|
|
7
|
+
p.url = "https://github.com/dimiro1/guia_mais"
|
|
7
8
|
p.description = "Busca dados no site Guia Mais através do telefone"
|
|
8
9
|
p.author = "Claudemiro Alves Feitosa Neto"
|
|
9
10
|
p.email = "dimiro1@gmail.com"
|
|
10
11
|
p.ignore_pattern = ["tmp/*", "script/*"]
|
|
11
|
-
p.development_dependencies = ["hpricot", "httparty"]
|
|
12
|
+
p.development_dependencies = ["hpricot", "httparty", "htmlentities"]
|
|
12
13
|
end
|
|
13
14
|
|
|
14
15
|
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
|
data/guia_mais.gemspec
CHANGED
|
@@ -1,37 +1,39 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
|
-
s.name =
|
|
5
|
-
s.version = "0.
|
|
4
|
+
s.name = "guia_mais"
|
|
5
|
+
s.version = "0.3"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Claudemiro Alves Feitosa Neto"]
|
|
9
|
-
s.date =
|
|
10
|
-
s.description =
|
|
11
|
-
s.email =
|
|
12
|
-
s.extra_rdoc_files = ["lib/guia_mais.rb"]
|
|
13
|
-
s.files = ["
|
|
14
|
-
s.homepage =
|
|
9
|
+
s.date = "2011-11-01"
|
|
10
|
+
s.description = "Busca dados no site Guia Mais atrav\303\251s do telefone"
|
|
11
|
+
s.email = "dimiro1@gmail.com"
|
|
12
|
+
s.extra_rdoc_files = ["README", "lib/guia_mais.rb"]
|
|
13
|
+
s.files = ["README", "Rakefile", "lib/guia_mais.rb", "test/guia_mais_test.rb", "Manifest", "guia_mais.gemspec"]
|
|
14
|
+
s.homepage = "https://github.com/dimiro1/guia_mais"
|
|
15
15
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Guia_mais", "--main", "README"]
|
|
16
16
|
s.require_paths = ["lib"]
|
|
17
|
-
s.rubyforge_project =
|
|
18
|
-
s.rubygems_version =
|
|
19
|
-
s.summary =
|
|
17
|
+
s.rubyforge_project = "guia_mais"
|
|
18
|
+
s.rubygems_version = "1.8.11"
|
|
19
|
+
s.summary = "Busca dados no site Guia Mais atrav\303\251s do telefone"
|
|
20
20
|
s.test_files = ["test/guia_mais_test.rb"]
|
|
21
21
|
|
|
22
22
|
if s.respond_to? :specification_version then
|
|
23
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
24
23
|
s.specification_version = 3
|
|
25
24
|
|
|
26
|
-
if Gem::Version.new(Gem::
|
|
25
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
27
26
|
s.add_development_dependency(%q<hpricot>, [">= 0"])
|
|
28
27
|
s.add_development_dependency(%q<httparty>, [">= 0"])
|
|
28
|
+
s.add_development_dependency(%q<htmlentities>, [">= 0"])
|
|
29
29
|
else
|
|
30
30
|
s.add_dependency(%q<hpricot>, [">= 0"])
|
|
31
31
|
s.add_dependency(%q<httparty>, [">= 0"])
|
|
32
|
+
s.add_dependency(%q<htmlentities>, [">= 0"])
|
|
32
33
|
end
|
|
33
34
|
else
|
|
34
35
|
s.add_dependency(%q<hpricot>, [">= 0"])
|
|
35
36
|
s.add_dependency(%q<httparty>, [">= 0"])
|
|
37
|
+
s.add_dependency(%q<htmlentities>, [">= 0"])
|
|
36
38
|
end
|
|
37
39
|
end
|
data/lib/guia_mais.rb
CHANGED
|
@@ -3,6 +3,9 @@ require "rubygems"
|
|
|
3
3
|
require "httparty"
|
|
4
4
|
require "hpricot"
|
|
5
5
|
require "timeout"
|
|
6
|
+
require "htmlentities"
|
|
7
|
+
require "iconv"
|
|
8
|
+
require "cgi"
|
|
6
9
|
|
|
7
10
|
class String
|
|
8
11
|
def to_utf8
|
|
@@ -14,34 +17,56 @@ module GuiaMais
|
|
|
14
17
|
class GuiaMaisException < Exception
|
|
15
18
|
end
|
|
16
19
|
|
|
20
|
+
# We have to pass a valid UerAgent
|
|
21
|
+
USER_AGENTS = [
|
|
22
|
+
"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)",
|
|
23
|
+
"Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.14 (KHTML, like Gecko) Chrome/10.0.603.3 Safari/534.14",
|
|
24
|
+
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)",
|
|
25
|
+
"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; FunWebProducts; BOIE9;PTBR)",
|
|
26
|
+
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.1; InfoPath.2; .NET CLR 2.0.50727; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; BRI/2)",
|
|
27
|
+
"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2",
|
|
28
|
+
"Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1",
|
|
29
|
+
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+",
|
|
30
|
+
"Opera/9.80 (X11; Linux x86_64; U; pt-BR) Presto/2.9.168 Version/11.51",
|
|
31
|
+
"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; pt-br) AppleWebKit/533.21.1 (KHTML, like Gecko) Safari/522.0",
|
|
32
|
+
"Mozilla/5.0 (X11; U; Linux i686; pt-br) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+",
|
|
33
|
+
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)",
|
|
34
|
+
"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; pt-br) AppleWebKit/533.21.1 (KHTML, like Gecko)",
|
|
35
|
+
"Mozilla/5.0 (Windows NT 6.0; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0",
|
|
36
|
+
"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)",
|
|
37
|
+
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)",
|
|
38
|
+
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.2; .NET4.0C; AskTbATU3/5.13.1.18107)",
|
|
39
|
+
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.2)"
|
|
40
|
+
]
|
|
41
|
+
|
|
17
42
|
ESTADOS = {
|
|
18
|
-
:acre => {:
|
|
19
|
-
:alagoas => {:
|
|
20
|
-
:amazonas => {:
|
|
21
|
-
:amapa => {:
|
|
22
|
-
:bahia => {:
|
|
23
|
-
:ceara => {:
|
|
24
|
-
:distrito_federal => {:
|
|
25
|
-
:espirito_santo => {:
|
|
26
|
-
:goias => {:
|
|
27
|
-
:maranhao => {:
|
|
28
|
-
:minas_gerais => {:
|
|
29
|
-
:mato_grosso_do_sul => {:
|
|
30
|
-
:mato_grosso => {:
|
|
31
|
-
:para => {:
|
|
32
|
-
:paraiba => {:
|
|
33
|
-
:pernambuco => {:
|
|
34
|
-
:piaui => {:
|
|
35
|
-
:parana => {:
|
|
36
|
-
:rio_de_janeiro => {:
|
|
37
|
-
:rio_grande_do_norte => {:
|
|
38
|
-
:rondonia => {:
|
|
39
|
-
:roraima => {:
|
|
40
|
-
:rio_grande_do_sul => {:
|
|
41
|
-
:santa_catarina => {:
|
|
42
|
-
:sergipe => {:
|
|
43
|
-
:sao_paulo => {:
|
|
44
|
-
:tocantins => {:
|
|
43
|
+
:acre => {:sigla => 'AC'},
|
|
44
|
+
:alagoas => {:sigla => 'AL'},
|
|
45
|
+
:amazonas => {:sigla => 'AM'},
|
|
46
|
+
:amapa => {:sigla => 'AP'},
|
|
47
|
+
:bahia => {:sigla => 'BA'},
|
|
48
|
+
:ceara => {:sigla => 'CE'},
|
|
49
|
+
:distrito_federal => {:sigla => 'DF'},
|
|
50
|
+
:espirito_santo => {:sigla => 'ES'},
|
|
51
|
+
:goias => {:sigla => 'GO'},
|
|
52
|
+
:maranhao => {:sigla => 'MA'},
|
|
53
|
+
:minas_gerais => {:sigla => 'MG'},
|
|
54
|
+
:mato_grosso_do_sul => {:sigla => 'MS'},
|
|
55
|
+
:mato_grosso => {:sigla => 'MT'},
|
|
56
|
+
:para => {:sigla => 'PA'},
|
|
57
|
+
:paraiba => {:sigla => 'PB'},
|
|
58
|
+
:pernambuco => {:sigla => 'PE'},
|
|
59
|
+
:piaui => {:sigla => 'PI'},
|
|
60
|
+
:parana => {:sigla => 'PR'},
|
|
61
|
+
:rio_de_janeiro => {:sigla => 'RJ'},
|
|
62
|
+
:rio_grande_do_norte => {:sigla => 'RN'},
|
|
63
|
+
:rondonia => {:sigla => 'RO'},
|
|
64
|
+
:roraima => {:sigla => 'RR'},
|
|
65
|
+
:rio_grande_do_sul => {:sigla => 'RS'},
|
|
66
|
+
:santa_catarina => {:sigla => 'SC'},
|
|
67
|
+
:sergipe => {:sigla => 'SE'},
|
|
68
|
+
:sao_paulo => {:sigla => 'SP'},
|
|
69
|
+
:tocantins => {:sigla => 'TO'}
|
|
45
70
|
}
|
|
46
71
|
|
|
47
72
|
class Cliente
|
|
@@ -64,16 +89,14 @@ module GuiaMais
|
|
|
64
89
|
class Minerador
|
|
65
90
|
include HTTParty
|
|
66
91
|
base_uri "http://www.guiamais.com.br"
|
|
92
|
+
headers 'User-Agent' => USER_AGENTS.shuffle[0]
|
|
67
93
|
@@pagina = ""
|
|
68
94
|
@@query = {}
|
|
69
95
|
|
|
70
96
|
def self.buscar(oque, query = {})
|
|
71
|
-
query[:
|
|
72
|
-
query[:nes] ||= ESTADOS[query[:estado]][:sigla] if query[:estado]
|
|
73
|
-
query[:ies] ||= ESTADOS[query[:estado]][:guia] if query[:estado]
|
|
74
|
-
query.delete(:estado)
|
|
97
|
+
estado = ESTADOS[query[:estado]][:sigla] if query[:estado] || ""
|
|
75
98
|
@@query = query
|
|
76
|
-
resultado = get("/
|
|
99
|
+
resultado = get("/busca/#{CGI.escapeHTML(oque)}-#{estado}")
|
|
77
100
|
@@pagina = Hpricot(resultado.body.to_utf8)
|
|
78
101
|
minerar_dados
|
|
79
102
|
end
|
|
@@ -89,18 +112,26 @@ module GuiaMais
|
|
|
89
112
|
nome, endereco, bairro, cep, categoria = nil
|
|
90
113
|
begin
|
|
91
114
|
timeout(10) do
|
|
92
|
-
nome = buscar_elemento("div
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
115
|
+
nome = buscar_elemento("html/body/div[1]/div/div/div[3]/div[1]/div[1]/div[3]/div[2]/h2/a")
|
|
116
|
+
endereco = buscar_elemento("html/body/div[1]/div/div/div[3]/div[1]/div[1]/div[3]/div[2]/p[1]")
|
|
117
|
+
|
|
118
|
+
unless endereco.nil?
|
|
119
|
+
cep = endereco.slice(endereco.index("CEP:"), endereco.length)
|
|
120
|
+
cep = cep.slice(5, cep.index("<br"))
|
|
121
|
+
cep = cep.slice(0, 9)
|
|
122
|
+
|
|
123
|
+
endereco = endereco.slice(0, endereco.index("<br />"))
|
|
124
|
+
|
|
125
|
+
bairro = endereco.slice(endereco.index(" - "), endereco.length)
|
|
126
|
+
endereco = endereco.slice(0, endereco.index(" - "))
|
|
127
|
+
bairro = bairro.slice(3, bairro.length)
|
|
98
128
|
end
|
|
129
|
+
categoria = buscar_elemento("html/body/div[1]/div/div/div[3]/div[1]/div[1]/div[3]/div[2]/p[2]/b")
|
|
99
130
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
categoria =
|
|
131
|
+
nome = HTMLEntities.new.decode(nome)
|
|
132
|
+
endereco = HTMLEntities.new.decode(endereco)
|
|
133
|
+
bairro = HTMLEntities.new.decode(bairro)
|
|
134
|
+
categoria = Iconv.conv("ISO-8859-1", "UTF-8", categoria)
|
|
104
135
|
end
|
|
105
136
|
rescue TimeoutError
|
|
106
137
|
raise GuiaMaisException.new, 'GuiaMais fora do ar'
|
data/test/guia_mais_test.rb
CHANGED
|
@@ -5,47 +5,48 @@ require "test/unit"
|
|
|
5
5
|
class GuiaMaisTest < Test::Unit::TestCase
|
|
6
6
|
def test_se_funciona_com_32222222_RN
|
|
7
7
|
cliente = GuiaMais::Cliente.buscar("32222222", :estado => :rio_grande_do_norte)
|
|
8
|
-
|
|
9
|
-
assert_equal
|
|
10
|
-
assert_equal cliente.
|
|
11
|
-
assert_equal cliente.
|
|
12
|
-
assert_equal
|
|
8
|
+
#p cliente
|
|
9
|
+
assert_equal "MED DIET DROGARIA", cliente.nome
|
|
10
|
+
assert_equal "Av Afonso Pena 939 ", cliente.endereco
|
|
11
|
+
assert_equal "Tirol", cliente.bairro
|
|
12
|
+
assert_equal "59020-100", cliente.cep
|
|
13
|
+
assert_equal "Farmácias e Drogarias", cliente.categoria
|
|
13
14
|
end
|
|
14
15
|
|
|
15
16
|
def test_se_funciona_com_32222222_PI
|
|
16
17
|
cliente = GuiaMais::Cliente.buscar("32222222", :estado => :piaui)
|
|
17
|
-
assert_equal
|
|
18
|
-
assert_equal
|
|
19
|
-
assert_equal
|
|
20
|
-
assert_equal
|
|
21
|
-
assert_equal cliente.categoria
|
|
18
|
+
assert_equal "RÁDIO TÁXI", cliente.nome
|
|
19
|
+
assert_equal "R Álvaro Ferreira, 60", cliente.endereco
|
|
20
|
+
assert_equal "Monte Castelo", cliente.bairro
|
|
21
|
+
assert_equal "64017-380", cliente.cep
|
|
22
|
+
assert_equal "Táxi", cliente.categoria
|
|
22
23
|
end
|
|
23
24
|
|
|
24
25
|
def test_se_funciona_com_32222222_AP
|
|
25
26
|
cliente = GuiaMais::Cliente.buscar("32222222", :estado => :amapa)
|
|
26
|
-
assert_equal
|
|
27
|
-
assert_equal
|
|
28
|
-
assert_equal cliente.bairro
|
|
29
|
-
assert_equal cliente.cep
|
|
30
|
-
assert_equal
|
|
27
|
+
assert_equal "ELDORADO VEÍCULOS E PEÇAS LTDA", cliente.nome
|
|
28
|
+
assert_equal "Rod BR-156 km 3", cliente.endereco
|
|
29
|
+
assert_equal "Jardim Felicidade", cliente.bairro
|
|
30
|
+
assert_equal "68909-094", cliente.cep
|
|
31
|
+
assert_equal "Automóveis - Concessionárias e Serviços Autorizados", cliente.categoria
|
|
31
32
|
end
|
|
32
33
|
|
|
33
34
|
def test_se_funciona_com_32325151_PI
|
|
34
35
|
cliente = GuiaMais::Cliente.buscar("32325151", :estado => :piaui)
|
|
35
|
-
assert_equal
|
|
36
|
-
assert_equal
|
|
37
|
-
assert_equal cliente.bairro
|
|
38
|
-
assert_equal
|
|
39
|
-
assert_equal
|
|
36
|
+
assert_equal "ARTTE DOS PÉS", cliente.nome
|
|
37
|
+
assert_equal "Av Elias João Tajra, 1684", cliente.endereco
|
|
38
|
+
assert_equal "Jóquei", cliente.bairro
|
|
39
|
+
assert_equal "64049-300", cliente.cep
|
|
40
|
+
assert_equal "Cabeleireiros e Institutos de Beleza", cliente.categoria
|
|
40
41
|
end
|
|
41
42
|
|
|
42
43
|
def test_se_funciona_com_32321311_PI
|
|
43
|
-
cliente = GuiaMais::Cliente.buscar("
|
|
44
|
-
assert_equal
|
|
45
|
-
assert_equal
|
|
46
|
-
assert_equal cliente.bairro
|
|
47
|
-
assert_equal
|
|
48
|
-
assert_equal
|
|
44
|
+
cliente = GuiaMais::Cliente.buscar("21071311", :estado => :piaui)
|
|
45
|
+
assert_equal "ALEMANHA VEÍCULOS", cliente.nome
|
|
46
|
+
assert_equal "Av João XXIII 3480 ", cliente.endereco
|
|
47
|
+
assert_equal "Noivos", cliente.bairro
|
|
48
|
+
assert_equal "64045-000", cliente.cep
|
|
49
|
+
assert_equal "Automóveis - Agências e Revendedores", cliente.categoria
|
|
49
50
|
end
|
|
50
51
|
|
|
51
52
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: guia_mais
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
hash: 13
|
|
5
|
+
prerelease:
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 3
|
|
9
|
+
version: "0.3"
|
|
5
10
|
platform: ruby
|
|
6
11
|
authors:
|
|
7
12
|
- Claudemiro Alves Feitosa Neto
|
|
@@ -9,29 +14,50 @@ autorequire:
|
|
|
9
14
|
bindir: bin
|
|
10
15
|
cert_chain: []
|
|
11
16
|
|
|
12
|
-
date:
|
|
13
|
-
default_executable:
|
|
17
|
+
date: 2011-11-01 00:00:00 Z
|
|
14
18
|
dependencies:
|
|
15
19
|
- !ruby/object:Gem::Dependency
|
|
16
20
|
name: hpricot
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
prerelease: false
|
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
23
|
+
none: false
|
|
20
24
|
requirements:
|
|
21
25
|
- - ">="
|
|
22
26
|
- !ruby/object:Gem::Version
|
|
27
|
+
hash: 3
|
|
28
|
+
segments:
|
|
29
|
+
- 0
|
|
23
30
|
version: "0"
|
|
24
|
-
|
|
31
|
+
type: :development
|
|
32
|
+
version_requirements: *id001
|
|
25
33
|
- !ruby/object:Gem::Dependency
|
|
26
34
|
name: httparty
|
|
35
|
+
prerelease: false
|
|
36
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
37
|
+
none: false
|
|
38
|
+
requirements:
|
|
39
|
+
- - ">="
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
hash: 3
|
|
42
|
+
segments:
|
|
43
|
+
- 0
|
|
44
|
+
version: "0"
|
|
27
45
|
type: :development
|
|
28
|
-
|
|
29
|
-
|
|
46
|
+
version_requirements: *id002
|
|
47
|
+
- !ruby/object:Gem::Dependency
|
|
48
|
+
name: htmlentities
|
|
49
|
+
prerelease: false
|
|
50
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
51
|
+
none: false
|
|
30
52
|
requirements:
|
|
31
53
|
- - ">="
|
|
32
54
|
- !ruby/object:Gem::Version
|
|
55
|
+
hash: 3
|
|
56
|
+
segments:
|
|
57
|
+
- 0
|
|
33
58
|
version: "0"
|
|
34
|
-
|
|
59
|
+
type: :development
|
|
60
|
+
version_requirements: *id003
|
|
35
61
|
description: "Busca dados no site Guia Mais atrav\xC3\xA9s do telefone"
|
|
36
62
|
email: dimiro1@gmail.com
|
|
37
63
|
executables: []
|
|
@@ -39,14 +65,16 @@ executables: []
|
|
|
39
65
|
extensions: []
|
|
40
66
|
|
|
41
67
|
extra_rdoc_files:
|
|
68
|
+
- README
|
|
42
69
|
- lib/guia_mais.rb
|
|
43
70
|
files:
|
|
71
|
+
- README
|
|
44
72
|
- Rakefile
|
|
45
|
-
- Manifest
|
|
46
73
|
- lib/guia_mais.rb
|
|
74
|
+
- test/guia_mais_test.rb
|
|
75
|
+
- Manifest
|
|
47
76
|
- guia_mais.gemspec
|
|
48
|
-
|
|
49
|
-
homepage: ""
|
|
77
|
+
homepage: https://github.com/dimiro1/guia_mais
|
|
50
78
|
licenses: []
|
|
51
79
|
|
|
52
80
|
post_install_message:
|
|
@@ -60,21 +88,28 @@ rdoc_options:
|
|
|
60
88
|
require_paths:
|
|
61
89
|
- lib
|
|
62
90
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
|
+
none: false
|
|
63
92
|
requirements:
|
|
64
93
|
- - ">="
|
|
65
94
|
- !ruby/object:Gem::Version
|
|
95
|
+
hash: 3
|
|
96
|
+
segments:
|
|
97
|
+
- 0
|
|
66
98
|
version: "0"
|
|
67
|
-
version:
|
|
68
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
|
+
none: false
|
|
69
101
|
requirements:
|
|
70
102
|
- - ">="
|
|
71
103
|
- !ruby/object:Gem::Version
|
|
104
|
+
hash: 11
|
|
105
|
+
segments:
|
|
106
|
+
- 1
|
|
107
|
+
- 2
|
|
72
108
|
version: "1.2"
|
|
73
|
-
version:
|
|
74
109
|
requirements: []
|
|
75
110
|
|
|
76
111
|
rubyforge_project: guia_mais
|
|
77
|
-
rubygems_version: 1.
|
|
112
|
+
rubygems_version: 1.8.11
|
|
78
113
|
signing_key:
|
|
79
114
|
specification_version: 3
|
|
80
115
|
summary: "Busca dados no site Guia Mais atrav\xC3\xA9s do telefone"
|