mock_search 0.28.3 → 0.28.4

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: 82ba6dd907360e9296f0726b1848765d624bea20
4
- data.tar.gz: 1bba46e7998f9a04036b50872d49fdb240d11073
3
+ metadata.gz: 96856a2b8aa3497f54b97522a6f33e20834b2193
4
+ data.tar.gz: b9df2122a14b4d1254bf092556acebb3a2d9c2f5
5
5
  SHA512:
6
- metadata.gz: 54e0e679146ebd1293e8d43fce68d274eba9aa8751ee04047c5f133bea51dfb82aae35d63f08b6aaf6dc12a6a67d51dc7fff2e1986c22d658145d2dbc1b94a11
7
- data.tar.gz: cefb856670b95791838e3270f73275e93e2c6acba22686103c3b61b41ae4177f814c75bf255a8eb98601094b60ae8a64b60d71bb6685ca4eaa9ec4ae27673c64
6
+ metadata.gz: 581c989dcf55754f3ef1f392b2b3da1dbff278c771a466f4bed251aa91e0b4f5f8beecb0cb474e52a3cc69243ed8da76b92ff65301d59b7f3edee139e4b548fc
7
+ data.tar.gz: 14f45cec135e0c9d566e871b8ca8357ee6d9370ff6f94e06d3646f5bdc298a3477f75ec7dae20d2e967a6262ffe326172571b61fa668f5195d2e5c86d9da3997
@@ -54,6 +54,12 @@ class MockSearchOneway < MockSearch
54
54
  return @host + landing + "/#{dep}/#{ret}"
55
55
  end
56
56
 
57
+ #genero la url para ingresar a la home de vuelos
58
+ def generate_url_landing_home()
59
+ landing = (@site == "BR" ? "/passagens-aereas" : "/vuelos")
60
+ return @host + landing
61
+ end
62
+
57
63
  def get_ticket_date()
58
64
  super()
59
65
  @result_hash['itinerary_hash'] = @itinerary['itinerariesBox']['matchingInfoMap']['_0_-1']['id']
data/mock_search.gemspec CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  gem.require_paths = ["lib"] #Usualmente es solo lib -> ["lib"]
17
17
 
18
- gem.version = '0.28.3' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
18
+ gem.version = '0.28.4' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
19
19
 
20
20
  gem.add_dependency('httparty')
21
21
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mock_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.3
4
+ version: 0.28.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-31 00:00:00.000000000 Z
11
+ date: 2014-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty