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 +4 -4
- data/lib/mock_search/mock_search_oneway.rb +6 -0
- data/mock_search.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96856a2b8aa3497f54b97522a6f33e20834b2193
|
4
|
+
data.tar.gz: b9df2122a14b4d1254bf092556acebb3a2d9c2f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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-
|
11
|
+
date: 2014-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|