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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 003e0730468b4edfa4d7eb234729bf0f7cbba97d
4
- data.tar.gz: ff786ba5d4178d520a7a4b0f3c046d872dec7eab
3
+ metadata.gz: bd8356374554bf2533237c82a4414f9df1bdb9af
4
+ data.tar.gz: 390cef93beb17c3277e95334559ecf5e0d6d394f
5
5
  SHA512:
6
- metadata.gz: cf2b60cbcb29ab8507c2e7a70b2a31f424af2250fd1906f2f5b677b879b6c8dcddd64ef382d425a28fa2eec6a331dba58738038cde60aa09f46bd267aee86643
7
- data.tar.gz: 05a9d2fe51db4c921cb4ae38ca38422ee70faee018ac0078ae01cc190141c37853d987861aebfbd0311f7fea7c8b6444d88fe88bc3d08b76be7c688f807518e4
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
- modelos = extrai_modelos(page)
48
+ anos_modelos = extrai_anos_modelos(page)
49
49
 
50
- ano_modelo = modelos.invert[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)
@@ -1,3 +1,3 @@
1
1
  module Brfipe
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Batista da Silva