cetsp 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,16 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
8
+ group :development do
9
+ gem "rspec", "~> 2.3.0"
10
+ gem "bundler", "~> 1.0.0"
11
+ gem "jeweler", "~> 1.6.4"
12
+ gem "rcov", ">= 0"
13
+ end
14
+
15
+ gem 'nokogiri'
16
+
data/Gemfile.lock ADDED
@@ -0,0 +1,30 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ diff-lcs (1.1.3)
5
+ git (1.2.5)
6
+ jeweler (1.6.4)
7
+ bundler (~> 1.0)
8
+ git (>= 1.2.5)
9
+ rake
10
+ nokogiri (1.5.0)
11
+ rake (0.9.2)
12
+ rcov (0.9.11)
13
+ rspec (2.3.0)
14
+ rspec-core (~> 2.3.0)
15
+ rspec-expectations (~> 2.3.0)
16
+ rspec-mocks (~> 2.3.0)
17
+ rspec-core (2.3.1)
18
+ rspec-expectations (2.3.0)
19
+ diff-lcs (~> 1.1.2)
20
+ rspec-mocks (2.3.0)
21
+
22
+ PLATFORMS
23
+ ruby
24
+
25
+ DEPENDENCIES
26
+ bundler (~> 1.0.0)
27
+ jeweler (~> 1.6.4)
28
+ nokogiri
29
+ rcov
30
+ rspec (~> 2.3.0)
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Plinio Balduino
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,19 @@
1
+ = cetsp
2
+
3
+ Description goes here.
4
+
5
+ == Contributing to cetsp
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
+ * Fork the project
10
+ * Start a feature/bugfix branch
11
+ * Commit and push until you are happy with your contribution
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * 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.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2011 Plinio Balduino. See LICENSE.txt for
18
+ further details.
19
+
data/Rakefile ADDED
@@ -0,0 +1,49 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "cetsp"
18
+ gem.homepage = "http://github.com/pbalduino/cetsp"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{TODO: one-line summary of your gem}
21
+ gem.description = %Q{TODO: longer description of your gem}
22
+ gem.email = "pbalduino+github@gmail.com"
23
+ gem.authors = ["Plinio Balduino"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rspec/core'
29
+ require 'rspec/core/rake_task'
30
+ RSpec::Core::RakeTask.new(:spec) do |spec|
31
+ spec.pattern = FileList['spec/**/*_spec.rb']
32
+ end
33
+
34
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
35
+ spec.pattern = 'spec/**/*_spec.rb'
36
+ spec.rcov = true
37
+ end
38
+
39
+ task :default => :spec
40
+
41
+ require 'rake/rdoctask'
42
+ Rake::RDocTask.new do |rdoc|
43
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
44
+
45
+ rdoc.rdoc_dir = 'rdoc'
46
+ rdoc.title = "cetsp #{version}"
47
+ rdoc.rdoc_files.include('README*')
48
+ rdoc.rdoc_files.include('lib/**/*.rb')
49
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
data/lib/cetsp.rb ADDED
@@ -0,0 +1,39 @@
1
+ # encoding UTF-8
2
+
3
+ require 'nokogiri'
4
+
5
+ module CetSp
6
+ class Parser
7
+
8
+ def initialize(source)
9
+ @parser = Nokogiri::HTML(open(source), nil, 'UTF-8')
10
+ @events = []
11
+ end
12
+
13
+ def parse
14
+ rows = @parser.xpath('//body/center/table[2]/tr')
15
+ rows.each do |row|
16
+ begin
17
+ @events << Event.new(:code => row.children[0].to_str.gsub(/\302\240/, ' ').strip.to_i,
18
+ :place => row.children[2].to_str.gsub(/\302\240/, ' ').strip,
19
+ :direction => row.children[4].to_str.gsub(/\302\240/, ' ').strip,
20
+ :since => DateTime.strptime(row.children[6].to_str.gsub(/\302\240/, ' ').strip, "%d/%m/%y-%H:%M"))
21
+ rescue
22
+ end
23
+ end
24
+ @events
25
+ end
26
+ end
27
+
28
+ class Event
29
+ attr_reader :code, :place, :direction, :since
30
+
31
+ def initialize(options)
32
+ @code = options[:code]
33
+ @place = options[:place]
34
+ @direction = options[:direction]
35
+ @since = options[:since]
36
+ end
37
+ end
38
+ end
39
+
@@ -0,0 +1,20 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "Cetsp" do
4
+
5
+ SOURCE = File.expand_path(File.dirname(__FILE__) + '/../spec/sample/ocorrencias.html')
6
+
7
+ before :each do
8
+ @cetsp = CetSp::Parser.new(SOURCE)
9
+ end
10
+
11
+ it "should load a sample file" do
12
+ @cetsp.should_not be nil
13
+ end
14
+
15
+ it "should return whatever" do
16
+ p '---->', @cetsp.parse
17
+ end
18
+
19
+ end
20
+
@@ -0,0 +1,263 @@
1
+
2
+ <html>
3
+ <head>
4
+ <META name=VI60_defaultClientScript content=VBScript>
5
+ <title>CET - Ocorr�ncias</title>
6
+
7
+ <style type="text/css">
8
+ <!--
9
+ BODY
10
+ {
11
+ FONT-SIZE: 10px;
12
+ COLOR: #000000;
13
+ FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
14
+ BACKGROUND-COLOR: #ffffff
15
+ }
16
+ H1
17
+ {
18
+ FONT-WEIGHT: bold;
19
+ FONT-SIZE: 17px;
20
+ COLOR: #000000;
21
+ FONT-STYLE: normal;
22
+ FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
23
+ }
24
+ H2
25
+ {
26
+ FONT-WEIGHT: bold;
27
+ FONT-SIZE: 15px;
28
+ COLOR: #000000;
29
+ FONT-STYLE: normal;
30
+ FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
31
+ }
32
+ H3
33
+ {
34
+ FONT-WEIGHT: bold;
35
+ FONT-SIZE: 14px;
36
+ COLOR: brown;
37
+ FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
38
+ }
39
+ H4
40
+ {
41
+ FONT-WEIGHT: bold;
42
+ FONT-SIZE: 12px;
43
+ COLOR: #0033cc;
44
+ FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
45
+ }
46
+ TH
47
+ {
48
+ FONT-WEIGHT: bold;
49
+ FONT-SIZE: 11px;
50
+ COLOR: #ffffff;
51
+ FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
52
+ BACKGROUND-COLOR: #003366
53
+ }
54
+ TABLE
55
+ {
56
+ BORDER-RIGHT: #ffffff 1px solid;
57
+ BORDER-TOP: #ffffff 1px solid;
58
+ FONT-SIZE: 10px;
59
+ BORDER-LEFT: #ffffff 1px solid;
60
+ COLOR: #000000;
61
+ BORDER-BOTTOM: #ffffff 1px solid;
62
+ FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
63
+ }
64
+ TR
65
+ {
66
+ VERTICAL-ALIGN: middle;
67
+ TEXT-ALIGN: left
68
+ }
69
+ .cor1 {
70
+ BACKGROUND-COLOR: #eaeaea
71
+ }
72
+ .cor2 {
73
+ BACKGROUND-COLOR: #dbdbdb
74
+ }
75
+ -->
76
+ </style>
77
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
78
+ <meta http-equiv="Pragma" content="no-cache">
79
+
80
+
81
+ <script language=javascript>
82
+
83
+ function Abre(ordem) {
84
+ if (ordem=="C")
85
+ { window.open ("ocorrencias.asp?ordem=C", "_self","");}
86
+ if (ordem=="H")
87
+ { window.open ("ocorrenciasH.asp?ordem=H", "_self","");}
88
+ }
89
+
90
+ </script>
91
+
92
+ </head>
93
+
94
+ <body>
95
+
96
+
97
+ <style type="text/css">
98
+ <!--
99
+ .barra {
100
+ font-family: Verdana, Tahoma, Arial;
101
+ font-weight: normal;
102
+ color: #FFFFCC;
103
+ font-size: 10px;
104
+ }
105
+ -->
106
+ </style>
107
+
108
+ <script language=javascript>
109
+ function OpenWindow( pagina, largura, altura, janela )
110
+ {
111
+ window.status = "";
112
+
113
+ strFeatures = "top=100,left=200,width=" + largura + ",height=" + altura + ",toolbar=no,"
114
+ + "menubar=no,location=no,directories=no,resizable=1,status=no,scrollbars=1";
115
+ objNewWindow = window.open(pagina ,janela , strFeatures);
116
+ objNewWindow.focus()
117
+ }
118
+
119
+ </script>
120
+
121
+ <div id="Layer1" style="position:absolute; width:200px; height:30px; z-index:1; left:100px; top: 4px;"><img src="http://cetsp1.cetsp.com.br/monitransmapa/agora/barra.gif" width="590" height="30">
122
+ <div id="hora" style="position:absolute; width:52px; height:19px; z-index:2; left: 83px; top: 9px; visibility: inherit;" class="barra"><b>11:12</b></div>
123
+ <!--div id="lentidao" style="position:absolute; width:52px; height:19px; z-index:2; left: 213px; top: 8px; visibility: inherit;" class="barra"><b>5879</b> km</div-->
124
+ <div id="lentidao" style="position:absolute; width:52px; height:19px; z-index:2; left: 210px; top: 8px; visibility: inherit;" class="barra"><b>0,7%</b></div>
125
+ <div id="tendencia" style="position:absolute; width:52px; height:19px; z-index:2; left: 319px; top: 10px; visibility: inherit;" class="barra"><img src="http://cetsp1.cetsp.com.br/monitransmapa/agora/img/BAIXA.gif" alt="BAIXA"></div>
126
+ <div id="bTendencias" style="position:absolute; width:31px; height:23px; z-index:1; left: 401px; top: 6px; cursor:hand"><a href="javascript:OpenWindow('http://cetsp1.cetsp.com.br/monitransmapa/IMG10/eixos.asp', '790', '440','eixos')"><img src="http://cetsp1.cetsp.com.br/monitransmapa/agora/img/bTendencia.jpg" width="27" height="21" border="0" title="Tend�ncia por Eixo"></a></div>
127
+ <div id="bGraficos" style="position:absolute; width:31px; height:23px; z-index:1; left: 434px; top: 6px; cursor:hand"><a href="javascript:OpenWindow('http://cetsp1.cetsp.com.br/monitransmapa/agora/graficolimite.asp', '760', '535', 'grafico')"><img src="http://cetsp1.cetsp.com.br/monitransmapa/agora/img/bGraficos.jpg" width="27" height="21" border="0" title="Gr�fico de Lentid�o"></a></div>
128
+ <div id="bLentidoes" style="position:absolute; width:31px; height:23px; z-index:1; left: 466px; top: 6px; cursor:hand"><a href="javascript:OpenWindow('http://cetsp1.cetsp.com.br/monitransmapa/IMG10/lentidao.asp', '790', '600', 'lentidao')"><img src="http://cetsp1.cetsp.com.br/monitransmapa/agora/img/bLentidao.jpg" width="27" height="21" border="0" title="Lentid�o por Corredor"></a></div>
129
+ <div id="bOcorrencias" style="position:absolute; width:31px; height:23px; z-index:1; left: 498px; top: 6px; cursor:hand"><a href="javascript:OpenWindow('http://cetsp1.cetsp.com.br/monitransmapa/IMG10/ocorrencias.asp', '790', '600', 'ocorrencias')"><img src="http://cetsp1.cetsp.com.br/monitransmapa/agora/img/bOcorrencias.jpg" width="27" height="21" border="0" title="Ocorr�ncias"></a></div>
130
+
131
+ <div id="bAjuda" style="position:absolute; width:31px; height:23px; z-index:1; left: 562px; top: 6px; cursor:hand"><a href="javascript:OpenWindow('http://cetsp1.cetsp.com.br/monitransmapa/agora/ajuda.htm', '790', '600', 'ajuda')"><img src="http://cetsp1.cetsp.com.br/monitransmapa/agora/img/bAjuda.jpg" width="27" height="21" border="0" title="Ajuda"></a></div>
132
+ </div>
133
+
134
+
135
+ <center>
136
+ <br>
137
+ <br>
138
+ <h3>Ocorr�ncias</h3>
139
+
140
+
141
+ <table style="position:absolute; top:10; left:12" cellpadding=0>
142
+ <tr><td>Ordem:</td></tr>
143
+ <tr><td><input type=radio name=optOrdem value="C" style="position:relative; top:3" checked onclick="javascript:Abre('C')">C�digo</td></tr>
144
+ <tr><td><input type=radio name=optOrdem value="H" style="position:relative; top:3" onclick="javascript:Abre('H')">In�cio</td></tr>
145
+ </table>
146
+
147
+ <table>
148
+ <tr>
149
+ <th width='3%'><b>C�digo</b></th>
150
+ <th width='47%'><b>Local</b></th>
151
+ <th width='20%'><b>Sentido</b></th>
152
+ <th width='18%'><b>In�cio</b></th>
153
+ </tr>
154
+ <tr class="cor1" title="�nibus imobilizado na via">
155
+ <td>206&nbsp;</td>
156
+ <td>R TEODORO SAMPAIO X R FERNAO DIAS </td>
157
+ <td>UNICO&nbsp;</td>
158
+ <td>22/10/11-08:46&nbsp;</td>
159
+ </tr>
160
+ <tr class="cor2" title="Acidente com v�tima">
161
+ <td>302&nbsp;</td>
162
+ <td>AV ENG LUIZ CARLOS BERRINI X AV DR CHUCRI ZAIDAN </td>
163
+ <td>BANDEIRANTES/MORUMBI&nbsp;</td>
164
+ <td>22/10/11-06:24&nbsp;</td>
165
+ </tr>
166
+ <tr class="cor1" title="Acidente com v�tima">
167
+ <td>302&nbsp;</td>
168
+ <td>R CEL PAULO MARIANO X AV CALIM EID </td>
169
+ <td>CENTRO/BAIRRO&nbsp;</td>
170
+ <td>22/10/11-08:52&nbsp;</td>
171
+ </tr>
172
+ <tr class="cor2" title="Atropelamento">
173
+ <td>304&nbsp;</td>
174
+ <td>MARGINAL PINHEIROS CB INT EXPR X PTE ENG ARY TORRES </td>
175
+ <td>CASTELO/INTERLAGOS&nbsp;</td>
176
+ <td>22/10/11-07:39&nbsp;</td>
177
+ </tr>
178
+ <tr class="cor1" title="Atropelamento">
179
+ <td>304&nbsp;</td>
180
+ <td>AV RIO BRANCO X AV DUQ DE CAXIAS </td>
181
+ <td>BAIRRO/CENTRO&nbsp;</td>
182
+ <td>22/10/11-10:43&nbsp;</td>
183
+ </tr>
184
+ <tr class="cor2" title="Falta de energia el�trica">
185
+ <td>315&nbsp;</td>
186
+ <td>CV AYRTON SENNA 2203 </td>
187
+ <td>BAIRRO/CENTRO&nbsp;</td>
188
+ <td>22/10/11-09:24&nbsp;</td>
189
+ </tr>
190
+ <tr class="cor1" title="Queda de �rvore">
191
+ <td>331&nbsp;</td>
192
+ <td>R S SEVERO 457 </td>
193
+ <td>BAIRRO/CENTRO&nbsp;</td>
194
+ <td>22/10/11-10:15&nbsp;</td>
195
+ </tr>
196
+ <tr class="cor2" title="Defeito na rede de tr�leibus">
197
+ <td>334&nbsp;</td>
198
+ <td>AV CRUZEIRO DO SUL 247 </td>
199
+ <td>SANTANA/IPIRANGA&nbsp;</td>
200
+ <td>22/10/11-10:16&nbsp;</td>
201
+ </tr>
202
+ <tr class="cor1" title="Sem�foro apagado">
203
+ <td>561&nbsp;</td>
204
+ <td>R JOAQUIM FLORIANO X R CLODOMIRO AMAZONAS </td>
205
+ <td>NAO INFORMADO&nbsp;</td>
206
+ <td>22/10/11-09:20&nbsp;</td>
207
+ </tr>
208
+ <tr class="cor2" title="Sem�foro apagado">
209
+ <td>561&nbsp;</td>
210
+ <td>R CLODOMIRO AMAZONAS X R TABAPUA </td>
211
+ <td>&nbsp;</td>
212
+ <td>22/10/11-09:21&nbsp;</td>
213
+ </tr>
214
+ <tr class="cor1" title="Sem�foro em amarelo intermitente">
215
+ <td>565&nbsp;</td>
216
+ <td>AV CARLOS CALDEIRA FILHO X R ROGERIO DE PAULA BRITO </td>
217
+ <td>&nbsp;</td>
218
+ <td>22/10/11-07:14&nbsp;</td>
219
+ </tr>
220
+ <tr class="cor2" title="Sem�foro em amarelo intermitente">
221
+ <td>565&nbsp;</td>
222
+ <td>AV CELSO GARCIA 1572 </td>
223
+ <td>AMBOS&nbsp;</td>
224
+ <td>22/10/11-07:44&nbsp;</td>
225
+ </tr>
226
+ <tr class="cor1" title="Sem�foro em amarelo intermitente">
227
+ <td>565&nbsp;</td>
228
+ <td>AV STO AMARO X R JOAQUIM GUARANI </td>
229
+ <td>&nbsp;</td>
230
+ <td>22/10/11-07:55&nbsp;</td>
231
+ </tr>
232
+ <tr class="cor2" title="Sem�foro em amarelo intermitente">
233
+ <td>565&nbsp;</td>
234
+ <td>AV STO AMARO X R ANDREA PAULINETTI </td>
235
+ <td>&nbsp;</td>
236
+ <td>22/10/11-07:58&nbsp;</td>
237
+ </tr>
238
+ <tr class="cor1" title="Sem�foro em amarelo intermitente">
239
+ <td>565&nbsp;</td>
240
+ <td>R STO AMERICO X AV GIOVANNI GRONCHI </td>
241
+ <td>CENTRO/BAIRRO&nbsp;</td>
242
+ <td>22/10/11-10:08&nbsp;</td>
243
+ </tr>
244
+ <tr class="cor2" title="Sem�foro em amarelo intermitente">
245
+ <td>565&nbsp;</td>
246
+ <td>R STO AMERICO X AV GIOVANNI GRONCHI </td>
247
+ <td>CENTRO/BAIRRO&nbsp;</td>
248
+ <td>22/10/11-10:49&nbsp;</td>
249
+ </tr>
250
+ <tr class="cor1" title="Sem�foro em amarelo intermitente">
251
+ <td>565&nbsp;</td>
252
+ <td>R CANTAGALO X R ITAPURA </td>
253
+ <td>&nbsp;</td>
254
+ <td>22/10/11-11:09&nbsp;</td>
255
+ </tr>
256
+ <tr class="cor2" title="Sem�foro em amarelo intermitente">
257
+ <td>565&nbsp;</td>
258
+ <td>PC RAMOS DE AZEVEDO X R CONS CRISPINIANO </td>
259
+ <td>&nbsp;</td>
260
+ <td>22/10/11-11:11&nbsp;</td>
261
+ </tr>
262
+ </body>
263
+ </HTML>
@@ -0,0 +1,12 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+ require 'cetsp'
5
+
6
+ # Requires supporting files with custom matchers and macros, etc,
7
+ # in ./support/ and its subdirectories.
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
+
10
+ RSpec.configure do |config|
11
+
12
+ end
metadata ADDED
@@ -0,0 +1,114 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cetsp
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Plinio Balduino
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-10-22 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: nokogiri
16
+ requirement: &72515690 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *72515690
25
+ - !ruby/object:Gem::Dependency
26
+ name: rspec
27
+ requirement: &72515450 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: 2.3.0
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *72515450
36
+ - !ruby/object:Gem::Dependency
37
+ name: bundler
38
+ requirement: &72514980 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: 1.0.0
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *72514980
47
+ - !ruby/object:Gem::Dependency
48
+ name: jeweler
49
+ requirement: &72514170 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 1.6.4
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *72514170
58
+ - !ruby/object:Gem::Dependency
59
+ name: rcov
60
+ requirement: &72513310 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *72513310
69
+ description: Returns data from cetsp.com.br in Ruby format
70
+ email: pbalduino+github@gmail.com
71
+ executables: []
72
+ extensions: []
73
+ extra_rdoc_files:
74
+ - LICENSE.txt
75
+ - README.rdoc
76
+ files:
77
+ - .document
78
+ - .rspec
79
+ - Gemfile
80
+ - Gemfile.lock
81
+ - LICENSE.txt
82
+ - README.rdoc
83
+ - Rakefile
84
+ - VERSION
85
+ - lib/cetsp.rb
86
+ - spec/cetsp_spec.rb
87
+ - spec/sample/ocorrencias.html
88
+ - spec/spec_helper.rb
89
+ homepage: http://github.com/pbalduino/cetsp
90
+ licenses:
91
+ - MIT
92
+ post_install_message:
93
+ rdoc_options: []
94
+ require_paths:
95
+ - lib
96
+ required_ruby_version: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ required_rubygems_version: !ruby/object:Gem::Requirement
103
+ none: false
104
+ requirements:
105
+ - - ! '>='
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ requirements: []
109
+ rubyforge_project:
110
+ rubygems_version: 1.8.6
111
+ signing_key:
112
+ specification_version: 3
113
+ summary: Returns data from cetsp.com.br in Ruby format
114
+ test_files: []