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 +4 -4
- data/lib/mock_search.rb +1 -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: a6ddc5c30d353e24464f9b79a2a898aac2604468
|
4
|
+
data.tar.gz: 9d5c62d33b6f5f960abd5ecbd1fdefcaad8ca0c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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-
|
11
|
+
date: 2015-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|