capybara-rack_test-screenshot 0.1.1 → 0.1.2

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: 8165f761bf47281da1979d31ff8c358d54431bae76b7836076ba243fc3379ed5
4
- data.tar.gz: 4e0527e42e2e8f73ca2f510d62eeb2e0550f79b81214b62e7e99e59c3e3aa87e
3
+ metadata.gz: cbf0f91a0871cfcf1d7699d39cb12af5751b8f61b91145105700648f1ddd18a9
4
+ data.tar.gz: 8fc85a157154d03ca8b2381bf308db6c477cad54078d4a277d8f29f22392751a
5
5
  SHA512:
6
- metadata.gz: 95fb74ed5744e8902cf216c1b26e004e18aca69efc5e9e6269b5830820e78ac29e14524904efcc045d31380f93d2bb793021b894aba0d3b7d7593113862db340
7
- data.tar.gz: dd6bc0da76d16db6b244fff65b597661185647d13ceadc37bcf200705502052d06c66cc4bf3acf99147385097d5679c831aa818538d3496bd745653fa35e302c
6
+ metadata.gz: c4466b91fdd44ff5d3bf17546cb042c855c2ce589fca8b17faf7bbe6d1d517b015aa19ddc5a5901d5c01afc546fcd49ff828d3a8edc4f0b148fa8482810b8083
7
+ data.tar.gz: dc049da05acf59a5642b9947630b1195b9e25d4f6f53d85722dfe16214c8d4a70207238666491b76b73370044f717d60572aebb48c9e12b27dbd5040ed7830d2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.2] - 2025-08-07
4
+
5
+ - Make sure default playwright version is compatible with the Ruby client
6
+
3
7
  ## [0.1.1] - 2025-06-10
4
8
 
5
9
  - Add compatibility with `capybara-screenshot` gem
@@ -3,7 +3,7 @@
3
3
  module Capybara
4
4
  module RackTest
5
5
  module Screenshot
6
- VERSION = "0.1.1"
6
+ VERSION = "0.1.2"
7
7
  end
8
8
  end
9
9
  end
@@ -67,7 +67,10 @@ module Capybara
67
67
  end
68
68
 
69
69
  def playwright_cli_executable_path
70
- ENV['PLAYWRIGHT_CLI_EXE_PATH'] || 'npx playwright'
70
+ ENV['PLAYWRIGHT_CLI_EXE_PATH'] || begin
71
+ version = Gem::Version.create(Playwright::COMPATIBLE_PLAYWRIGHT_VERSION)
72
+ "npx playwright@#{version.release}"
73
+ end
71
74
  end
72
75
 
73
76
  def ensure_asset_host!
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-rack_test-screenshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Theodor Tonum
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-10 00:00:00.000000000 Z
11
+ date: 2025-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara