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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 061717304c911054d7958701d0453ae6243f1efc
4
- data.tar.gz: 481cf904061a7696bdfabc23359710e0a0d83707
3
+ metadata.gz: f01e510405f0a0a984ef6a6439c025df0c2950c4
4
+ data.tar.gz: 10ac092fda9d90ce4917ab37bf0d6766b2d4b032
5
5
  SHA512:
6
- metadata.gz: cfc65005717460f4f77283acf4b572b8b45c94d2d67445d89b39fc2a4845fd53adf446e1b3783182615afabb346c487e8d48c28f331fb628d2dc40016a86f955
7
- data.tar.gz: 4af31b24aa23bf174da9d40d9abd7f0b9219d8016a6592a9fa62d733b9b033f378181ff815d0204707fc4d9a966e80ced0cbb544bfde3cfbff05e6e98277a424
6
+ metadata.gz: 8d9194934cb1dc11e2903b9189a53fbedd055197584191e08f2178deba3aac4e8e3c98b1f529d86afa80dda842288d06895b6154dddd8ac9564b90a3090d6b0e
7
+ data.tar.gz: 97d6c525029fc5a6de2cf8ad47df17fc80fdedab00758ea22b1031ac845140687ac76edbf09d21aff8e1712be3b52b6bb637a804acb566ed4372c8713006a4be
@@ -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 = { 'Cookie' => "JSESSIONID=#{session_id}" } if session_id
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
@@ -1,3 +1,3 @@
1
1
  class Gillbus
2
- VERSION = '0.18.1'.freeze
2
+ VERSION = '0.18.2'.freeze
3
3
  end
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.1
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-01 00:00:00.000000000 Z
12
+ date: 2018-06-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport