playwright-ruby-client 1.58.1.alpha1 → 1.58.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: 78c64e38b462ad2449eda1349128c44ae6dbe7adae66570b76cd886e005f418f
4
- data.tar.gz: d410ab0adf418bbf8f43925984a95663b7f947519b85e9afa93bec64daf76f06
3
+ metadata.gz: 22108b8b1e5e9488c99db9d754715fd700d29fac599ee605449701c93be11055
4
+ data.tar.gz: d9ce245e505e17085630c58c75721823f0c1019324066d79b43f707f711b9310
5
5
  SHA512:
6
- metadata.gz: 319787778e82280859a291247e01b4fc5626b12974e9d7e08fd7331beb596696f15cc83c09d9b6f2cb5a76c15ef30308cc9e9eb7f2f16462188d08bc72546ddc
7
- data.tar.gz: df5b988a9124a42006720bee860c3ebc91804ebc9ce396a922b0dbd0e1a1c81798912cd42530f91dcde49da83432b60be17cded55408548d7e795a7991b8276b
6
+ metadata.gz: 10534107850650b883dac4b7b817bfe641ba91ae7414f828a0fbcf8941dacbf6015cbcb9b68a8de828eb2559c4feefab5a5cc539e1c07935ced1a668773c98c1
7
+ data.tar.gz: 8661b9a7991ae2e81fe5a43ac71f41fa7e405bdb1c9a04cf984bf02052f47615f86dfaac8a8deecf0a36f41ebd960bc3499493956087b9ba063315843ebf2bc7
@@ -1,8 +1,12 @@
1
1
  require 'base64'
2
+ require 'fileutils'
2
3
 
3
4
  module Playwright
4
5
  define_channel_owner :Stream do
5
6
  def save_as(path)
7
+ parent_dir = File.dirname(path)
8
+ FileUtils.mkdir_p(parent_dir) unless parent_dir == '.'
9
+
6
10
  File.open(path, 'wb') do |f|
7
11
  read_with_block do |chunk|
8
12
  f.write(chunk)
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playwright
4
- VERSION = '1.58.1.alpha1'
5
- COMPATIBLE_PLAYWRIGHT_VERSION = '1.58.0'
4
+ VERSION = '1.58.1'
5
+ COMPATIBLE_PLAYWRIGHT_VERSION = '1.58.2'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playwright-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.58.1.alpha1
4
+ version: 1.58.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - YusukeIwaki
@@ -444,5 +444,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
444
444
  requirements: []
445
445
  rubygems_version: 3.6.9
446
446
  specification_version: 4
447
- summary: The Ruby binding of playwright driver 1.58.0
447
+ summary: The Ruby binding of playwright driver 1.58.2
448
448
  test_files: []