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
- MzljN2I2YzFjYTZkMmZkZDUyNmRmNWRiMjUwMjA0NzRlNWZkMjgwYg==
4
+ YzYxZGEwYTE5MjVkYzBiMWU2MTAzZmExYWFjMTc4YzZjNTIzYzY5MQ==
5
5
  data.tar.gz: !binary |-
6
- ODQ2YThiN2RlN2ExY2E2MzlkZmUwMzhlZWE4M2Y4ZTk2NGI0OTQyNw==
6
+ M2UzMmY2NjY3NWRiNGIxZDY0MmYyODFmYTlkMmJiYWRlMmZlNzU2MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YWVhZDJkNzJlOTBhYTFkMWRiZTBhZmFhN2M1NGM5MzZkMGQxZmUxNGVmOTIw
10
- MmM1NWQwNWVlZDA1MmY2YWUzMTRiODZjNGI2ZGNlOTBjOGMzZDcwYjJjYTBl
11
- YzNmYTY5MDcyZDczZmUxNmZhOGIzNWQ3MzhmYzc0YzY0NmM1Mzc=
9
+ ZWU1MDJmNjE0NWQ1OWRmZDNjN2YwOThjY2QzNTVkZjQ4N2I5ZWRmN2E1ZmZl
10
+ N2Y3OTU5Y2IxZmJjOTcwMDk1ODQyZGU1MGUxYzczNmRiMmQzNjhiOTU1YzI0
11
+ Y2VlMDA5ZmRlY2M1ZTZlY2NmNjdiNzczODNjZjVlOTMyOGNlZjQ=
12
12
  data.tar.gz: !binary |-
13
- OTdlYTk0NTlkNTAwZGNjMzcwNzk1YWUyYmZhYWQ1Njg2YTRiOWY1MmUzZGY5
14
- NzI2MDY2ODdkNzU4MWIyM2Y2YjEzZDZkMzIyMjljODVmOTYyMmViZjFjODc1
15
- ZmIyMGVhMjliNDQ2M2E4ZGM4OTQyNmRlMTI3NzI2ZmUwODZiODU=
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 + "/TOTALFARE/ASCENDING?hashForData=#{digest_md5()}"
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 + "/TOTALFARE/ASCENDING/NA/NA/NA/NA?hashForData=#{digest_md5()}"
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 + "/TOTALFARE/ASCENDING/NA/NA/NA/NA/NA?hashForData=#{digest_md5()}"
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.6' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
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.6
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-02-11 00:00:00.000000000 Z
11
+ date: 2014-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty