capybara-headless_chrome 0.6.0 → 0.6.1

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
  SHA1:
3
- metadata.gz: bb9a3a3c6af00a81f9c3b97350bed66b09879629
4
- data.tar.gz: c947b552b0b2355284103f6437a417d668fa4717
3
+ metadata.gz: 21dd40b2d0433b7a31ac619d14fc3eac681dfc03
4
+ data.tar.gz: dabce14bd519e94c24a0b3bc8ff62bc60aceac86
5
5
  SHA512:
6
- metadata.gz: 6f014190f1eacb8316fd6788a290d7a100c045c6d441e375f45369ea13161c581bdbac14b091606bd2889949bec86d0e5028a8cc3606a1c2c976d6c368b4713d
7
- data.tar.gz: 8f904554f3c80edaa9267a6c3535cc872d5660bf03877a5207dd6064fe4a98b1a1963c35fc66baabebffdb436e4347c64cb9e87690fc68b34f89408aea0d98ea
6
+ metadata.gz: 39b1a3d1bb4b459597381639c4ab4bcad82840cce0fa29503b89c99b363a822462daef1277fbe9ccdc5640648cd9700ac0eb66db8a897867d6b3bac9e1f4ec11
7
+ data.tar.gz: 241942e3a813921e835c1c4892f7676fd5f3dc69f65bc6567c25f3513a61a33b3a5243ee13ababf90ddee3f712f4dffec273e4bde3a5eb9cad308353e862d87c
@@ -0,0 +1,3 @@
1
+ c
2
+ hash["PATH_INFO"]
3
+ hash
@@ -1,5 +1,39 @@
1
1
  sudo: false
2
2
  language: ruby
3
+
3
4
  rvm:
4
- - 2.4.3
5
- before_install: gem install bundler -v 1.16.1
5
+ - 2.3
6
+ - 2.4
7
+ - 2.5
8
+ - 2.6
9
+
10
+ gemfile:
11
+ - gemfiles/capybara_2.gemfile
12
+ - gemfiles/capybara_3.gemfile
13
+ - gemfiles/rails_5.0.gemfile
14
+ - gemfiles/rails_5.1.gemfile
15
+ - gemfiles/rails_5.2.gemfile
16
+ - gemfiles/latest.gemfile
17
+
18
+ matrix:
19
+ exclude:
20
+ - rvm: 2.3
21
+ gemfile: gemfiles/capybara_3.gemfile
22
+ - rvm: 2.3
23
+ gemfile: gemfiles/rails_5.0.gemfile
24
+ - rvm: 2.3
25
+ gemfile: gemfiles/rails_5.1.gemfile
26
+ - rvm: 2.3
27
+ gemfile: gemfiles/rails_5.2.gemfile
28
+ - rvm: 2.3
29
+ gemfile: gemfiles/latest.gemfile
30
+
31
+ addons:
32
+ chrome: stable
33
+
34
+ before_install:
35
+ - gem update --system
36
+ - gem install bundler
37
+
38
+ cache: bundler
39
+
@@ -0,0 +1,24 @@
1
+ appraise "capybara-2" do
2
+ gem "capybara", "~>2.0"
3
+ end
4
+
5
+ appraise "capybara-3" do
6
+ gem "capybara", "~>3.0"
7
+ end
8
+
9
+ appraise "rails-5.0" do
10
+ gem "rails", "~>5.0.0"
11
+ gem "sqlite3", "~>1.3.0"
12
+ end
13
+
14
+ appraise "rails-5.1" do
15
+ gem "rails", "~>5.1.0"
16
+ end
17
+
18
+ appraise "rails-5.2" do
19
+ gem "rails", "~>5.2.0"
20
+ end
21
+
22
+ appraise "latest" do
23
+ end
24
+
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # Capybara::HeadlessChrome
2
+ [![Build Status](https://travis-ci.org/botandrose/capybara-headless_chrome.svg?branch=master)](https://travis-ci.org/botandrose/capybara-headless_chrome)
2
3
 
3
4
  A nice and tidy Capybara driver for headless Chrome. Even supports file downloads!
4
5
 
@@ -50,7 +51,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
50
51
 
51
52
  ## Contributing
52
53
 
53
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/capybara-headless_chrome.
54
+ Bug reports and pull requests are welcome on GitHub at https://github.com/botandrose/capybara-headless_chrome.
54
55
 
55
56
  ## License
56
57
 
@@ -27,4 +27,6 @@ Gem::Specification.new do |spec|
27
27
  spec.add_development_dependency "bundler"
28
28
  spec.add_development_dependency "rake", "~> 10.0"
29
29
  spec.add_development_dependency "rspec", "~> 3.0"
30
+ spec.add_development_dependency "appraisal"
31
+ spec.add_development_dependency "byebug"
30
32
  end
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "capybara", "~>2.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,78 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ capybara-headless_chrome (0.6.0)
5
+ capybara
6
+ webdrivers
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ addressable (2.6.0)
12
+ public_suffix (>= 2.0.2, < 4.0)
13
+ appraisal (2.2.0)
14
+ bundler
15
+ rake
16
+ thor (>= 0.14.0)
17
+ byebug (11.0.1)
18
+ capybara (2.18.0)
19
+ addressable
20
+ mini_mime (>= 0.1.3)
21
+ nokogiri (>= 1.3.3)
22
+ rack (>= 1.0.0)
23
+ rack-test (>= 0.5.4)
24
+ xpath (>= 2.0, < 4.0)
25
+ childprocess (0.9.0)
26
+ ffi (~> 1.0, >= 1.0.11)
27
+ diff-lcs (1.3)
28
+ ffi (1.10.0)
29
+ mini_mime (1.0.1)
30
+ mini_portile2 (2.4.0)
31
+ net_http_ssl_fix (0.0.10)
32
+ nokogiri (1.10.2)
33
+ mini_portile2 (~> 2.4.0)
34
+ public_suffix (3.0.3)
35
+ rack (2.0.6)
36
+ rack-test (1.1.0)
37
+ rack (>= 1.0, < 3)
38
+ rake (10.5.0)
39
+ rspec (3.8.0)
40
+ rspec-core (~> 3.8.0)
41
+ rspec-expectations (~> 3.8.0)
42
+ rspec-mocks (~> 3.8.0)
43
+ rspec-core (3.8.0)
44
+ rspec-support (~> 3.8.0)
45
+ rspec-expectations (3.8.2)
46
+ diff-lcs (>= 1.2.0, < 2.0)
47
+ rspec-support (~> 3.8.0)
48
+ rspec-mocks (3.8.0)
49
+ diff-lcs (>= 1.2.0, < 2.0)
50
+ rspec-support (~> 3.8.0)
51
+ rspec-support (3.8.0)
52
+ rubyzip (1.2.2)
53
+ selenium-webdriver (3.141.0)
54
+ childprocess (~> 0.5)
55
+ rubyzip (~> 1.2, >= 1.2.2)
56
+ thor (0.20.3)
57
+ webdrivers (3.7.2)
58
+ net_http_ssl_fix
59
+ nokogiri (~> 1.6)
60
+ rubyzip (~> 1.0)
61
+ selenium-webdriver (~> 3.0)
62
+ xpath (3.2.0)
63
+ nokogiri (~> 1.8)
64
+
65
+ PLATFORMS
66
+ ruby
67
+
68
+ DEPENDENCIES
69
+ appraisal
70
+ bundler
71
+ byebug
72
+ capybara (~> 2.0)
73
+ capybara-headless_chrome!
74
+ rake (~> 10.0)
75
+ rspec (~> 3.0)
76
+
77
+ BUNDLED WITH
78
+ 2.0.1
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "capybara", "~>3.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,80 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ capybara-headless_chrome (0.6.0)
5
+ capybara
6
+ webdrivers
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ addressable (2.6.0)
12
+ public_suffix (>= 2.0.2, < 4.0)
13
+ appraisal (2.2.0)
14
+ bundler
15
+ rake
16
+ thor (>= 0.14.0)
17
+ byebug (11.0.1)
18
+ capybara (3.16.1)
19
+ addressable
20
+ mini_mime (>= 0.1.3)
21
+ nokogiri (~> 1.8)
22
+ rack (>= 1.6.0)
23
+ rack-test (>= 0.6.3)
24
+ regexp_parser (~> 1.2)
25
+ xpath (~> 3.2)
26
+ childprocess (0.9.0)
27
+ ffi (~> 1.0, >= 1.0.11)
28
+ diff-lcs (1.3)
29
+ ffi (1.10.0)
30
+ mini_mime (1.0.1)
31
+ mini_portile2 (2.4.0)
32
+ net_http_ssl_fix (0.0.10)
33
+ nokogiri (1.10.2)
34
+ mini_portile2 (~> 2.4.0)
35
+ public_suffix (3.0.3)
36
+ rack (2.0.6)
37
+ rack-test (1.1.0)
38
+ rack (>= 1.0, < 3)
39
+ rake (10.5.0)
40
+ regexp_parser (1.3.0)
41
+ rspec (3.8.0)
42
+ rspec-core (~> 3.8.0)
43
+ rspec-expectations (~> 3.8.0)
44
+ rspec-mocks (~> 3.8.0)
45
+ rspec-core (3.8.0)
46
+ rspec-support (~> 3.8.0)
47
+ rspec-expectations (3.8.2)
48
+ diff-lcs (>= 1.2.0, < 2.0)
49
+ rspec-support (~> 3.8.0)
50
+ rspec-mocks (3.8.0)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.8.0)
53
+ rspec-support (3.8.0)
54
+ rubyzip (1.2.2)
55
+ selenium-webdriver (3.141.0)
56
+ childprocess (~> 0.5)
57
+ rubyzip (~> 1.2, >= 1.2.2)
58
+ thor (0.20.3)
59
+ webdrivers (3.7.2)
60
+ net_http_ssl_fix
61
+ nokogiri (~> 1.6)
62
+ rubyzip (~> 1.0)
63
+ selenium-webdriver (~> 3.0)
64
+ xpath (3.2.0)
65
+ nokogiri (~> 1.8)
66
+
67
+ PLATFORMS
68
+ ruby
69
+
70
+ DEPENDENCIES
71
+ appraisal
72
+ bundler
73
+ byebug
74
+ capybara (~> 3.0)
75
+ capybara-headless_chrome!
76
+ rake (~> 10.0)
77
+ rspec (~> 3.0)
78
+
79
+ BUNDLED WITH
80
+ 2.0.1
@@ -0,0 +1,5 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gemspec path: "../"
@@ -0,0 +1,79 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ capybara-headless_chrome (0.6.0)
5
+ capybara
6
+ webdrivers
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ addressable (2.6.0)
12
+ public_suffix (>= 2.0.2, < 4.0)
13
+ appraisal (2.2.0)
14
+ bundler
15
+ rake
16
+ thor (>= 0.14.0)
17
+ byebug (11.0.1)
18
+ capybara (3.16.1)
19
+ addressable
20
+ mini_mime (>= 0.1.3)
21
+ nokogiri (~> 1.8)
22
+ rack (>= 1.6.0)
23
+ rack-test (>= 0.6.3)
24
+ regexp_parser (~> 1.2)
25
+ xpath (~> 3.2)
26
+ childprocess (0.9.0)
27
+ ffi (~> 1.0, >= 1.0.11)
28
+ diff-lcs (1.3)
29
+ ffi (1.10.0)
30
+ mini_mime (1.0.1)
31
+ mini_portile2 (2.4.0)
32
+ net_http_ssl_fix (0.0.10)
33
+ nokogiri (1.10.2)
34
+ mini_portile2 (~> 2.4.0)
35
+ public_suffix (3.0.3)
36
+ rack (2.0.6)
37
+ rack-test (1.1.0)
38
+ rack (>= 1.0, < 3)
39
+ rake (10.5.0)
40
+ regexp_parser (1.3.0)
41
+ rspec (3.8.0)
42
+ rspec-core (~> 3.8.0)
43
+ rspec-expectations (~> 3.8.0)
44
+ rspec-mocks (~> 3.8.0)
45
+ rspec-core (3.8.0)
46
+ rspec-support (~> 3.8.0)
47
+ rspec-expectations (3.8.2)
48
+ diff-lcs (>= 1.2.0, < 2.0)
49
+ rspec-support (~> 3.8.0)
50
+ rspec-mocks (3.8.0)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.8.0)
53
+ rspec-support (3.8.0)
54
+ rubyzip (1.2.2)
55
+ selenium-webdriver (3.141.0)
56
+ childprocess (~> 0.5)
57
+ rubyzip (~> 1.2, >= 1.2.2)
58
+ thor (0.20.3)
59
+ webdrivers (3.7.2)
60
+ net_http_ssl_fix
61
+ nokogiri (~> 1.6)
62
+ rubyzip (~> 1.0)
63
+ selenium-webdriver (~> 3.0)
64
+ xpath (3.2.0)
65
+ nokogiri (~> 1.8)
66
+
67
+ PLATFORMS
68
+ ruby
69
+
70
+ DEPENDENCIES
71
+ appraisal
72
+ bundler
73
+ byebug
74
+ capybara-headless_chrome!
75
+ rake (~> 10.0)
76
+ rspec (~> 3.0)
77
+
78
+ BUNDLED WITH
79
+ 2.0.1
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~>5.0.0"
6
+ gem "sqlite3", "~>1.3.0"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,172 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ capybara-headless_chrome (0.6.0)
5
+ capybara
6
+ webdrivers
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (5.0.7.2)
12
+ actionpack (= 5.0.7.2)
13
+ nio4r (>= 1.2, < 3.0)
14
+ websocket-driver (~> 0.6.1)
15
+ actionmailer (5.0.7.2)
16
+ actionpack (= 5.0.7.2)
17
+ actionview (= 5.0.7.2)
18
+ activejob (= 5.0.7.2)
19
+ mail (~> 2.5, >= 2.5.4)
20
+ rails-dom-testing (~> 2.0)
21
+ actionpack (5.0.7.2)
22
+ actionview (= 5.0.7.2)
23
+ activesupport (= 5.0.7.2)
24
+ rack (~> 2.0)
25
+ rack-test (~> 0.6.3)
26
+ rails-dom-testing (~> 2.0)
27
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
+ actionview (5.0.7.2)
29
+ activesupport (= 5.0.7.2)
30
+ builder (~> 3.1)
31
+ erubis (~> 2.7.0)
32
+ rails-dom-testing (~> 2.0)
33
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
+ activejob (5.0.7.2)
35
+ activesupport (= 5.0.7.2)
36
+ globalid (>= 0.3.6)
37
+ activemodel (5.0.7.2)
38
+ activesupport (= 5.0.7.2)
39
+ activerecord (5.0.7.2)
40
+ activemodel (= 5.0.7.2)
41
+ activesupport (= 5.0.7.2)
42
+ arel (~> 7.0)
43
+ activesupport (5.0.7.2)
44
+ concurrent-ruby (~> 1.0, >= 1.0.2)
45
+ i18n (>= 0.7, < 2)
46
+ minitest (~> 5.1)
47
+ tzinfo (~> 1.1)
48
+ addressable (2.6.0)
49
+ public_suffix (>= 2.0.2, < 4.0)
50
+ appraisal (2.2.0)
51
+ bundler
52
+ rake
53
+ thor (>= 0.14.0)
54
+ arel (7.1.4)
55
+ builder (3.2.3)
56
+ byebug (11.0.1)
57
+ capybara (3.16.1)
58
+ addressable
59
+ mini_mime (>= 0.1.3)
60
+ nokogiri (~> 1.8)
61
+ rack (>= 1.6.0)
62
+ rack-test (>= 0.6.3)
63
+ regexp_parser (~> 1.2)
64
+ xpath (~> 3.2)
65
+ childprocess (0.9.0)
66
+ ffi (~> 1.0, >= 1.0.11)
67
+ concurrent-ruby (1.1.5)
68
+ crass (1.0.4)
69
+ diff-lcs (1.3)
70
+ erubis (2.7.0)
71
+ ffi (1.10.0)
72
+ globalid (0.4.2)
73
+ activesupport (>= 4.2.0)
74
+ i18n (1.6.0)
75
+ concurrent-ruby (~> 1.0)
76
+ loofah (2.2.3)
77
+ crass (~> 1.0.2)
78
+ nokogiri (>= 1.5.9)
79
+ mail (2.7.1)
80
+ mini_mime (>= 0.1.1)
81
+ method_source (0.9.2)
82
+ mini_mime (1.0.1)
83
+ mini_portile2 (2.4.0)
84
+ minitest (5.11.3)
85
+ net_http_ssl_fix (0.0.10)
86
+ nio4r (2.3.1)
87
+ nokogiri (1.10.2)
88
+ mini_portile2 (~> 2.4.0)
89
+ public_suffix (3.0.3)
90
+ rack (2.0.6)
91
+ rack-test (0.6.3)
92
+ rack (>= 1.0)
93
+ rails (5.0.7.2)
94
+ actioncable (= 5.0.7.2)
95
+ actionmailer (= 5.0.7.2)
96
+ actionpack (= 5.0.7.2)
97
+ actionview (= 5.0.7.2)
98
+ activejob (= 5.0.7.2)
99
+ activemodel (= 5.0.7.2)
100
+ activerecord (= 5.0.7.2)
101
+ activesupport (= 5.0.7.2)
102
+ bundler (>= 1.3.0)
103
+ railties (= 5.0.7.2)
104
+ sprockets-rails (>= 2.0.0)
105
+ rails-dom-testing (2.0.3)
106
+ activesupport (>= 4.2.0)
107
+ nokogiri (>= 1.6)
108
+ rails-html-sanitizer (1.0.4)
109
+ loofah (~> 2.2, >= 2.2.2)
110
+ railties (5.0.7.2)
111
+ actionpack (= 5.0.7.2)
112
+ activesupport (= 5.0.7.2)
113
+ method_source
114
+ rake (>= 0.8.7)
115
+ thor (>= 0.18.1, < 2.0)
116
+ rake (10.5.0)
117
+ regexp_parser (1.3.0)
118
+ rspec (3.8.0)
119
+ rspec-core (~> 3.8.0)
120
+ rspec-expectations (~> 3.8.0)
121
+ rspec-mocks (~> 3.8.0)
122
+ rspec-core (3.8.0)
123
+ rspec-support (~> 3.8.0)
124
+ rspec-expectations (3.8.2)
125
+ diff-lcs (>= 1.2.0, < 2.0)
126
+ rspec-support (~> 3.8.0)
127
+ rspec-mocks (3.8.0)
128
+ diff-lcs (>= 1.2.0, < 2.0)
129
+ rspec-support (~> 3.8.0)
130
+ rspec-support (3.8.0)
131
+ rubyzip (1.2.2)
132
+ selenium-webdriver (3.141.0)
133
+ childprocess (~> 0.5)
134
+ rubyzip (~> 1.2, >= 1.2.2)
135
+ sprockets (3.7.2)
136
+ concurrent-ruby (~> 1.0)
137
+ rack (> 1, < 3)
138
+ sprockets-rails (3.2.1)
139
+ actionpack (>= 4.0)
140
+ activesupport (>= 4.0)
141
+ sprockets (>= 3.0.0)
142
+ sqlite3 (1.3.13)
143
+ thor (0.20.3)
144
+ thread_safe (0.3.6)
145
+ tzinfo (1.2.5)
146
+ thread_safe (~> 0.1)
147
+ webdrivers (3.7.2)
148
+ net_http_ssl_fix
149
+ nokogiri (~> 1.6)
150
+ rubyzip (~> 1.0)
151
+ selenium-webdriver (~> 3.0)
152
+ websocket-driver (0.6.5)
153
+ websocket-extensions (>= 0.1.0)
154
+ websocket-extensions (0.1.3)
155
+ xpath (3.2.0)
156
+ nokogiri (~> 1.8)
157
+
158
+ PLATFORMS
159
+ ruby
160
+
161
+ DEPENDENCIES
162
+ appraisal
163
+ bundler
164
+ byebug
165
+ capybara-headless_chrome!
166
+ rails (~> 5.0.0)
167
+ rake (~> 10.0)
168
+ rspec (~> 3.0)
169
+ sqlite3 (~> 1.3.0)
170
+
171
+ BUNDLED WITH
172
+ 2.0.1
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~>5.1.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,170 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ capybara-headless_chrome (0.6.0)
5
+ capybara
6
+ webdrivers
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (5.1.7)
12
+ actionpack (= 5.1.7)
13
+ nio4r (~> 2.0)
14
+ websocket-driver (~> 0.6.1)
15
+ actionmailer (5.1.7)
16
+ actionpack (= 5.1.7)
17
+ actionview (= 5.1.7)
18
+ activejob (= 5.1.7)
19
+ mail (~> 2.5, >= 2.5.4)
20
+ rails-dom-testing (~> 2.0)
21
+ actionpack (5.1.7)
22
+ actionview (= 5.1.7)
23
+ activesupport (= 5.1.7)
24
+ rack (~> 2.0)
25
+ rack-test (>= 0.6.3)
26
+ rails-dom-testing (~> 2.0)
27
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
+ actionview (5.1.7)
29
+ activesupport (= 5.1.7)
30
+ builder (~> 3.1)
31
+ erubi (~> 1.4)
32
+ rails-dom-testing (~> 2.0)
33
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
+ activejob (5.1.7)
35
+ activesupport (= 5.1.7)
36
+ globalid (>= 0.3.6)
37
+ activemodel (5.1.7)
38
+ activesupport (= 5.1.7)
39
+ activerecord (5.1.7)
40
+ activemodel (= 5.1.7)
41
+ activesupport (= 5.1.7)
42
+ arel (~> 8.0)
43
+ activesupport (5.1.7)
44
+ concurrent-ruby (~> 1.0, >= 1.0.2)
45
+ i18n (>= 0.7, < 2)
46
+ minitest (~> 5.1)
47
+ tzinfo (~> 1.1)
48
+ addressable (2.6.0)
49
+ public_suffix (>= 2.0.2, < 4.0)
50
+ appraisal (2.2.0)
51
+ bundler
52
+ rake
53
+ thor (>= 0.14.0)
54
+ arel (8.0.0)
55
+ builder (3.2.3)
56
+ byebug (11.0.1)
57
+ capybara (3.16.1)
58
+ addressable
59
+ mini_mime (>= 0.1.3)
60
+ nokogiri (~> 1.8)
61
+ rack (>= 1.6.0)
62
+ rack-test (>= 0.6.3)
63
+ regexp_parser (~> 1.2)
64
+ xpath (~> 3.2)
65
+ childprocess (0.9.0)
66
+ ffi (~> 1.0, >= 1.0.11)
67
+ concurrent-ruby (1.1.5)
68
+ crass (1.0.4)
69
+ diff-lcs (1.3)
70
+ erubi (1.8.0)
71
+ ffi (1.10.0)
72
+ globalid (0.4.2)
73
+ activesupport (>= 4.2.0)
74
+ i18n (1.6.0)
75
+ concurrent-ruby (~> 1.0)
76
+ loofah (2.2.3)
77
+ crass (~> 1.0.2)
78
+ nokogiri (>= 1.5.9)
79
+ mail (2.7.1)
80
+ mini_mime (>= 0.1.1)
81
+ method_source (0.9.2)
82
+ mini_mime (1.0.1)
83
+ mini_portile2 (2.4.0)
84
+ minitest (5.11.3)
85
+ net_http_ssl_fix (0.0.10)
86
+ nio4r (2.3.1)
87
+ nokogiri (1.10.2)
88
+ mini_portile2 (~> 2.4.0)
89
+ public_suffix (3.0.3)
90
+ rack (2.0.6)
91
+ rack-test (1.1.0)
92
+ rack (>= 1.0, < 3)
93
+ rails (5.1.7)
94
+ actioncable (= 5.1.7)
95
+ actionmailer (= 5.1.7)
96
+ actionpack (= 5.1.7)
97
+ actionview (= 5.1.7)
98
+ activejob (= 5.1.7)
99
+ activemodel (= 5.1.7)
100
+ activerecord (= 5.1.7)
101
+ activesupport (= 5.1.7)
102
+ bundler (>= 1.3.0)
103
+ railties (= 5.1.7)
104
+ sprockets-rails (>= 2.0.0)
105
+ rails-dom-testing (2.0.3)
106
+ activesupport (>= 4.2.0)
107
+ nokogiri (>= 1.6)
108
+ rails-html-sanitizer (1.0.4)
109
+ loofah (~> 2.2, >= 2.2.2)
110
+ railties (5.1.7)
111
+ actionpack (= 5.1.7)
112
+ activesupport (= 5.1.7)
113
+ method_source
114
+ rake (>= 0.8.7)
115
+ thor (>= 0.18.1, < 2.0)
116
+ rake (10.5.0)
117
+ regexp_parser (1.3.0)
118
+ rspec (3.8.0)
119
+ rspec-core (~> 3.8.0)
120
+ rspec-expectations (~> 3.8.0)
121
+ rspec-mocks (~> 3.8.0)
122
+ rspec-core (3.8.0)
123
+ rspec-support (~> 3.8.0)
124
+ rspec-expectations (3.8.2)
125
+ diff-lcs (>= 1.2.0, < 2.0)
126
+ rspec-support (~> 3.8.0)
127
+ rspec-mocks (3.8.0)
128
+ diff-lcs (>= 1.2.0, < 2.0)
129
+ rspec-support (~> 3.8.0)
130
+ rspec-support (3.8.0)
131
+ rubyzip (1.2.2)
132
+ selenium-webdriver (3.141.0)
133
+ childprocess (~> 0.5)
134
+ rubyzip (~> 1.2, >= 1.2.2)
135
+ sprockets (3.7.2)
136
+ concurrent-ruby (~> 1.0)
137
+ rack (> 1, < 3)
138
+ sprockets-rails (3.2.1)
139
+ actionpack (>= 4.0)
140
+ activesupport (>= 4.0)
141
+ sprockets (>= 3.0.0)
142
+ thor (0.20.3)
143
+ thread_safe (0.3.6)
144
+ tzinfo (1.2.5)
145
+ thread_safe (~> 0.1)
146
+ webdrivers (3.7.2)
147
+ net_http_ssl_fix
148
+ nokogiri (~> 1.6)
149
+ rubyzip (~> 1.0)
150
+ selenium-webdriver (~> 3.0)
151
+ websocket-driver (0.6.5)
152
+ websocket-extensions (>= 0.1.0)
153
+ websocket-extensions (0.1.3)
154
+ xpath (3.2.0)
155
+ nokogiri (~> 1.8)
156
+
157
+ PLATFORMS
158
+ ruby
159
+
160
+ DEPENDENCIES
161
+ appraisal
162
+ bundler
163
+ byebug
164
+ capybara-headless_chrome!
165
+ rails (~> 5.1.0)
166
+ rake (~> 10.0)
167
+ rspec (~> 3.0)
168
+
169
+ BUNDLED WITH
170
+ 2.0.1
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~>5.2.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,178 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ capybara-headless_chrome (0.6.0)
5
+ capybara
6
+ webdrivers
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (5.2.3)
12
+ actionpack (= 5.2.3)
13
+ nio4r (~> 2.0)
14
+ websocket-driver (>= 0.6.1)
15
+ actionmailer (5.2.3)
16
+ actionpack (= 5.2.3)
17
+ actionview (= 5.2.3)
18
+ activejob (= 5.2.3)
19
+ mail (~> 2.5, >= 2.5.4)
20
+ rails-dom-testing (~> 2.0)
21
+ actionpack (5.2.3)
22
+ actionview (= 5.2.3)
23
+ activesupport (= 5.2.3)
24
+ rack (~> 2.0)
25
+ rack-test (>= 0.6.3)
26
+ rails-dom-testing (~> 2.0)
27
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
+ actionview (5.2.3)
29
+ activesupport (= 5.2.3)
30
+ builder (~> 3.1)
31
+ erubi (~> 1.4)
32
+ rails-dom-testing (~> 2.0)
33
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
+ activejob (5.2.3)
35
+ activesupport (= 5.2.3)
36
+ globalid (>= 0.3.6)
37
+ activemodel (5.2.3)
38
+ activesupport (= 5.2.3)
39
+ activerecord (5.2.3)
40
+ activemodel (= 5.2.3)
41
+ activesupport (= 5.2.3)
42
+ arel (>= 9.0)
43
+ activestorage (5.2.3)
44
+ actionpack (= 5.2.3)
45
+ activerecord (= 5.2.3)
46
+ marcel (~> 0.3.1)
47
+ activesupport (5.2.3)
48
+ concurrent-ruby (~> 1.0, >= 1.0.2)
49
+ i18n (>= 0.7, < 2)
50
+ minitest (~> 5.1)
51
+ tzinfo (~> 1.1)
52
+ addressable (2.6.0)
53
+ public_suffix (>= 2.0.2, < 4.0)
54
+ appraisal (2.2.0)
55
+ bundler
56
+ rake
57
+ thor (>= 0.14.0)
58
+ arel (9.0.0)
59
+ builder (3.2.3)
60
+ byebug (11.0.1)
61
+ capybara (3.16.1)
62
+ addressable
63
+ mini_mime (>= 0.1.3)
64
+ nokogiri (~> 1.8)
65
+ rack (>= 1.6.0)
66
+ rack-test (>= 0.6.3)
67
+ regexp_parser (~> 1.2)
68
+ xpath (~> 3.2)
69
+ childprocess (0.9.0)
70
+ ffi (~> 1.0, >= 1.0.11)
71
+ concurrent-ruby (1.1.5)
72
+ crass (1.0.4)
73
+ diff-lcs (1.3)
74
+ erubi (1.8.0)
75
+ ffi (1.10.0)
76
+ globalid (0.4.2)
77
+ activesupport (>= 4.2.0)
78
+ i18n (1.6.0)
79
+ concurrent-ruby (~> 1.0)
80
+ loofah (2.2.3)
81
+ crass (~> 1.0.2)
82
+ nokogiri (>= 1.5.9)
83
+ mail (2.7.1)
84
+ mini_mime (>= 0.1.1)
85
+ marcel (0.3.3)
86
+ mimemagic (~> 0.3.2)
87
+ method_source (0.9.2)
88
+ mimemagic (0.3.3)
89
+ mini_mime (1.0.1)
90
+ mini_portile2 (2.4.0)
91
+ minitest (5.11.3)
92
+ net_http_ssl_fix (0.0.10)
93
+ nio4r (2.3.1)
94
+ nokogiri (1.10.2)
95
+ mini_portile2 (~> 2.4.0)
96
+ public_suffix (3.0.3)
97
+ rack (2.0.6)
98
+ rack-test (1.1.0)
99
+ rack (>= 1.0, < 3)
100
+ rails (5.2.3)
101
+ actioncable (= 5.2.3)
102
+ actionmailer (= 5.2.3)
103
+ actionpack (= 5.2.3)
104
+ actionview (= 5.2.3)
105
+ activejob (= 5.2.3)
106
+ activemodel (= 5.2.3)
107
+ activerecord (= 5.2.3)
108
+ activestorage (= 5.2.3)
109
+ activesupport (= 5.2.3)
110
+ bundler (>= 1.3.0)
111
+ railties (= 5.2.3)
112
+ sprockets-rails (>= 2.0.0)
113
+ rails-dom-testing (2.0.3)
114
+ activesupport (>= 4.2.0)
115
+ nokogiri (>= 1.6)
116
+ rails-html-sanitizer (1.0.4)
117
+ loofah (~> 2.2, >= 2.2.2)
118
+ railties (5.2.3)
119
+ actionpack (= 5.2.3)
120
+ activesupport (= 5.2.3)
121
+ method_source
122
+ rake (>= 0.8.7)
123
+ thor (>= 0.19.0, < 2.0)
124
+ rake (10.5.0)
125
+ regexp_parser (1.3.0)
126
+ rspec (3.8.0)
127
+ rspec-core (~> 3.8.0)
128
+ rspec-expectations (~> 3.8.0)
129
+ rspec-mocks (~> 3.8.0)
130
+ rspec-core (3.8.0)
131
+ rspec-support (~> 3.8.0)
132
+ rspec-expectations (3.8.2)
133
+ diff-lcs (>= 1.2.0, < 2.0)
134
+ rspec-support (~> 3.8.0)
135
+ rspec-mocks (3.8.0)
136
+ diff-lcs (>= 1.2.0, < 2.0)
137
+ rspec-support (~> 3.8.0)
138
+ rspec-support (3.8.0)
139
+ rubyzip (1.2.2)
140
+ selenium-webdriver (3.141.0)
141
+ childprocess (~> 0.5)
142
+ rubyzip (~> 1.2, >= 1.2.2)
143
+ sprockets (3.7.2)
144
+ concurrent-ruby (~> 1.0)
145
+ rack (> 1, < 3)
146
+ sprockets-rails (3.2.1)
147
+ actionpack (>= 4.0)
148
+ activesupport (>= 4.0)
149
+ sprockets (>= 3.0.0)
150
+ thor (0.20.3)
151
+ thread_safe (0.3.6)
152
+ tzinfo (1.2.5)
153
+ thread_safe (~> 0.1)
154
+ webdrivers (3.7.2)
155
+ net_http_ssl_fix
156
+ nokogiri (~> 1.6)
157
+ rubyzip (~> 1.0)
158
+ selenium-webdriver (~> 3.0)
159
+ websocket-driver (0.7.0)
160
+ websocket-extensions (>= 0.1.0)
161
+ websocket-extensions (0.1.3)
162
+ xpath (3.2.0)
163
+ nokogiri (~> 1.8)
164
+
165
+ PLATFORMS
166
+ ruby
167
+
168
+ DEPENDENCIES
169
+ appraisal
170
+ bundler
171
+ byebug
172
+ capybara-headless_chrome!
173
+ rails (~> 5.2.0)
174
+ rake (~> 10.0)
175
+ rspec (~> 3.0)
176
+
177
+ BUNDLED WITH
178
+ 2.0.1
@@ -47,6 +47,8 @@ module Capybara
47
47
  arg = key.to_s.gsub(/_/,'-')
48
48
  if [true, false].include?(value)
49
49
  arg if value
50
+ elsif value.is_a?(String)
51
+ "#{arg}=#{value}"
50
52
  elsif value.is_a?(Array)
51
53
  "#{arg}=#{value.join(",")}"
52
54
  else
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module HeadlessChrome
3
- VERSION = "0.6.0"
3
+ VERSION = "0.6.1"
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.0
4
+ version: 0.6.1
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-03-31 00:00:00.000000000 Z
11
+ date: 2019-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: webdrivers
@@ -80,6 +80,34 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: appraisal
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: byebug
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
83
111
  description: A nice and tidy Capybara driver for headless Chrome. Even supports file
84
112
  downloads!
85
113
  email:
@@ -88,9 +116,11 @@ executables: []
88
116
  extensions: []
89
117
  extra_rdoc_files: []
90
118
  files:
119
+ - ".byebug_history"
91
120
  - ".gitignore"
92
121
  - ".rspec"
93
122
  - ".travis.yml"
123
+ - Appraisals
94
124
  - Gemfile
95
125
  - LICENSE.txt
96
126
  - README.md
@@ -98,6 +128,19 @@ files:
98
128
  - bin/console
99
129
  - bin/setup
100
130
  - capybara-headless_chrome.gemspec
131
+ - gemfiles/.bundle/config
132
+ - gemfiles/capybara_2.gemfile
133
+ - gemfiles/capybara_2.gemfile.lock
134
+ - gemfiles/capybara_3.gemfile
135
+ - gemfiles/capybara_3.gemfile.lock
136
+ - gemfiles/latest.gemfile
137
+ - gemfiles/latest.gemfile.lock
138
+ - gemfiles/rails_5.0.gemfile
139
+ - gemfiles/rails_5.0.gemfile.lock
140
+ - gemfiles/rails_5.1.gemfile
141
+ - gemfiles/rails_5.1.gemfile.lock
142
+ - gemfiles/rails_5.2.gemfile
143
+ - gemfiles/rails_5.2.gemfile.lock
101
144
  - lib/capybara/headless_chrome.rb
102
145
  - lib/capybara/headless_chrome/cucumber.rb
103
146
  - lib/capybara/headless_chrome/downloads.rb