brfipe 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +7 -0
- data/lib/brfipe/fipe.rb +4 -0
- data/lib/brfipe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 003e0730468b4edfa4d7eb234729bf0f7cbba97d
|
4
|
+
data.tar.gz: ff786ba5d4178d520a7a4b0f3c046d872dec7eab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf2b60cbcb29ab8507c2e7a70b2a31f424af2250fd1906f2f5b677b879b6c8dcddd64ef382d425a28fa2eec6a331dba58738038cde60aa09f46bd267aee86643
|
7
|
+
data.tar.gz: 05a9d2fe51db4c921cb4ae38ca38422ee70faee018ac0078ae01cc190141c37853d987861aebfbd0311f7fea7c8b6444d88fe88bc3d08b76be7c688f807518e4
|
data/.gitignore
CHANGED
data/lib/brfipe/fipe.rb
CHANGED
@@ -44,6 +44,10 @@ class Fipe
|
|
44
44
|
data << ["__VIEWSTATE", view_state]
|
45
45
|
|
46
46
|
page = get_data(data, veiculo)
|
47
|
+
|
48
|
+
modelos = extrai_modelos(page)
|
49
|
+
|
50
|
+
ano_modelo = modelos.invert[ano_modelo]
|
47
51
|
|
48
52
|
view_state = catch_view_state(page)
|
49
53
|
event_validation = catch_event_validation(page)
|
data/lib/brfipe/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brfipe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Batista da Silva
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-12 00:00:00 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|