flights_gui_tests 2.3.1 → 2.3.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3197cbf45174c268db4950805fc51536d2431618
4
- data.tar.gz: 73495cf44f2cfc809a8a904fb24c553649780aa7
3
+ metadata.gz: b281a1188589cb60463ed94db36693da2020f0a4
4
+ data.tar.gz: 8eea7afc168f650583f070cafc26a188f06a8a39
5
5
  SHA512:
6
- metadata.gz: 39d913d42cba9d7821515874fedd5d3660ce8d5d6bb8b14f4c4656b9c5be38a2e59f8425d4c720d2126877da62c8235c9f100b84dcbd2f61ede6e4cfb633fdfb
7
- data.tar.gz: 52a11514bd8383c09b72837fb381099da9deb46dc72adc3ed76a2300b5af2bba6f28fe6e5d9b54c3857611698fb9160447ec4aeadf6733bfe002f5d10c83b097
6
+ metadata.gz: f783cb65dd66b9e8f0e69f073f1b79843aeae7eca2a01d9ccb878776589bc9dbc264bc0c2507791c42da017c7ca9054aeaf668ed4eb2b6bc7c21c6798732a971
7
+ data.tar.gz: bb0a7edf56d41bf454e1c04a5b950e4e2f470dd9da7ca55bfc78daeb9a55919430ea338e3a920ee63df39b270953777171ffcc218cae80b3c4bc6986f02ae904
@@ -50,7 +50,11 @@ module NewCheckout
50
50
  vuelo_tmp['nombre'] = (vuelo/"li.location-name").inner_text.strip.no_accents
51
51
  vuelo_tmp['fecha'] = (vuelo/"li.date").inner_text.strip.no_accents
52
52
  @fechas << vuelo_tmp['fecha']
53
- vuelo_tmp['horario'] = Time.parse((vuelo/"li.time").inner_text.gsub(/hs|h/,'').strip)
53
+ begin
54
+ vuelo_tmp['horario'] = Time.parse((vuelo/"li.time").inner_text.gsub(/hs|h/,'').strip)
55
+ rescue ArgumentError
56
+ vuelo_tmp['horario'] = Time.parse("00:00")
57
+ end
54
58
  return vuelo_tmp
55
59
  end
56
60
 
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.3.1"
2
+ VERSION = "2.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flights_gui_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez