mock_search 0.27.6 → 0.27.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzYxZGEwYTE5MjVkYzBiMWU2MTAzZmExYWFjMTc4YzZjNTIzYzY5MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
M2UzMmY2NjY3NWRiNGIxZDY0MmYyODFmYTlkMmJiYWRlMmZlNzU2MA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWU1MDJmNjE0NWQ1OWRmZDNjN2YwOThjY2QzNTVkZjQ4N2I5ZWRmN2E1ZmZl
|
10
|
+
N2Y3OTU5Y2IxZmJjOTcwMDk1ODQyZGU1MGUxYzczNmRiMmQzNjhiOTU1YzI0
|
11
|
+
Y2VlMDA5ZmRlY2M1ZTZlY2NmNjdiNzczODNjZjVlOTMyOGNlZjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDQwZDU5MzE2OTZjYWU0NmUyZGVlNGM0YTNhMzliMTRmNjRhZjlmMGNmOTY0
|
14
|
+
ZDMyNGQyYWJmYzY0MTZlYjgyYWQ5NDE5YzdhMGU2NGNjNzk3NTIyMzViOTc4
|
15
|
+
MTRkNWMwZGIyZjc3NmZlNDRmYzk0YmRhNDc4MzYxYTYzZjI2ZDk=
|
@@ -40,8 +40,8 @@ class MockSearchMultipledestinations < MockSearch
|
|
40
40
|
end
|
41
41
|
|
42
42
|
#genero la url del servicio de resultados
|
43
|
-
def generate_url_results_search_service()
|
44
|
-
return @host + "/shop/flights/data/search/multipledestinations/" + @path + "/
|
43
|
+
def generate_url_results_search_service(type="TOTALFARE")
|
44
|
+
return @host + "/shop/flights/data/search/multipledestinations/" + @path + "/#{type}/ASCENDING?hashForData=#{digest_md5()}"
|
45
45
|
end
|
46
46
|
|
47
47
|
def get_ticket_date()
|
@@ -39,8 +39,8 @@ class MockSearchOneway < MockSearch
|
|
39
39
|
end
|
40
40
|
|
41
41
|
#genero la url del servicio de resultados
|
42
|
-
def generate_url_results_search_service()
|
43
|
-
return @host + "/shop/flights/data/search/oneway/" + @path + "/
|
42
|
+
def generate_url_results_search_service(type="TOTALFARE")
|
43
|
+
return @host + "/shop/flights/data/search/oneway/" + @path + "/#{type}/ASCENDING/NA/NA/NA/NA?hashForData=#{digest_md5()}"
|
44
44
|
end
|
45
45
|
|
46
46
|
#genero la url del paginado
|
@@ -52,8 +52,8 @@ class MockSearchRoundtrip < MockSearch
|
|
52
52
|
end
|
53
53
|
|
54
54
|
#genero la url del servicio de resultados
|
55
|
-
def generate_url_results_search_service()
|
56
|
-
return @host + "/shop/flights/data/search/roundtrip/" + @path + "/
|
55
|
+
def generate_url_results_search_service(type="TOTALFARE")
|
56
|
+
return @host + "/shop/flights/data/search/roundtrip/" + @path + "/#{type}/ASCENDING/NA/NA/NA/NA/NA?hashForData=#{digest_md5()}"
|
57
57
|
end
|
58
58
|
|
59
59
|
#genero la url del paginado
|
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.27.
|
18
|
+
gem.version = '0.27.7' #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.27.
|
4
|
+
version: 0.27.7
|
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-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|