flights_gui_tests 2.3.9 → 2.3.10

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: 789b3e40625277f20919177c889e4f8ffbcfb46a
4
- data.tar.gz: 7ed77d57213e077c612a5e3ca25545f4c0690815
3
+ metadata.gz: 8cd0f32a93a8b1640e64284d41a03cbe955dba75
4
+ data.tar.gz: a3ba840a901313e80ab0f694c48f7d5db5c3991b
5
5
  SHA512:
6
- metadata.gz: c6d350ffa7d99c00e2ad2b5ee57838acc9ece32169491406803219433729e93555d9aae6c3b9bfd36e5a07561fa9f13f1e08b20a577bccb4d9f5f82186412627
7
- data.tar.gz: 032a441e8a4ff434f70d62bd37a0de033b8dc0287910997d67a8f9bcc7d1d5d2076fcd630f94490f9fdbea8af30830d918922403ec5f9377b8d6eb87c2bf8f88
6
+ metadata.gz: 533e9e4b6296501bdb024723428ff07f24dc3e03e0d41f8cea86d89e5314398c59ede5efb94eedca7fae6daf5cf3815236a5ba16b964aae7bb40ca3b859f09ad
7
+ data.tar.gz: d0904334a79b232783b8c3920e337b9c792c2d48467f68ac16ba70d324858950a9435e96279cc72127409893c0bec4e655a3b450182e3200c6618367d615eb48
@@ -65,16 +65,16 @@ module NewCheckout
65
65
  else
66
66
  @tarifas['tarifa_adulto'] = Price.new((html/"div.adult-price-conversion span#local-currency").first.inner_text.strip)
67
67
  end
68
- @tarifas['adt'] = Price.new((html/"li.adult_fare span.price-currency").first.inner_text.strip)
69
- @tarifas['cnn'] = (html/"li.child_fare").first ? Price.new((html/"li.child_fare span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
70
- @tarifas['inf'] = (html/"li.infant_fare").first ? Price.new((html/"li.infant_fare span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
71
- @tarifas['tasas'] = (html/"li.taxes").first ? Price.new((html/"li.taxes span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
72
- @tarifas['cargos'] = (html/"li.charges").first ? Price.new((html/"li.charges span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
73
- @tarifas['afip'] = (html/"li.tax_afip").first ? Price.new((html/"li.tax_afip span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
74
- @tarifas['encargos'] = (html/"li.service_taxes").first ? Price.new((html/"li.service_taxes span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
75
- @tarifas['seguros'] = (html/"li.destination_service_insurance").first ? Price.new((html/"li.destination_service_insurance span.price-currency").first.inner_text.strip) : Price.new("$ 0",true)
76
- @tarifas['descuento'] = (html/"li.payment_discount").first ? Price.new((html/"li.payment_discount span.price-currency span.currency").first.inner_text.strip+" "+((html/"li.payment_discount span.price-currency span.amount").first.inner_text.strip.gsub(/\D/,'').to_i*-1).to_s) : Price.new("$ 0",true)
77
- @tarifas['total'] = (html/"span#total-price").first ? Price.new((html/"span#total-price").first.inner_text.strip) : Price.new("$ 0",true)
68
+ @tarifas['adt'] = Price.new((html/"li.adult_fare span.price-currency").first.inner_text.strip.gsub(/\D/,''))
69
+ @tarifas['cnn'] = (html/"li.child_fare").first ? Price.new((html/"li.child_fare span.price-currency").first.inner_text.strip.gsub(/\D/,'')) : Price.new("$ 0",true)
70
+ @tarifas['inf'] = (html/"li.infant_fare").first ? Price.new((html/"li.infant_fare span.price-currency").first.inner_text.strip.gsub(/\D/,'')) : Price.new("$ 0",true)
71
+ @tarifas['tasas'] = (html/"li.taxes").first ? Price.new((html/"li.taxes span.price-currency").first.inner_text.stri.gsub(/\D/,'')p) : Price.new("$ 0",true)
72
+ @tarifas['cargos'] = (html/"li.charges").first ? Price.new((html/"li.charges span.price-currency").first.inner_text.strip.gsub(/\D/,'')) : Price.new("$ 0",true)
73
+ @tarifas['afip'] = (html/"li.tax_afip").first ? Price.new((html/"li.tax_afip span.price-currency").first.inner_text.strip.gsub(/\D/,'')) : Price.new("$ 0",true)
74
+ @tarifas['encargos'] = (html/"li.service_taxes").first ? Price.new((html/"li.service_taxes span.price-currency").first.inner_text.strip.gsub(/\D/,'')) : Price.new("$ 0",true)
75
+ @tarifas['seguros'] = (html/"li.destination_service_insurance").first ? Price.new((html/"li.destination_service_insurance span.price-currency").first.inner_text.strip.gsub(/\D/,'')) : Price.new("$ 0",true)
76
+ @tarifas['descuento'] = (html/"li.payment_discount").first ? Price.new((html/"li.payment_discount span.price-currency span.currency").first.inner_text.strip.gsub(/\D/,'')+" "+((html/"li.payment_discount span.price-currency span.amount").first.inner_text.strip.gsub(/\D/,'').to_i*-1).to_s) : Price.new("$ 0",true)
77
+ @tarifas['total'] = (html/"span#total-price").first ? Price.new((html/"span#total-price").first.inner_text.strip.gsub(/\D/,'')) : Price.new("$ 0",true)
78
78
  end
79
79
 
80
80
  def validar_suma_desgloce(linea = "total|tarifa_adulto|tarifa_adulto_dolar")
@@ -1,3 +1,3 @@
1
1
  module FlightsGui
2
- VERSION = "2.3.9"
2
+ VERSION = "2.3.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flights_gui_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.9
4
+ version: 2.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-21 00:00:00.000000000 Z
11
+ date: 2015-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: henry-container