gillbus 0.20.0 → 0.20.1

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: bd4f1397e33a3f080cc2cbaf71079d3ee1a2d620
4
- data.tar.gz: 0cceb90c341e2137e81b51d2ef597b5e1b957844
3
+ metadata.gz: 5e2ea04f1bf030c4bfefe126755eb32a201b0544
4
+ data.tar.gz: 896b9a8022c9feea241c02698059358b555962bf
5
5
  SHA512:
6
- metadata.gz: 51110d42884c545f9faccba44bcd1ca5aeff7c321002ec57cec42a80c125902ca3b8223258a36ce1685254cc12a762e8347fe72ea1e3831f1da052f78c373bb9
7
- data.tar.gz: 3eb457ec67c063dfc708778f16deaf8033df8feccd5b5571bbead73cec95e0f4efd4c123ef7d1d4ca0450a0a092e5ebd0fb37a6ba2b6c778d4f400d88d00cfd9
6
+ metadata.gz: 6b93e1ca83d4314172298ad036d247700961ff52004a55380c8898544a890110d9897d9796318094ab4c1abb8455f808a81c94edc6baacc08ca60abd0ee0a750
7
+ data.tar.gz: 3364cd75d1a50b6f244cae28c425844340234f609652754402327b9bf12337556abe5a37de14ba018452d4ff212ab182d21edc87a3db841f52564e0f5a9f3394
@@ -1,3 +1,3 @@
1
1
  class Gillbus
2
- VERSION = '0.20.0'.freeze
2
+ VERSION = '0.20.1'.freeze
3
3
  end
data/lib/gillbus.rb CHANGED
@@ -28,6 +28,7 @@ class Gillbus
28
28
  headers = {}
29
29
  headers['Cookie'] = self.class.make_cookies(session_id) if session_id
30
30
  headers['Accept-Encoding'] = 'gzip'
31
+ headers['Host'] = driver.host
31
32
  request_time_start = Time.now
32
33
  http_response = driver.public_send(request.method, request.path, request.params, headers)
33
34
  request_time_end = Time.now
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.20.0
4
+ version: 0.20.1
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: 2019-03-04 00:00:00.000000000 Z
12
+ date: 2019-03-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport