capybara-headless_chrome 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 28966406851fb6e30bb1bfbd467d9e270db55307
4
- data.tar.gz: baabd704a8300bd5189e2fdffd02ef77a2ab9090
2
+ SHA256:
3
+ metadata.gz: fc8b05799303d2fbf55815b8972d3889b0e1b13493339cc5b4fac074c214bf11
4
+ data.tar.gz: 55e392fdcb20927f4d4737da9a31d854ff1585c805050746ee7209a98d726c5e
5
5
  SHA512:
6
- metadata.gz: d464b91eb0c65f90c43135446268f52f5b2b0d2791dbaabd2f8309b7f8d1125fe116c85fc66f83f9e118f873428116f324ce34648cf0fc4236544b617f40cb7f
7
- data.tar.gz: 041f8e89c0d0816a060a6ed132729b509d884881eaddae619c872fc87a2b7e6644b8f418afa88a3b3d6a5c1502db3fdf30fdeec5493cc4874dfcc6f65ee2d665
6
+ metadata.gz: a0fab5f3a16ba12ad51666b0e6aff6fa0e76155dbcc0afb7ae874367c7f98aaa7dcf20913e3e28d4c0af9e01b7ea6899da96ddd395bec63d61445e6332db5667
7
+ data.tar.gz: 2f7da8a9752984c73be459a262b932087eb18a2e505a6561a2837658f8d976cdcd130227f9258db79a3a8ac590b2e255936f64110f3dcd8b1f814ff38b3c8fe0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- capybara-headless_chrome (0.6.2)
4
+ capybara-headless_chrome (0.6.3)
5
5
  capybara
6
6
  webdrivers
7
7
 
@@ -47,12 +47,12 @@ GEM
47
47
  diff-lcs (>= 1.2.0, < 2.0)
48
48
  rspec-support (~> 3.8.0)
49
49
  rspec-support (3.8.0)
50
- rubyzip (1.2.2)
51
- selenium-webdriver (3.142.2)
50
+ rubyzip (1.2.3)
51
+ selenium-webdriver (3.142.3)
52
52
  childprocess (>= 0.5, < 2.0)
53
53
  rubyzip (~> 1.2, >= 1.2.2)
54
54
  thor (0.20.3)
55
- webdrivers (3.9.2)
55
+ webdrivers (4.0.0)
56
56
  nokogiri (~> 1.6)
57
57
  rubyzip (~> 1.0)
58
58
  selenium-webdriver (~> 3.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- capybara-headless_chrome (0.6.2)
4
+ capybara-headless_chrome (0.6.3)
5
5
  capybara
6
6
  webdrivers
7
7
 
@@ -49,12 +49,12 @@ GEM
49
49
  diff-lcs (>= 1.2.0, < 2.0)
50
50
  rspec-support (~> 3.8.0)
51
51
  rspec-support (3.8.0)
52
- rubyzip (1.2.2)
53
- selenium-webdriver (3.142.2)
52
+ rubyzip (1.2.3)
53
+ selenium-webdriver (3.142.3)
54
54
  childprocess (>= 0.5, < 2.0)
55
55
  rubyzip (~> 1.2, >= 1.2.2)
56
56
  thor (0.20.3)
57
- webdrivers (3.9.2)
57
+ webdrivers (4.0.0)
58
58
  nokogiri (~> 1.6)
59
59
  rubyzip (~> 1.0)
60
60
  selenium-webdriver (~> 3.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- capybara-headless_chrome (0.6.2)
4
+ capybara-headless_chrome (0.6.3)
5
5
  capybara
6
6
  webdrivers
7
7
 
@@ -15,29 +15,27 @@ GEM
15
15
  rake
16
16
  thor (>= 0.14.0)
17
17
  byebug (11.0.1)
18
- capybara (3.20.0)
18
+ capybara (3.23.0)
19
19
  addressable
20
20
  mini_mime (>= 0.1.3)
21
21
  nokogiri (~> 1.8)
22
22
  rack (>= 1.6.0)
23
23
  rack-test (>= 0.6.3)
24
- regexp_parser (~> 1.2)
25
- uglifier
24
+ regexp_parser (~> 1.5)
26
25
  xpath (~> 3.2)
27
26
  childprocess (1.0.1)
28
27
  rake (< 13.0)
29
28
  diff-lcs (1.3)
30
- execjs (2.7.0)
31
29
  mini_mime (1.0.1)
32
30
  mini_portile2 (2.4.0)
33
31
  nokogiri (1.10.3)
34
32
  mini_portile2 (~> 2.4.0)
35
- public_suffix (3.0.3)
33
+ public_suffix (3.1.0)
36
34
  rack (2.0.7)
37
35
  rack-test (1.1.0)
38
36
  rack (>= 1.0, < 3)
39
37
  rake (10.5.0)
40
- regexp_parser (1.5.0)
38
+ regexp_parser (1.5.1)
41
39
  rspec (3.8.0)
42
40
  rspec-core (~> 3.8.0)
43
41
  rspec-expectations (~> 3.8.0)
@@ -51,14 +49,12 @@ GEM
51
49
  diff-lcs (>= 1.2.0, < 2.0)
52
50
  rspec-support (~> 3.8.0)
53
51
  rspec-support (3.8.0)
54
- rubyzip (1.2.2)
55
- selenium-webdriver (3.142.2)
52
+ rubyzip (1.2.3)
53
+ selenium-webdriver (3.142.3)
56
54
  childprocess (>= 0.5, < 2.0)
57
55
  rubyzip (~> 1.2, >= 1.2.2)
58
56
  thor (0.20.3)
59
- uglifier (4.1.20)
60
- execjs (>= 0.3.0, < 3)
61
- webdrivers (3.9.2)
57
+ webdrivers (4.0.0)
62
58
  nokogiri (~> 1.6)
63
59
  rubyzip (~> 1.0)
64
60
  selenium-webdriver (~> 3.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- capybara-headless_chrome (0.6.2)
4
+ capybara-headless_chrome (0.6.3)
5
5
  capybara
6
6
  webdrivers
7
7
 
@@ -54,14 +54,13 @@ GEM
54
54
  arel (7.1.4)
55
55
  builder (3.2.3)
56
56
  byebug (11.0.1)
57
- capybara (3.20.0)
57
+ capybara (3.23.0)
58
58
  addressable
59
59
  mini_mime (>= 0.1.3)
60
60
  nokogiri (~> 1.8)
61
61
  rack (>= 1.6.0)
62
62
  rack-test (>= 0.6.3)
63
- regexp_parser (~> 1.2)
64
- uglifier
63
+ regexp_parser (~> 1.5)
65
64
  xpath (~> 3.2)
66
65
  childprocess (1.0.1)
67
66
  rake (< 13.0)
@@ -69,7 +68,6 @@ GEM
69
68
  crass (1.0.4)
70
69
  diff-lcs (1.3)
71
70
  erubis (2.7.0)
72
- execjs (2.7.0)
73
71
  globalid (0.4.2)
74
72
  activesupport (>= 4.2.0)
75
73
  i18n (1.6.0)
@@ -86,7 +84,7 @@ GEM
86
84
  nio4r (2.3.1)
87
85
  nokogiri (1.10.2)
88
86
  mini_portile2 (~> 2.4.0)
89
- public_suffix (3.0.3)
87
+ public_suffix (3.1.0)
90
88
  rack (2.0.6)
91
89
  rack-test (0.6.3)
92
90
  rack (>= 1.0)
@@ -114,7 +112,7 @@ GEM
114
112
  rake (>= 0.8.7)
115
113
  thor (>= 0.18.1, < 2.0)
116
114
  rake (10.5.0)
117
- regexp_parser (1.5.0)
115
+ regexp_parser (1.5.1)
118
116
  rspec (3.8.0)
119
117
  rspec-core (~> 3.8.0)
120
118
  rspec-expectations (~> 3.8.0)
@@ -128,8 +126,8 @@ GEM
128
126
  diff-lcs (>= 1.2.0, < 2.0)
129
127
  rspec-support (~> 3.8.0)
130
128
  rspec-support (3.8.0)
131
- rubyzip (1.2.2)
132
- selenium-webdriver (3.142.2)
129
+ rubyzip (1.2.3)
130
+ selenium-webdriver (3.142.3)
133
131
  childprocess (>= 0.5, < 2.0)
134
132
  rubyzip (~> 1.2, >= 1.2.2)
135
133
  sprockets (3.7.2)
@@ -144,9 +142,7 @@ GEM
144
142
  thread_safe (0.3.6)
145
143
  tzinfo (1.2.5)
146
144
  thread_safe (~> 0.1)
147
- uglifier (4.1.20)
148
- execjs (>= 0.3.0, < 3)
149
- webdrivers (3.9.2)
145
+ webdrivers (4.0.0)
150
146
  nokogiri (~> 1.6)
151
147
  rubyzip (~> 1.0)
152
148
  selenium-webdriver (~> 3.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- capybara-headless_chrome (0.6.2)
4
+ capybara-headless_chrome (0.6.3)
5
5
  capybara
6
6
  webdrivers
7
7
 
@@ -54,14 +54,13 @@ GEM
54
54
  arel (8.0.0)
55
55
  builder (3.2.3)
56
56
  byebug (11.0.1)
57
- capybara (3.20.0)
57
+ capybara (3.23.0)
58
58
  addressable
59
59
  mini_mime (>= 0.1.3)
60
60
  nokogiri (~> 1.8)
61
61
  rack (>= 1.6.0)
62
62
  rack-test (>= 0.6.3)
63
- regexp_parser (~> 1.2)
64
- uglifier
63
+ regexp_parser (~> 1.5)
65
64
  xpath (~> 3.2)
66
65
  childprocess (1.0.1)
67
66
  rake (< 13.0)
@@ -69,7 +68,6 @@ GEM
69
68
  crass (1.0.4)
70
69
  diff-lcs (1.3)
71
70
  erubi (1.8.0)
72
- execjs (2.7.0)
73
71
  globalid (0.4.2)
74
72
  activesupport (>= 4.2.0)
75
73
  i18n (1.6.0)
@@ -86,7 +84,7 @@ GEM
86
84
  nio4r (2.3.1)
87
85
  nokogiri (1.10.2)
88
86
  mini_portile2 (~> 2.4.0)
89
- public_suffix (3.0.3)
87
+ public_suffix (3.1.0)
90
88
  rack (2.0.6)
91
89
  rack-test (1.1.0)
92
90
  rack (>= 1.0, < 3)
@@ -114,7 +112,7 @@ GEM
114
112
  rake (>= 0.8.7)
115
113
  thor (>= 0.18.1, < 2.0)
116
114
  rake (10.5.0)
117
- regexp_parser (1.5.0)
115
+ regexp_parser (1.5.1)
118
116
  rspec (3.8.0)
119
117
  rspec-core (~> 3.8.0)
120
118
  rspec-expectations (~> 3.8.0)
@@ -128,8 +126,8 @@ GEM
128
126
  diff-lcs (>= 1.2.0, < 2.0)
129
127
  rspec-support (~> 3.8.0)
130
128
  rspec-support (3.8.0)
131
- rubyzip (1.2.2)
132
- selenium-webdriver (3.142.2)
129
+ rubyzip (1.2.3)
130
+ selenium-webdriver (3.142.3)
133
131
  childprocess (>= 0.5, < 2.0)
134
132
  rubyzip (~> 1.2, >= 1.2.2)
135
133
  sprockets (3.7.2)
@@ -143,9 +141,7 @@ GEM
143
141
  thread_safe (0.3.6)
144
142
  tzinfo (1.2.5)
145
143
  thread_safe (~> 0.1)
146
- uglifier (4.1.20)
147
- execjs (>= 0.3.0, < 3)
148
- webdrivers (3.9.2)
144
+ webdrivers (4.0.0)
149
145
  nokogiri (~> 1.6)
150
146
  rubyzip (~> 1.0)
151
147
  selenium-webdriver (~> 3.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- capybara-headless_chrome (0.6.2)
4
+ capybara-headless_chrome (0.6.3)
5
5
  capybara
6
6
  webdrivers
7
7
 
@@ -58,14 +58,13 @@ GEM
58
58
  arel (9.0.0)
59
59
  builder (3.2.3)
60
60
  byebug (11.0.1)
61
- capybara (3.20.0)
61
+ capybara (3.23.0)
62
62
  addressable
63
63
  mini_mime (>= 0.1.3)
64
64
  nokogiri (~> 1.8)
65
65
  rack (>= 1.6.0)
66
66
  rack-test (>= 0.6.3)
67
- regexp_parser (~> 1.2)
68
- uglifier
67
+ regexp_parser (~> 1.5)
69
68
  xpath (~> 3.2)
70
69
  childprocess (1.0.1)
71
70
  rake (< 13.0)
@@ -73,7 +72,6 @@ GEM
73
72
  crass (1.0.4)
74
73
  diff-lcs (1.3)
75
74
  erubi (1.8.0)
76
- execjs (2.7.0)
77
75
  globalid (0.4.2)
78
76
  activesupport (>= 4.2.0)
79
77
  i18n (1.6.0)
@@ -93,7 +91,7 @@ GEM
93
91
  nio4r (2.3.1)
94
92
  nokogiri (1.10.2)
95
93
  mini_portile2 (~> 2.4.0)
96
- public_suffix (3.0.3)
94
+ public_suffix (3.1.0)
97
95
  rack (2.0.6)
98
96
  rack-test (1.1.0)
99
97
  rack (>= 1.0, < 3)
@@ -122,7 +120,7 @@ GEM
122
120
  rake (>= 0.8.7)
123
121
  thor (>= 0.19.0, < 2.0)
124
122
  rake (10.5.0)
125
- regexp_parser (1.5.0)
123
+ regexp_parser (1.5.1)
126
124
  rspec (3.8.0)
127
125
  rspec-core (~> 3.8.0)
128
126
  rspec-expectations (~> 3.8.0)
@@ -136,8 +134,8 @@ GEM
136
134
  diff-lcs (>= 1.2.0, < 2.0)
137
135
  rspec-support (~> 3.8.0)
138
136
  rspec-support (3.8.0)
139
- rubyzip (1.2.2)
140
- selenium-webdriver (3.142.2)
137
+ rubyzip (1.2.3)
138
+ selenium-webdriver (3.142.3)
141
139
  childprocess (>= 0.5, < 2.0)
142
140
  rubyzip (~> 1.2, >= 1.2.2)
143
141
  sprockets (3.7.2)
@@ -151,9 +149,7 @@ GEM
151
149
  thread_safe (0.3.6)
152
150
  tzinfo (1.2.5)
153
151
  thread_safe (~> 0.1)
154
- uglifier (4.1.20)
155
- execjs (>= 0.3.0, < 3)
156
- webdrivers (3.9.2)
152
+ webdrivers (4.0.0)
157
153
  nokogiri (~> 1.6)
158
154
  rubyzip (~> 1.0)
159
155
  selenium-webdriver (~> 3.0)
@@ -1,17 +1,21 @@
1
1
  Before do
2
- page.downloads.reset
2
+ if page.driver.class.name == "Capybara::HeadlessChrome::Driver"
3
+ page.downloads.reset
4
+ end
3
5
  end
4
6
 
5
7
  AfterStep do
6
- aggregate_failures 'javascript errors' do
7
- page.javascript_errors.each do |error|
8
- fail error
8
+ if page.driver.class.name == "Capybara::HeadlessChrome::Driver"
9
+ aggregate_failures 'javascript errors' do
10
+ page.javascript_errors.each do |error|
11
+ fail error
12
+ end
9
13
  end
10
- end
11
14
 
12
- page.javascript_warnings.each do |warning|
13
- STDERR.puts 'WARN: javascript warning'
14
- STDERR.puts warning
15
+ page.javascript_warnings.each do |warning|
16
+ STDERR.puts 'WARN: javascript warning'
17
+ STDERR.puts warning
18
+ end
15
19
  end
16
20
  end
17
21
 
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module HeadlessChrome
3
- VERSION = "0.6.3"
3
+ VERSION = "0.6.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-headless_chrome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-11 00:00:00.000000000 Z
11
+ date: 2021-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: webdrivers
@@ -166,8 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
168
  requirements: []
169
- rubyforge_project:
170
- rubygems_version: 2.6.14
169
+ rubygems_version: 3.2.3
171
170
  signing_key:
172
171
  specification_version: 4
173
172
  summary: A nice and tidy Capybara driver for headless Chrome