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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c4a4a81cb34cfa393153470bcbd4e92c85a8772dd03062222fa785900f96535
4
- data.tar.gz: 6c8702620175538fd7a1712f818dad10e57ca66256e8045db2c7a77512deea3e
3
+ metadata.gz: 2128b5725af834b41e2b77bb6e6cc236fe1896b33b129870370b3862eddd90fe
4
+ data.tar.gz: c77e912387425cfc59f05bfee888ff60d0cf3b28e2a8608f02a5619d68484f57
5
5
  SHA512:
6
- metadata.gz: 6b7ff411a76b5e84ae35c23c0bdeb028e45fde33b08a0766f207848f14659c4097ec8619754f0bdb36f5a80ad38d1f7cc01a893058f8816ac772b7ae714ea5d1
7
- data.tar.gz: 58b6f4a3233dd14debb186b5a63b72a82edc557b6234ce816614820d8bedccbd4371754c39ffe384eead5f898fe9a0e5a2ea4d5aab7a2dc3e2aa4b7c5c8a5c79
6
+ metadata.gz: 383cf0125eb5ee187983dc57a4a79b65c4285e3950fe7d1c52c7e3df1ea87b63fe4a9a443842ad7d57109d2a703d5e2c1c0c120783b1e66322d78d1c98333f94
7
+ data.tar.gz: 258e87786884857121b50a3400df140cb873fa68f1c7b1992794bbff73b2370aa1e715a920a06b00522f1d9b742d30b55e6a6d8ef2bb297eb342cff39d014c99
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Capybara
4
4
  module WSL
5
- VERSION = "1.0.2"
5
+ VERSION = "1.0.3"
6
6
  end
7
7
  end
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 self.modify_path(path)
36
+ def modify_path(path)
37
37
  path[1..-1].prepend(detect_path).gsub("/", "\\")
38
38
  end
39
39
 
40
- def self.detect_path
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.2
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-16 00:00:00.000000000 Z
11
+ date: 2023-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara