gillbus 0.18.1 → 0.18.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gillbus.rb +3 -1
- data/lib/gillbus/version.rb +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: f01e510405f0a0a984ef6a6439c025df0c2950c4
|
4
|
+
data.tar.gz: 10ac092fda9d90ce4917ab37bf0d6766b2d4b032
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d9194934cb1dc11e2903b9189a53fbedd055197584191e08f2178deba3aac4e8e3c98b1f529d86afa80dda842288d06895b6154dddd8ac9564b90a3090d6b0e
|
7
|
+
data.tar.gz: 97d6c525029fc5a6de2cf8ad47df17fc80fdedab00758ea22b1031ac845140687ac76edbf09d21aff8e1712be3b52b6bb637a804acb566ed4372c8713006a4be
|
data/lib/gillbus.rb
CHANGED
@@ -25,7 +25,9 @@ class Gillbus
|
|
25
25
|
request_class = klass::Request
|
26
26
|
response_class = klass::Response
|
27
27
|
request = request_class.new(*args)
|
28
|
-
headers = {
|
28
|
+
headers = {}
|
29
|
+
headers['Cookie'] = "JSESSIONID=#{session_id}" if session_id
|
30
|
+
headers['Accept-Encoding'] = 'gzip'
|
29
31
|
request_time_start = Time.now
|
30
32
|
http_response = driver.public_send(request.method, request.path, request.params, headers)
|
31
33
|
request_time_end = Time.now
|
data/lib/gillbus/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gillbus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey "codesnik" Trofimenko
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-06-
|
12
|
+
date: 2018-06-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|