puppeteer-ruby 0.45.1 → 0.45.2.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/puppeteer/version.rb +1 -1
- data/sig/puppeteer-ruby.rbs +15 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b2e7db71178949dc03f20d47279041dbf563c4b17f3126532539f504d2984a8
|
4
|
+
data.tar.gz: 07c66b13e7a6961491a51b2b887382e07117a88022d9cb61eaa90fd616813a26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4832b56c94e59b6a42de187c356a6633c5dab69193ebf12cdf454c07b3b25c110909f26336eeb5ece9330d146e8dff8f6c214e4f3c442d53f4917e57bb82bd1b
|
7
|
+
data.tar.gz: 8a2546023787aa960b129f8145059079d7706e8d9e4ff5683d20010ee6f47bb128f989d62a0a2de65382bf2aefd8ede3dad66a1fcd5b4f17deb6f9f1e8a97bf2
|
data/lib/puppeteer/version.rb
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
module Puppeteer
|
2
|
+
class Browser
|
3
|
+
def new_page: -> Page
|
4
|
+
end
|
5
|
+
|
6
|
+
class Page
|
7
|
+
def goto: (String url) -> Response
|
8
|
+
def content=: (String) -> void
|
9
|
+
def screenshot:(?path: String) -> String
|
10
|
+
end
|
11
|
+
|
12
|
+
type channelName = 'chrome' | 'chrome-beta' | 'chrome-dev' | 'chrome-canary' | 'msedge' | 'firefox'
|
13
|
+
type launchArgs = Array[String]
|
14
|
+
def self.launch: (?headless: bool, ?channel: channelName, ?executable_path: string, args: launchArgs) ?{ (Browser) -> void } -> Browser
|
15
|
+
end
|
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.45.
|
4
|
+
version: 0.45.2.alpha1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YusukeIwaki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -332,6 +332,7 @@ files:
|
|
332
332
|
- lib/puppeteer/web_socket_transport.rb
|
333
333
|
- puppeteer-ruby.gemspec
|
334
334
|
- puppeteer-ruby.png
|
335
|
+
- sig/puppeteer-ruby.rbs
|
335
336
|
homepage: https://github.com/YusukeIwaki/puppeteer-ruby
|
336
337
|
licenses: []
|
337
338
|
metadata: {}
|
@@ -346,9 +347,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
346
347
|
version: '2.6'
|
347
348
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
348
349
|
requirements:
|
349
|
-
- - "
|
350
|
+
- - ">"
|
350
351
|
- !ruby/object:Gem::Version
|
351
|
-
version:
|
352
|
+
version: 1.3.1
|
352
353
|
requirements: []
|
353
354
|
rubygems_version: 3.4.1
|
354
355
|
signing_key:
|