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 +4 -4
- data/CHANGELOG.md +12 -10
- data/lib/puppeteer/version.rb +1 -1
- data/lib/puppeteer/web_socket.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: be00cf03b9d0af6dc9e45db6e839078a6049ab855e390cc7cab823d822bf3e39
|
|
4
|
+
data.tar.gz: 82952f2d764fceb2e71f53ff179d3c47fc3ee4a18f64600934cc7410819b5a08
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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
|
|
data/lib/puppeteer/version.rb
CHANGED
data/lib/puppeteer/web_socket.rb
CHANGED
|
@@ -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.
|
|
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-
|
|
11
|
+
date: 2022-10-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: concurrent-ruby
|