playwright-ruby-client 0.5.7 → 0.5.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6edb69becb86be4d50f959a89b068bca80135f98b7db737a8de23301abd92310
|
4
|
+
data.tar.gz: 61b8b4aed269864caadb03b780787ebb627269bdcf416ce1513b77a530c87dbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8826473bfaf34affa5898551a68cc421403c0cea9cccd436fa3181706f84b3ef49cac4629a9749259096b41c90dcaa1cd844b88e0e4b6bf8a9761d6270ed07a2
|
7
|
+
data.tar.gz: 7d554a71a19a3473108b2e4a8e213a3dcac1adbdfa74c007fd95bc868f9d882b9c319660be65700e09791e1111526544875575150e81c0dea0437f818f29b4dc
|
@@ -31,7 +31,7 @@ module Playwright
|
|
31
31
|
def wrap
|
32
32
|
api_class = detect_class_for(@impl.class)
|
33
33
|
if api_class
|
34
|
-
api_class.new(@impl)
|
34
|
+
@impl._api ||= api_class.new(@impl)
|
35
35
|
else
|
36
36
|
raise NotImplementedError.new("Playwright::#{expected_class_name_for(@impl.class)} is not implemented")
|
37
37
|
end
|
@@ -101,10 +101,6 @@ module Playwright
|
|
101
101
|
@impl = impl
|
102
102
|
end
|
103
103
|
|
104
|
-
def ==(other)
|
105
|
-
@impl.to_s == other.instance_variable_get(:'@impl').to_s
|
106
|
-
end
|
107
|
-
|
108
104
|
# @param block [Proc]
|
109
105
|
private def wrap_block_call(block)
|
110
106
|
return nil unless block.is_a?(Proc)
|
data/lib/playwright/version.rb
CHANGED
@@ -740,13 +740,13 @@ module Playwright
|
|
740
740
|
end
|
741
741
|
|
742
742
|
# @nodoc
|
743
|
-
def
|
744
|
-
wrap_impl(@impl.
|
743
|
+
def pause
|
744
|
+
wrap_impl(@impl.pause)
|
745
745
|
end
|
746
746
|
|
747
747
|
# @nodoc
|
748
|
-
def
|
749
|
-
wrap_impl(@impl.
|
748
|
+
def options=(req)
|
749
|
+
wrap_impl(@impl.options=(unwrap_impl(req)))
|
750
750
|
end
|
751
751
|
|
752
752
|
# -- inherited from EventEmitter --
|
@@ -60,13 +60,13 @@ module Playwright
|
|
60
60
|
end
|
61
61
|
|
62
62
|
# @nodoc
|
63
|
-
def
|
64
|
-
wrap_impl(@impl.
|
63
|
+
def after_initialize
|
64
|
+
wrap_impl(@impl.after_initialize)
|
65
65
|
end
|
66
66
|
|
67
67
|
# @nodoc
|
68
|
-
def
|
69
|
-
wrap_impl(@impl.
|
68
|
+
def ok?
|
69
|
+
wrap_impl(@impl.ok?)
|
70
70
|
end
|
71
71
|
|
72
72
|
# -- inherited from EventEmitter --
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playwright-ruby-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YusukeIwaki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|