brfipe 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/brfipe/fipe.rb +2 -2
- data/lib/brfipe/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd8356374554bf2533237c82a4414f9df1bdb9af
|
4
|
+
data.tar.gz: 390cef93beb17c3277e95334559ecf5e0d6d394f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8965eb2aec7a7b638fa667801b896f91cef636a11143975258f4cf17804e9002730cbe747003043eb0df28e8bc7d70b492304a72cc02939488b55be0afc7903d
|
7
|
+
data.tar.gz: f238d0d5f33e145f75a473ce6ec7dfc2b317afc93ac3a71af28afa06f521cb1bdf2e035413b0b186b606c7a193423cc474b16a59878035375ac6148b64878aa9
|
data/lib/brfipe/fipe.rb
CHANGED
@@ -45,9 +45,9 @@ class Fipe
|
|
45
45
|
|
46
46
|
page = get_data(data, veiculo)
|
47
47
|
|
48
|
-
|
48
|
+
anos_modelos = extrai_anos_modelos(page)
|
49
49
|
|
50
|
-
ano_modelo =
|
50
|
+
ano_modelo = anos_modelos.invert[ano_modelo]
|
51
51
|
|
52
52
|
view_state = catch_view_state(page)
|
53
53
|
event_validation = catch_event_validation(page)
|
data/lib/brfipe/version.rb
CHANGED