puppeteer-ruby 0.44.0 → 0.44.1

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: 6ade25ba8f8e99240ed29fdad9300af7b65cc12ddf09e45c43f7b672c6324ed4
4
- data.tar.gz: 97d3bfc48b3a2e3729dd8857c2bb6deca7babd4d0b055195f2dbe7c01c941e97
3
+ metadata.gz: be00cf03b9d0af6dc9e45db6e839078a6049ab855e390cc7cab823d822bf3e39
4
+ data.tar.gz: 82952f2d764fceb2e71f53ff179d3c47fc3ee4a18f64600934cc7410819b5a08
5
5
  SHA512:
6
- metadata.gz: 891d8c29ac63d25cdb34178024d7a9202675d77b121a903e24a51e9465e46a9b7a0a9b70a2d893d9b274724b5547d5bb90e133aa2c217052f3f523f952e1a0a3
7
- data.tar.gz: eea1fb6ff2f179208932a3bb84ca96841b1b08ff588d914e88ace6ad9e31f71c567c21321e3376b019a265122e51a4352b3f0039dd6bea770dba2a383efe82e5
6
+ metadata.gz: 1d37409bcfc18abf2b69c1b748e492fd02c4f94f1fc8a90fb3c6b1f5d8f50d2e20b6af684bb77668e1890ad80f8301d02a971a8da9d74ba1cd7be1194688c33c
7
+ data.tar.gz: b7cf719950ee40764b5a76389609ad085a26572ac1f31b1aeb133319b4bbcd4b4975ba33fd1eba62e5e9c31dded634d5ced3ff5cb2fe998987a32cfcfb372c01
data/CHANGELOG.md CHANGED
@@ -1,13 +1,18 @@
1
- ### main [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.44.0...main)]
1
+ ### main [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.44.1...main)]
2
2
 
3
3
  - xxx
4
4
 
5
+ ### 0.44.1 [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.44.0...0.44.1)]
6
+
7
+ Bugfix
8
+
9
+ - Ensure closing websocket [#269](https://github.com/YusukeIwaki/puppeteer-ruby/pull/269)
10
+
5
11
  ### 0.44.0 [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.43.1...0.44.0)]
6
12
 
7
13
  - Port Puppeteer v17.0-v17.1 features.
8
14
  - `wait_for_selector` no longer accept `root` parameter.
9
15
 
10
-
11
16
  ### 0.43.1 [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.43.0...0.43.1)]
12
17
 
13
18
  - Port Puppeteer v16.1 features, including bugfix and XPath query handler.
@@ -50,7 +55,6 @@ Bugfix:
50
55
 
51
56
  - Prevent `Ctrl+C` from stopping Chrome [#196](https://github.com/YusukeIwaki/puppeteer-ruby/pull/196)
52
57
 
53
-
54
58
  ### 0.40.2 [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.40.1...0.40.2)]
55
59
 
56
60
  Bugfix:
@@ -72,7 +76,6 @@ New features:
72
76
  - Puppeteer 13.0, 13.1 functionalities
73
77
  - Support Ruby 3.1
74
78
 
75
-
76
79
  ### 0.39.0 [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.38.0...0.39.0)]
77
80
 
78
81
  New features:
@@ -84,12 +87,11 @@ New features:
84
87
  New features:
85
88
 
86
89
  - Puppeteer 11.0 functionalities
87
- * OOP iframe support
88
- * Customize debugging port
89
- * HTTPRequest#initiator
90
- * Customize temp directory for user data
91
- * Add webp to screenshot quality option allow list
92
-
90
+ - OOP iframe support
91
+ - Customize debugging port
92
+ - HTTPRequest#initiator
93
+ - Customize temp directory for user data
94
+ - Add webp to screenshot quality option allow list
93
95
 
94
96
  ### 0.37.4 [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.37.3...0.37.4)]
95
97
 
@@ -1,3 +1,3 @@
1
1
  module Puppeteer
2
- VERSION = '0.44.0'
2
+ VERSION = '0.44.1'
3
3
  end
@@ -45,6 +45,10 @@ class Puppeteer::WebSocket
45
45
  rescue Errno::ECONNRESET
46
46
  raise EOFError.new('closed by remote')
47
47
  end
48
+
49
+ def dispose
50
+ @socket.close
51
+ end
48
52
  end
49
53
 
50
54
  STATE_CONNECTING = 0
@@ -107,6 +111,7 @@ class Puppeteer::WebSocket
107
111
  return if @ready_state >= STATE_CLOSING
108
112
  @ready_state = STATE_CLOSING
109
113
  @driver.close(reason, code)
114
+ @impl.dispose
110
115
  end
111
116
 
112
117
  def on_open(&block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppeteer-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.44.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - YusukeIwaki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-21 00:00:00.000000000 Z
11
+ date: 2022-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby