capybara-webkit 1.3.1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -4
- data/Appraisals +0 -8
- data/Gemfile.lock +5 -5
- data/NEWS.md +7 -0
- data/capybara-webkit.gemspec +1 -1
- data/extconf.rb +18 -0
- data/gemfiles/2.3.gemfile.lock +2 -2
- data/gemfiles/2.4.gemfile.lock +2 -2
- data/lib/capybara/webkit/browser.rb +14 -0
- data/lib/capybara/webkit/driver.rb +12 -0
- data/lib/capybara/webkit/version.rb +1 -1
- data/lib/capybara_webkit_builder.rb +18 -2
- data/spec/driver_spec.rb +99 -28
- data/spec/support/app_runner.rb +4 -4
- data/spec/support/output_writer.rb +15 -0
- data/src/AllowUrl.cpp +16 -0
- data/src/AllowUrl.h +10 -0
- data/src/BlacklistedRequestHandler.cpp +56 -0
- data/src/BlacklistedRequestHandler.h +22 -0
- data/src/BlockUrl.cpp +16 -0
- data/src/BlockUrl.h +10 -0
- data/src/CommandFactory.cpp +3 -0
- data/src/CustomHeadersRequestHandler.cpp +37 -0
- data/src/CustomHeadersRequestHandler.h +21 -0
- data/src/Header.cpp +1 -2
- data/src/MissingContentHeaderRequestHandler.cpp +23 -0
- data/src/MissingContentHeaderRequestHandler.h +15 -0
- data/src/NetworkAccessManager.cpp +35 -53
- data/src/NetworkAccessManager.h +14 -9
- data/src/NetworkRequestFactory.cpp +15 -0
- data/src/NetworkRequestFactory.h +12 -0
- data/src/NoOpReply.cpp +1 -1
- data/src/NoOpReply.h +1 -1
- data/src/RequestHandler.cpp +4 -0
- data/src/RequestHandler.h +25 -0
- data/src/SetUnknownUrlMode.cpp +27 -0
- data/src/SetUnknownUrlMode.h +10 -0
- data/src/SetUrlBlacklist.cpp +1 -2
- data/src/SetUrlBlacklist.h +0 -2
- data/src/UnknownUrlHandler.cpp +70 -0
- data/src/UnknownUrlHandler.h +28 -0
- data/src/WebPageManager.cpp +41 -1
- data/src/WebPageManager.h +12 -1
- data/src/capybara.js +2 -1
- data/src/find_command.h +3 -0
- data/src/webkit_server.pro +20 -2
- metadata +23 -10
- data/gemfiles/2.0.gemfile +0 -7
- data/gemfiles/2.0.gemfile.lock +0 -76
- data/gemfiles/2.1.gemfile +0 -7
- data/gemfiles/2.1.gemfile.lock +0 -83
- data/gemfiles/2.2.gemfile +0 -7
- data/gemfiles/2.2.gemfile.lock +0 -77
data/gemfiles/2.0.gemfile
DELETED
data/gemfiles/2.0.gemfile.lock
DELETED
@@ -1,76 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: /home/mhoran/capybara-webkit
|
3
|
-
specs:
|
4
|
-
capybara-webkit (1.1.1)
|
5
|
-
capybara (>= 2.0.2, < 2.2.0)
|
6
|
-
json
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
appraisal (0.4.1)
|
12
|
-
bundler
|
13
|
-
rake
|
14
|
-
capybara (2.0.3)
|
15
|
-
mime-types (>= 1.16)
|
16
|
-
nokogiri (>= 1.3.3)
|
17
|
-
rack (>= 1.0.0)
|
18
|
-
rack-test (>= 0.5.4)
|
19
|
-
selenium-webdriver (~> 2.0)
|
20
|
-
xpath (~> 1.0.0)
|
21
|
-
childprocess (0.4.1)
|
22
|
-
ffi (~> 1.0, >= 1.0.11)
|
23
|
-
diff-lcs (1.2.5)
|
24
|
-
ffi (1.9.3)
|
25
|
-
ffi (1.9.3-java)
|
26
|
-
json (1.8.1)
|
27
|
-
json (1.8.1-java)
|
28
|
-
mime-types (1.23)
|
29
|
-
mini_magick (3.5.0)
|
30
|
-
subexec (~> 0.2.1)
|
31
|
-
multi_json (1.8.4)
|
32
|
-
nokogiri (1.5.9)
|
33
|
-
nokogiri (1.5.9-java)
|
34
|
-
rack (1.5.2)
|
35
|
-
rack-protection (1.3.2)
|
36
|
-
rack
|
37
|
-
rack-test (0.6.2)
|
38
|
-
rack (>= 1.0)
|
39
|
-
rake (10.0.3)
|
40
|
-
rspec (2.14.1)
|
41
|
-
rspec-core (~> 2.14.0)
|
42
|
-
rspec-expectations (~> 2.14.0)
|
43
|
-
rspec-mocks (~> 2.14.0)
|
44
|
-
rspec-core (2.14.7)
|
45
|
-
rspec-expectations (2.14.4)
|
46
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
47
|
-
rspec-mocks (2.14.4)
|
48
|
-
rubyzip (1.1.0)
|
49
|
-
selenium-webdriver (2.39.0)
|
50
|
-
childprocess (>= 0.2.5)
|
51
|
-
multi_json (~> 1.0)
|
52
|
-
rubyzip (~> 1.0)
|
53
|
-
websocket (~> 1.0.4)
|
54
|
-
sinatra (1.3.5)
|
55
|
-
rack (~> 1.4)
|
56
|
-
rack-protection (~> 1.3)
|
57
|
-
tilt (~> 1.3, >= 1.3.3)
|
58
|
-
subexec (0.2.2)
|
59
|
-
tilt (1.3.3)
|
60
|
-
websocket (1.0.7)
|
61
|
-
xpath (1.0.0)
|
62
|
-
nokogiri (~> 1.3)
|
63
|
-
|
64
|
-
PLATFORMS
|
65
|
-
java
|
66
|
-
ruby
|
67
|
-
|
68
|
-
DEPENDENCIES
|
69
|
-
appraisal (~> 0.4.0)
|
70
|
-
capybara (~> 2.0.2)
|
71
|
-
capybara-webkit!
|
72
|
-
mini_magick
|
73
|
-
rake
|
74
|
-
rspec (~> 2.14.0)
|
75
|
-
selenium-webdriver
|
76
|
-
sinatra
|
data/gemfiles/2.1.gemfile
DELETED
data/gemfiles/2.1.gemfile.lock
DELETED
@@ -1,83 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
capybara-webkit (1.3.0)
|
5
|
-
capybara (>= 2.0.2, < 2.5.0)
|
6
|
-
json
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
addressable (2.3.6)
|
12
|
-
appraisal (0.4.1)
|
13
|
-
bundler
|
14
|
-
rake
|
15
|
-
capybara (2.1.0)
|
16
|
-
mime-types (>= 1.16)
|
17
|
-
nokogiri (>= 1.3.3)
|
18
|
-
rack (>= 1.0.0)
|
19
|
-
rack-test (>= 0.5.4)
|
20
|
-
xpath (~> 2.0)
|
21
|
-
childprocess (0.4.1)
|
22
|
-
ffi (~> 1.0, >= 1.0.11)
|
23
|
-
diff-lcs (1.2.5)
|
24
|
-
ffi (1.9.3)
|
25
|
-
ffi (1.9.3-java)
|
26
|
-
json (1.8.1)
|
27
|
-
launchy (2.4.2)
|
28
|
-
addressable (~> 2.3)
|
29
|
-
launchy (2.4.2-java)
|
30
|
-
addressable (~> 2.3)
|
31
|
-
spoon (~> 0.0.1)
|
32
|
-
mime-types (1.23)
|
33
|
-
mini_magick (3.5.0)
|
34
|
-
subexec (~> 0.2.1)
|
35
|
-
multi_json (1.8.4)
|
36
|
-
nokogiri (1.5.9)
|
37
|
-
nokogiri (1.5.9-java)
|
38
|
-
rack (1.5.2)
|
39
|
-
rack-protection (1.3.2)
|
40
|
-
rack
|
41
|
-
rack-test (0.6.2)
|
42
|
-
rack (>= 1.0)
|
43
|
-
rake (10.0.3)
|
44
|
-
rspec (2.14.1)
|
45
|
-
rspec-core (~> 2.14.0)
|
46
|
-
rspec-expectations (~> 2.14.0)
|
47
|
-
rspec-mocks (~> 2.14.0)
|
48
|
-
rspec-core (2.14.7)
|
49
|
-
rspec-expectations (2.14.4)
|
50
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
51
|
-
rspec-mocks (2.14.4)
|
52
|
-
rubyzip (1.1.0)
|
53
|
-
selenium-webdriver (2.39.0)
|
54
|
-
childprocess (>= 0.2.5)
|
55
|
-
multi_json (~> 1.0)
|
56
|
-
rubyzip (~> 1.0)
|
57
|
-
websocket (~> 1.0.4)
|
58
|
-
sinatra (1.3.5)
|
59
|
-
rack (~> 1.4)
|
60
|
-
rack-protection (~> 1.3)
|
61
|
-
tilt (~> 1.3, >= 1.3.3)
|
62
|
-
spoon (0.0.4)
|
63
|
-
ffi
|
64
|
-
subexec (0.2.2)
|
65
|
-
tilt (1.3.3)
|
66
|
-
websocket (1.0.7)
|
67
|
-
xpath (2.0.0)
|
68
|
-
nokogiri (~> 1.3)
|
69
|
-
|
70
|
-
PLATFORMS
|
71
|
-
java
|
72
|
-
ruby
|
73
|
-
|
74
|
-
DEPENDENCIES
|
75
|
-
appraisal (~> 0.4.0)
|
76
|
-
capybara (~> 2.1.0)
|
77
|
-
capybara-webkit!
|
78
|
-
launchy
|
79
|
-
mini_magick
|
80
|
-
rake
|
81
|
-
rspec (~> 2.14.0)
|
82
|
-
selenium-webdriver
|
83
|
-
sinatra
|
data/gemfiles/2.2.gemfile
DELETED
data/gemfiles/2.2.gemfile.lock
DELETED
@@ -1,77 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
capybara-webkit (1.3.1)
|
5
|
-
capybara (>= 2.0.2, < 2.5.0)
|
6
|
-
json
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
addressable (2.3.6)
|
12
|
-
appraisal (0.4.1)
|
13
|
-
bundler
|
14
|
-
rake
|
15
|
-
capybara (2.2.1)
|
16
|
-
mime-types (>= 1.16)
|
17
|
-
nokogiri (>= 1.3.3)
|
18
|
-
rack (>= 1.0.0)
|
19
|
-
rack-test (>= 0.5.4)
|
20
|
-
xpath (~> 2.0)
|
21
|
-
childprocess (0.5.3)
|
22
|
-
ffi (~> 1.0, >= 1.0.11)
|
23
|
-
diff-lcs (1.2.5)
|
24
|
-
ffi (1.9.3)
|
25
|
-
json (1.8.1)
|
26
|
-
launchy (2.4.2)
|
27
|
-
addressable (~> 2.3)
|
28
|
-
mime-types (2.3)
|
29
|
-
mini_magick (3.7.0)
|
30
|
-
subexec (~> 0.2.1)
|
31
|
-
mini_portile (0.6.0)
|
32
|
-
multi_json (1.10.1)
|
33
|
-
nokogiri (1.6.2.1)
|
34
|
-
mini_portile (= 0.6.0)
|
35
|
-
rack (1.5.2)
|
36
|
-
rack-protection (1.5.3)
|
37
|
-
rack
|
38
|
-
rack-test (0.6.2)
|
39
|
-
rack (>= 1.0)
|
40
|
-
rake (10.3.2)
|
41
|
-
rspec (2.14.1)
|
42
|
-
rspec-core (~> 2.14.0)
|
43
|
-
rspec-expectations (~> 2.14.0)
|
44
|
-
rspec-mocks (~> 2.14.0)
|
45
|
-
rspec-core (2.14.8)
|
46
|
-
rspec-expectations (2.14.5)
|
47
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
48
|
-
rspec-mocks (2.14.6)
|
49
|
-
rubyzip (1.1.4)
|
50
|
-
selenium-webdriver (2.42.0)
|
51
|
-
childprocess (>= 0.5.0)
|
52
|
-
multi_json (~> 1.0)
|
53
|
-
rubyzip (~> 1.0)
|
54
|
-
websocket (~> 1.0.4)
|
55
|
-
sinatra (1.4.5)
|
56
|
-
rack (~> 1.4)
|
57
|
-
rack-protection (~> 1.4)
|
58
|
-
tilt (~> 1.3, >= 1.3.4)
|
59
|
-
subexec (0.2.3)
|
60
|
-
tilt (1.4.1)
|
61
|
-
websocket (1.0.7)
|
62
|
-
xpath (2.0.0)
|
63
|
-
nokogiri (~> 1.3)
|
64
|
-
|
65
|
-
PLATFORMS
|
66
|
-
ruby
|
67
|
-
|
68
|
-
DEPENDENCIES
|
69
|
-
appraisal (~> 0.4.0)
|
70
|
-
capybara (~> 2.2.0)
|
71
|
-
capybara-webkit!
|
72
|
-
launchy
|
73
|
-
mini_magick
|
74
|
-
rake
|
75
|
-
rspec (~> 2.14.0)
|
76
|
-
selenium-webdriver
|
77
|
-
sinatra
|