closer 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/closer.gemspec +2 -2
- data/lib/closer/helpers/driver.rb +6 -5
- data/lib/closer/version.rb +1 -1
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b625623a1f35935806a9bb599580458493ae5e4548bc2bcd58b4a3c47df3a87f
|
4
|
+
data.tar.gz: '09d8fcb96c6119cdb1f3f4e68c373de923ec61d30325b2dab3fad93f002c5b66'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5088995d29993749ad54ff89cb70ff6ec292a13b8699d225dae6f2474cbac794856892db4a65e5b085dd0e450dc49e68d48ac2508ead691d0dc56220e8d2b6e
|
7
|
+
data.tar.gz: 8be384eae2da7cad8ebc3f6edcccf27d0b1f43781e2ffde36729265a6d56cc02ecc2e990c53d03ac8003d42abf099bc790fa29bdeea4d8f6dd9d95dbdf9119d0
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.7.8
|
data/closer.gemspec
CHANGED
@@ -19,9 +19,9 @@ Gem::Specification.new do |spec|
|
|
19
19
|
|
20
20
|
spec.required_ruby_version = '~> 2.7'
|
21
21
|
|
22
|
-
spec.add_runtime_dependency 'cucumber', '>= 3.0', '
|
22
|
+
spec.add_runtime_dependency 'cucumber', '>= 3.0', '< 9.0'
|
23
23
|
spec.add_runtime_dependency 'capybara', '>= 3.0'
|
24
|
-
spec.add_runtime_dependency 'selenium-webdriver', '>= 4.
|
24
|
+
spec.add_runtime_dependency 'selenium-webdriver', '>= 4.8', '<= 5.0'
|
25
25
|
|
26
26
|
spec.add_development_dependency 'minitest', '~> 5.10'
|
27
27
|
spec.add_development_dependency 'rake', '~> 13.0'
|
@@ -25,7 +25,7 @@ else
|
|
25
25
|
when :chrome
|
26
26
|
Capybara.register_driver :chrome do |app|
|
27
27
|
driver = Capybara::Selenium::Driver.new(app,
|
28
|
-
:
|
28
|
+
browser: :chrome
|
29
29
|
)
|
30
30
|
end
|
31
31
|
when :firefox
|
@@ -36,13 +36,14 @@ else
|
|
36
36
|
end
|
37
37
|
when :headless_chrome
|
38
38
|
Capybara.register_driver :headless_chrome do |app|
|
39
|
-
|
40
|
-
|
41
|
-
)
|
39
|
+
options = Selenium::WebDriver::Chrome::Options.new
|
40
|
+
options.add_argument('headless')
|
41
|
+
options.add_argument('disable-gpu')
|
42
|
+
options.add_argument('no-sandbox')
|
42
43
|
Capybara::Selenium::Driver.new(
|
43
44
|
app,
|
44
45
|
browser: :chrome,
|
45
|
-
|
46
|
+
options: options
|
46
47
|
)
|
47
48
|
end
|
48
49
|
when :headless_firefox
|
data/lib/closer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: closer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ichy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -17,9 +17,9 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.0'
|
20
|
-
- - "
|
20
|
+
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '9.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +27,9 @@ dependencies:
|
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '3.0'
|
30
|
-
- - "
|
30
|
+
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '9.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: capybara
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '4.
|
53
|
+
version: '4.8'
|
54
54
|
- - "<="
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '5.0'
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '4.
|
63
|
+
version: '4.8'
|
64
64
|
- - "<="
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '5.0'
|
@@ -100,6 +100,7 @@ extensions: []
|
|
100
100
|
extra_rdoc_files: []
|
101
101
|
files:
|
102
102
|
- ".gitignore"
|
103
|
+
- ".ruby-version"
|
103
104
|
- ".travis.yml"
|
104
105
|
- Gemfile
|
105
106
|
- HISTORY.md
|
@@ -150,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
151
|
- !ruby/object:Gem::Version
|
151
152
|
version: '0'
|
152
153
|
requirements: []
|
153
|
-
rubygems_version: 3.
|
154
|
+
rubygems_version: 3.1.6
|
154
155
|
signing_key:
|
155
156
|
specification_version: 4
|
156
157
|
summary: Cucumber test execution tool
|