coelacanth 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b0de37380e1baaf97ecdbd15909bd84d20dda5bee7af7c3e267a7e035bc5b63
4
- data.tar.gz: '08f9b452549ed9166e94fe2f2244adb4ff7c6b1b93f4aea6602faa33e3eb436e'
3
+ metadata.gz: 41aad54c94809f8a2ebcc11887b5a53e031458b27f189a45dbfb218cdd0a21e4
4
+ data.tar.gz: 8578d206cf4ad6006fdb5853ff56771e98d019ef0269815ae1e98697404e7f6a
5
5
  SHA512:
6
- metadata.gz: 8057607e40d7b490521487972e33fe73345f0d01de7f2e7a04ac728032f5c018b06b935aead884b532eea4248c0264efb0463dff8abd4225ab929e11c17f3548
7
- data.tar.gz: b56428c0e7625f91aefdeeefb6a979ac0ed2ea01fa2a517fd9d5d96cf901ac1c0c342d4078fbfa1aca63cf3577de635f7ea729a89017837c72165a3d0c6ead3d
6
+ metadata.gz: 10ae872e1777c747b0b82fc9ed63bff4c9840143fbb2dc958a4d41a609fe7a25a0576e387edda882ebbe8045281b20069ca91e2995a48474a4cbdb35669b1bba
7
+ data.tar.gz: f139d375c6c08842bf28a114eac1984a7010c9aeb90e87a8ab85f3d857ead9438d1820d6cd69249c6b1fb6616d447bd4a5b805af1e6700230cd7fed90b775323
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- coelacanth (0.3.4)
4
+ coelacanth (0.3.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -32,13 +32,12 @@ module Coelacanth::Client
32
32
 
33
33
  headers = @config.read("remote_client.headers")
34
34
 
35
- @browser = ::Ferrum::Browser.new(
35
+ @remote_client = ::Ferrum::Browser.new(
36
36
  ws_url: @config.read("remote_client.ws_url"),
37
37
  timeout: @config.read("remote_client.timeout")
38
38
  )
39
- @remote_client = @browser.create_page
40
39
 
41
- @remote_client.headers.set(headers) if headers && headers.any?
40
+ @remote_client.page.headers.set(headers) if headers && headers.any?
42
41
 
43
42
  @remote_client
44
43
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Coelacanth
4
- VERSION = "0.3.4"
4
+ VERSION = "0.3.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coelacanth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yusuke