capybara-wsl 1.0.2 → 1.0.3
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 +4 -4
- data/lib/capybara/wsl/version.rb +1 -1
- data/lib/capybara/wsl.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2128b5725af834b41e2b77bb6e6cc236fe1896b33b129870370b3862eddd90fe
|
|
4
|
+
data.tar.gz: c77e912387425cfc59f05bfee888ff60d0cf3b28e2a8608f02a5619d68484f57
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 383cf0125eb5ee187983dc57a4a79b65c4285e3950fe7d1c52c7e3df1ea87b63fe4a9a443842ad7d57109d2a703d5e2c1c0c120783b1e66322d78d1c98333f94
|
|
7
|
+
data.tar.gz: 258e87786884857121b50a3400df140cb873fa68f1c7b1992794bbff73b2370aa1e715a920a06b00522f1d9b742d30b55e6a6d8ef2bb297eb342cff39d014c99
|
data/lib/capybara/wsl/version.rb
CHANGED
data/lib/capybara/wsl.rb
CHANGED
|
@@ -33,11 +33,11 @@ module Capybara
|
|
|
33
33
|
warn "File saved to #{wsl_path}.\nPlease install the launchy gem to open the file automatically."
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
def
|
|
36
|
+
def modify_path(path)
|
|
37
37
|
path[1..-1].prepend(detect_path).gsub("/", "\\")
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
-
def
|
|
40
|
+
def detect_path
|
|
41
41
|
path = `wslpath -m "/"`&.strip
|
|
42
42
|
|
|
43
43
|
if path.empty?
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capybara-wsl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mark Tityuk
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-11-
|
|
11
|
+
date: 2023-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capybara
|