mock_search 1.0.3 → 1.0.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: 6069a146895cb02f84236c26cd1fe3e71924316e
4
- data.tar.gz: 2d12ba40f9d23cd87608b07413d0087bad3b2785
3
+ metadata.gz: a6ddc5c30d353e24464f9b79a2a898aac2604468
4
+ data.tar.gz: 9d5c62d33b6f5f960abd5ecbd1fdefcaad8ca0c5
5
5
  SHA512:
6
- metadata.gz: 06b69d5e3a4207761c713b5c80556c424ccd5c345973690fdc611540189e8a60933b120dfd7e2916dfd9a5a65b7ae047a6db2fe674e1fedf6c13bb6226eda62c
7
- data.tar.gz: 8ae6ec27ec53c94c5c22d496edcf5d9baea7d9e9a5f9bb1303984679a6fc69db0073cb77e5e63697a64ae169321b5fc539bcbb3aed6f69c3e64a9f92b1cbc58e
6
+ metadata.gz: 63a279e970b3628659d4e083be666223c6614e3ca73632a2e3ce86b47cedbf5a52cda4af40809046879538ba962beb98c796974295d01c65fdaaf677aa6cac3c
7
+ data.tar.gz: 474e5e581ba3be05b97f5245c2436beb0a1d31584d5ca61b8a23f4b70414ecfb478c0d97b4e0c6a438472aedcd00fe926a51d49954a93937b16bb40ad7a99aad
data/lib/mock_search.rb CHANGED
@@ -93,6 +93,7 @@ class MockSearch
93
93
  def get_results_search_service(type="TOTALFARE")
94
94
  set_header_json({"referer"=>self.generate_url_results_search})
95
95
  set_header_json({"User-Agent"=>"Mozilla\/5.0"})
96
+ #set_header_json({"Set-Cookie"=>"e69af441-f7f8-42ea-9af4-41f7f8f2ea2c-MULTIPLEDESTINATIONS-MEX_BUE_SJO-BUE_SJO_MEX\=10\; Expires\=Fri, 20-Mar-2015 18:40:18 GMT\; Path=\/"})
96
97
  unless @json
97
98
  @json = HTTParty.get(self.generate_url_results_search_service(type),:headers => @header)
98
99
  end
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 = '1.0.3' #La version se debe incrementar cada vez que se desea publicar una nueva version del test.
18
+ gem.version = '1.0.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: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - lgonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-03 00:00:00.000000000 Z
11
+ date: 2015-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty