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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 412f52682f38ac6c222322326a469ea07d987975c7fe07196340b5f39fa5bdc6
4
- data.tar.gz: 682a995b393142f31cc0199c94069f1181cab580382404ab5f94b646d53cf690
3
+ metadata.gz: 8b2e7db71178949dc03f20d47279041dbf563c4b17f3126532539f504d2984a8
4
+ data.tar.gz: 07c66b13e7a6961491a51b2b887382e07117a88022d9cb61eaa90fd616813a26
5
5
  SHA512:
6
- metadata.gz: 44620fbfc70cb6ea47b27f858be327dd5c16d46a7978fc55c1fad1d5f8f04d051e3aeec0de64a633eaf6986373de1f336266ecbf190c72a098d728454e4ce279
7
- data.tar.gz: 9fa7e97f996bd994ad7d2db77f9e2433dcc545fdcf90c1711495cf2270d6c9a41442c3abf5f852cca2bda353a9e971c3861cab96fa81ae288e2e7acedd0361dd
6
+ metadata.gz: 4832b56c94e59b6a42de187c356a6633c5dab69193ebf12cdf454c07b3b25c110909f26336eeb5ece9330d146e8dff8f6c214e4f3c442d53f4917e57bb82bd1b
7
+ data.tar.gz: 8a2546023787aa960b129f8145059079d7706e8d9e4ff5683d20010ee6f47bb128f989d62a0a2de65382bf2aefd8ede3dad66a1fcd5b4f17deb6f9f1e8a97bf2
@@ -1,3 +1,3 @@
1
1
  module Puppeteer
2
- VERSION = '0.45.1'
2
+ VERSION = '0.45.2.alpha1'
3
3
  end
@@ -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.1
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-20 00:00:00.000000000 Z
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: '0'
352
+ version: 1.3.1
352
353
  requirements: []
353
354
  rubygems_version: 3.4.1
354
355
  signing_key: