capybara-webkit 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/.travis.yml +0 -4
- data/Gemfile.lock +3 -3
- data/NEWS.md +3 -0
- data/README.md +16 -10
- data/capybara-webkit.gemspec +1 -1
- data/gemfiles/2.0.gemfile.lock +13 -13
- data/gemfiles/2.1.gemfile.lock +13 -13
- data/lib/capybara/webkit/version.rb +1 -1
- data/src/IgnoreDebugOutput.cpp +1 -0
- data/src/webkit_server.pro +5 -0
- metadata +47 -39
- checksums.yaml +0 -7
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -2,7 +2,6 @@ language: ruby
|
|
2
2
|
rvm:
|
3
3
|
- 1.9.3
|
4
4
|
- 2.0.0
|
5
|
-
- rbx-19mode
|
6
5
|
matrix:
|
7
6
|
exclude:
|
8
7
|
- rvm: 1.9.3
|
@@ -11,9 +10,6 @@ matrix:
|
|
11
10
|
- rvm: 2.0.0
|
12
11
|
gemfile: gemfiles/2.0.gemfile
|
13
12
|
env: QMAKE=/usr/lib/x86_64-linux-gnu/qt5/bin/qmake
|
14
|
-
- rvm: rbx-19mode
|
15
|
-
gemfile: gemfiles/2.0.gemfile
|
16
|
-
env: QMAKE=/usr/lib/x86_64-linux-gnu/qt5/bin/qmake
|
17
13
|
notifications:
|
18
14
|
email: false
|
19
15
|
script: xvfb-run rake
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
capybara-webkit (1.1.
|
5
|
-
capybara (
|
4
|
+
capybara-webkit (1.1.1)
|
5
|
+
capybara (>= 2.0.2, < 2.2.0)
|
6
6
|
json
|
7
7
|
|
8
8
|
GEM
|
@@ -11,7 +11,7 @@ GEM
|
|
11
11
|
appraisal (0.4.0)
|
12
12
|
bundler
|
13
13
|
rake
|
14
|
-
capybara (2.
|
14
|
+
capybara (2.1.0)
|
15
15
|
mime-types (>= 1.16)
|
16
16
|
nokogiri (>= 1.3.3)
|
17
17
|
rack (>= 1.0.0)
|
data/NEWS.md
CHANGED
data/README.md
CHANGED
@@ -19,7 +19,11 @@ capybara-webkit requires Qt version 4.8.
|
|
19
19
|
Windows Support
|
20
20
|
---------------
|
21
21
|
|
22
|
-
Currently 32-bit Windows will compile capybara-webkit. Support for Windows is
|
22
|
+
Currently 32-bit Windows will compile capybara-webkit. Support for Windows is
|
23
|
+
provided by the open source community and Windows related issues should be
|
24
|
+
posted to [Stack Overflow].
|
25
|
+
|
26
|
+
[Stack Overflow]: http://stackoverflow.com/questions/tagged/capybara-webkit
|
23
27
|
|
24
28
|
Reporting Issues
|
25
29
|
----------------
|
@@ -27,15 +31,17 @@ Reporting Issues
|
|
27
31
|
Without access to your application code we can't easily debug most crashes or
|
28
32
|
generic failures, so we've included a debug version of the driver that prints a
|
29
33
|
log of what happened during each test. Before filing a crash bug, please see
|
30
|
-
[Reporting Crashes]
|
31
|
-
|
34
|
+
[Reporting Crashes]. You're much more likely to get a fix if you follow those
|
35
|
+
instructions.
|
32
36
|
|
33
|
-
If you
|
34
|
-
[
|
35
|
-
If you don't have any luck there, please post to the
|
36
|
-
[mailing list](http://groups.google.com/group/capybara-webkit). Please don't
|
37
|
+
If you're having trouble compiling or installing, please check out the [wiki].
|
38
|
+
If you don't have any luck there, please post to [Stack Overflow]. Please don't
|
37
39
|
open a Github issue for a system-specific compiler issue.
|
38
40
|
|
41
|
+
[Reporting Crashes]: http://stackoverflow.com/questions/tagged/capybara-webkit
|
42
|
+
[capybara-webkit wiki]: https://github.com/thoughtbot/capybara-webkit/wiki
|
43
|
+
[Stack Overflow]: http://stackoverflow.com/questions/tagged/capybara-webkit
|
44
|
+
|
39
45
|
CI
|
40
46
|
--
|
41
47
|
|
@@ -60,7 +66,7 @@ Capybara.javascript_driver = :webkit
|
|
60
66
|
|
61
67
|
In cucumber, tag scenarios with @javascript to run them using a headless WebKit browser.
|
62
68
|
|
63
|
-
In RSpec, use the `:js => true` flag. See the [capybara
|
69
|
+
In RSpec, use the `:js => true` flag. See the [capybara documentation](http://rubydoc.info/gems/capybara#Using_Capybara_with_RSpec) for more information about using capybara with RSpec.
|
64
70
|
|
65
71
|
Take note of the transactional fixtures section of the [capybara README](https://github.com/jnicklas/capybara/blob/master/README.md).
|
66
72
|
|
@@ -85,14 +91,14 @@ console.log("hello")
|
|
85
91
|
```ruby
|
86
92
|
# In Ruby:
|
87
93
|
page.driver.console_messages
|
88
|
-
=> {:source=>"http://example.com", :line_number=>1, :message=>"hello"}
|
94
|
+
=> [{:source=>"http://example.com", :line_number=>1, :message=>"hello"}]
|
89
95
|
```
|
90
96
|
|
91
97
|
**error_messages**: returns an array of Javascript errors that occurred
|
92
98
|
|
93
99
|
```ruby
|
94
100
|
page.driver.error_messages
|
95
|
-
=> {:source=>"http://example.com", :line_number=>1, :message=>"SyntaxError: Parse error"}
|
101
|
+
=> [{:source=>"http://example.com", :line_number=>1, :message=>"SyntaxError: Parse error"}]
|
96
102
|
```
|
97
103
|
|
98
104
|
**alert_messages, confirm_messages, prompt_messages**: returns arrays of Javascript dialog messages for each dialog type
|
data/capybara-webkit.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
|
20
20
|
s.required_ruby_version = ">= 1.9.0"
|
21
21
|
|
22
|
-
s.add_runtime_dependency("capybara", "
|
22
|
+
s.add_runtime_dependency("capybara", ">= 2.0.2", "< 2.2.0")
|
23
23
|
s.add_runtime_dependency("json")
|
24
24
|
|
25
25
|
s.add_development_dependency("rspec", "~> 2.14.0")
|
data/gemfiles/2.0.gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: /home/mhoran/capybara-webkit
|
3
3
|
specs:
|
4
|
-
capybara-webkit (1.
|
5
|
-
capybara (
|
4
|
+
capybara-webkit (1.1.1)
|
5
|
+
capybara (>= 2.0.2, < 2.2.0)
|
6
6
|
json
|
7
7
|
|
8
8
|
GEM
|
@@ -20,9 +20,9 @@ GEM
|
|
20
20
|
xpath (~> 1.0.0)
|
21
21
|
childprocess (0.3.9)
|
22
22
|
ffi (~> 1.0, >= 1.0.11)
|
23
|
-
diff-lcs (1.
|
23
|
+
diff-lcs (1.2.5)
|
24
24
|
ffi (1.9.0)
|
25
|
-
json (1.8.
|
25
|
+
json (1.8.1)
|
26
26
|
mime-types (1.23)
|
27
27
|
mini_magick (3.5.0)
|
28
28
|
subexec (~> 0.2.1)
|
@@ -34,14 +34,14 @@ GEM
|
|
34
34
|
rack-test (0.6.2)
|
35
35
|
rack (>= 1.0)
|
36
36
|
rake (10.0.3)
|
37
|
-
rspec (2.
|
38
|
-
rspec-core (~> 2.
|
39
|
-
rspec-expectations (~> 2.
|
40
|
-
rspec-mocks (~> 2.
|
41
|
-
rspec-core (2.
|
42
|
-
rspec-expectations (2.
|
43
|
-
diff-lcs (
|
44
|
-
rspec-mocks (2.
|
37
|
+
rspec (2.14.1)
|
38
|
+
rspec-core (~> 2.14.0)
|
39
|
+
rspec-expectations (~> 2.14.0)
|
40
|
+
rspec-mocks (~> 2.14.0)
|
41
|
+
rspec-core (2.14.7)
|
42
|
+
rspec-expectations (2.14.4)
|
43
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
44
|
+
rspec-mocks (2.14.4)
|
45
45
|
rubyzip (0.9.9)
|
46
46
|
selenium-webdriver (2.33.0)
|
47
47
|
childprocess (>= 0.2.5)
|
@@ -67,6 +67,6 @@ DEPENDENCIES
|
|
67
67
|
capybara-webkit!
|
68
68
|
mini_magick
|
69
69
|
rake
|
70
|
-
rspec (~> 2.
|
70
|
+
rspec (~> 2.14.0)
|
71
71
|
selenium-webdriver
|
72
72
|
sinatra
|
data/gemfiles/2.1.gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: /home/mhoran/capybara-webkit
|
3
3
|
specs:
|
4
|
-
capybara-webkit (1.
|
5
|
-
capybara (
|
4
|
+
capybara-webkit (1.1.1)
|
5
|
+
capybara (>= 2.0.2, < 2.2.0)
|
6
6
|
json
|
7
7
|
|
8
8
|
GEM
|
@@ -19,9 +19,9 @@ GEM
|
|
19
19
|
xpath (~> 2.0)
|
20
20
|
childprocess (0.3.9)
|
21
21
|
ffi (~> 1.0, >= 1.0.11)
|
22
|
-
diff-lcs (1.
|
22
|
+
diff-lcs (1.2.5)
|
23
23
|
ffi (1.9.0)
|
24
|
-
json (1.8.
|
24
|
+
json (1.8.1)
|
25
25
|
mime-types (1.23)
|
26
26
|
mini_magick (3.5.0)
|
27
27
|
subexec (~> 0.2.1)
|
@@ -33,14 +33,14 @@ GEM
|
|
33
33
|
rack-test (0.6.2)
|
34
34
|
rack (>= 1.0)
|
35
35
|
rake (10.0.3)
|
36
|
-
rspec (2.
|
37
|
-
rspec-core (~> 2.
|
38
|
-
rspec-expectations (~> 2.
|
39
|
-
rspec-mocks (~> 2.
|
40
|
-
rspec-core (2.
|
41
|
-
rspec-expectations (2.
|
42
|
-
diff-lcs (
|
43
|
-
rspec-mocks (2.
|
36
|
+
rspec (2.14.1)
|
37
|
+
rspec-core (~> 2.14.0)
|
38
|
+
rspec-expectations (~> 2.14.0)
|
39
|
+
rspec-mocks (~> 2.14.0)
|
40
|
+
rspec-core (2.14.7)
|
41
|
+
rspec-expectations (2.14.4)
|
42
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
43
|
+
rspec-mocks (2.14.4)
|
44
44
|
rubyzip (0.9.9)
|
45
45
|
selenium-webdriver (2.33.0)
|
46
46
|
childprocess (>= 0.2.5)
|
@@ -66,6 +66,6 @@ DEPENDENCIES
|
|
66
66
|
capybara-webkit!
|
67
67
|
mini_magick
|
68
68
|
rake
|
69
|
-
rspec (~> 2.
|
69
|
+
rspec (~> 2.14.0)
|
70
70
|
selenium-webdriver
|
71
71
|
sinatra
|
data/src/IgnoreDebugOutput.cpp
CHANGED
data/src/webkit_server.pro
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
TEMPLATE = app
|
2
2
|
TARGET = webkit_server
|
3
3
|
DESTDIR = .
|
4
|
+
PROJECT_DIR = $$_PRO_FILE_PWD_
|
5
|
+
BUILD_DIR = $${PROJECT_DIR}/build
|
6
|
+
PRECOMPILED_DIR = $${BUILD_DIR}
|
7
|
+
OBJECTS_DIR = $${BUILD_DIR}
|
8
|
+
MOC_DIR = $${BUILD_DIR}
|
4
9
|
HEADERS = \
|
5
10
|
Version.h \
|
6
11
|
EnableLogging.h \
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-webkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- thoughtbot
|
@@ -13,45 +14,50 @@ authors:
|
|
13
14
|
autorequire:
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
|
-
date: 2013-12-
|
17
|
+
date: 2013-12-25 00:00:00.000000000 Z
|
17
18
|
dependencies:
|
18
19
|
- !ruby/object:Gem::Dependency
|
19
20
|
name: capybara
|
20
21
|
requirement: !ruby/object:Gem::Requirement
|
22
|
+
none: false
|
21
23
|
requirements:
|
22
|
-
- -
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: '2.0'
|
25
|
-
- - '>='
|
24
|
+
- - ! '>='
|
26
25
|
- !ruby/object:Gem::Version
|
27
26
|
version: 2.0.2
|
27
|
+
- - <
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.2.0
|
28
30
|
type: :runtime
|
29
31
|
prerelease: false
|
30
32
|
version_requirements: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
31
34
|
requirements:
|
32
|
-
- -
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '2.0'
|
35
|
-
- - '>='
|
35
|
+
- - ! '>='
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: 2.0.2
|
38
|
+
- - <
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.2.0
|
38
41
|
- !ruby/object:Gem::Dependency
|
39
42
|
name: json
|
40
43
|
requirement: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
41
45
|
requirements:
|
42
|
-
- - '>='
|
46
|
+
- - ! '>='
|
43
47
|
- !ruby/object:Gem::Version
|
44
48
|
version: '0'
|
45
49
|
type: :runtime
|
46
50
|
prerelease: false
|
47
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
48
53
|
requirements:
|
49
|
-
- - '>='
|
54
|
+
- - ! '>='
|
50
55
|
- !ruby/object:Gem::Version
|
51
56
|
version: '0'
|
52
57
|
- !ruby/object:Gem::Dependency
|
53
58
|
name: rspec
|
54
59
|
requirement: !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
55
61
|
requirements:
|
56
62
|
- - ~>
|
57
63
|
- !ruby/object:Gem::Version
|
@@ -59,6 +65,7 @@ dependencies:
|
|
59
65
|
type: :development
|
60
66
|
prerelease: false
|
61
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
62
69
|
requirements:
|
63
70
|
- - ~>
|
64
71
|
- !ruby/object:Gem::Version
|
@@ -66,48 +73,55 @@ dependencies:
|
|
66
73
|
- !ruby/object:Gem::Dependency
|
67
74
|
name: sinatra
|
68
75
|
requirement: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
69
77
|
requirements:
|
70
|
-
- - '>='
|
78
|
+
- - ! '>='
|
71
79
|
- !ruby/object:Gem::Version
|
72
80
|
version: '0'
|
73
81
|
type: :development
|
74
82
|
prerelease: false
|
75
83
|
version_requirements: !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
76
85
|
requirements:
|
77
|
-
- - '>='
|
86
|
+
- - ! '>='
|
78
87
|
- !ruby/object:Gem::Version
|
79
88
|
version: '0'
|
80
89
|
- !ruby/object:Gem::Dependency
|
81
90
|
name: mini_magick
|
82
91
|
requirement: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
83
93
|
requirements:
|
84
|
-
- - '>='
|
94
|
+
- - ! '>='
|
85
95
|
- !ruby/object:Gem::Version
|
86
96
|
version: '0'
|
87
97
|
type: :development
|
88
98
|
prerelease: false
|
89
99
|
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
90
101
|
requirements:
|
91
|
-
- - '>='
|
102
|
+
- - ! '>='
|
92
103
|
- !ruby/object:Gem::Version
|
93
104
|
version: '0'
|
94
105
|
- !ruby/object:Gem::Dependency
|
95
106
|
name: rake
|
96
107
|
requirement: !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
97
109
|
requirements:
|
98
|
-
- - '>='
|
110
|
+
- - ! '>='
|
99
111
|
- !ruby/object:Gem::Version
|
100
112
|
version: '0'
|
101
113
|
type: :development
|
102
114
|
prerelease: false
|
103
115
|
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
104
117
|
requirements:
|
105
|
-
- - '>='
|
118
|
+
- - ! '>='
|
106
119
|
- !ruby/object:Gem::Version
|
107
120
|
version: '0'
|
108
121
|
- !ruby/object:Gem::Dependency
|
109
122
|
name: appraisal
|
110
123
|
requirement: !ruby/object:Gem::Requirement
|
124
|
+
none: false
|
111
125
|
requirements:
|
112
126
|
- - ~>
|
113
127
|
- !ruby/object:Gem::Version
|
@@ -115,6 +129,7 @@ dependencies:
|
|
115
129
|
type: :development
|
116
130
|
prerelease: false
|
117
131
|
version_requirements: !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
118
133
|
requirements:
|
119
134
|
- - ~>
|
120
135
|
- !ruby/object:Gem::Version
|
@@ -122,15 +137,17 @@ dependencies:
|
|
122
137
|
- !ruby/object:Gem::Dependency
|
123
138
|
name: selenium-webdriver
|
124
139
|
requirement: !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
125
141
|
requirements:
|
126
|
-
- - '>='
|
142
|
+
- - ! '>='
|
127
143
|
- !ruby/object:Gem::Version
|
128
144
|
version: '0'
|
129
145
|
type: :development
|
130
146
|
prerelease: false
|
131
147
|
version_requirements: !ruby/object:Gem::Requirement
|
148
|
+
none: false
|
132
149
|
requirements:
|
133
|
-
- - '>='
|
150
|
+
- - ! '>='
|
134
151
|
- !ruby/object:Gem::Version
|
135
152
|
version: '0'
|
136
153
|
description:
|
@@ -325,38 +342,29 @@ files:
|
|
325
342
|
homepage: http://github.com/thoughtbot/capybara-webkit
|
326
343
|
licenses:
|
327
344
|
- MIT
|
328
|
-
metadata: {}
|
329
345
|
post_install_message:
|
330
346
|
rdoc_options: []
|
331
347
|
require_paths:
|
332
348
|
- lib
|
333
349
|
required_ruby_version: !ruby/object:Gem::Requirement
|
350
|
+
none: false
|
334
351
|
requirements:
|
335
|
-
- - '>='
|
352
|
+
- - ! '>='
|
336
353
|
- !ruby/object:Gem::Version
|
337
354
|
version: 1.9.0
|
338
355
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
356
|
+
none: false
|
339
357
|
requirements:
|
340
|
-
- - '>='
|
358
|
+
- - ! '>='
|
341
359
|
- !ruby/object:Gem::Version
|
342
360
|
version: '0'
|
361
|
+
segments:
|
362
|
+
- 0
|
363
|
+
hash: 3687364731503617195
|
343
364
|
requirements: []
|
344
365
|
rubyforge_project:
|
345
|
-
rubygems_version:
|
366
|
+
rubygems_version: 1.8.25
|
346
367
|
signing_key:
|
347
|
-
specification_version:
|
368
|
+
specification_version: 3
|
348
369
|
summary: Headless Webkit driver for Capybara
|
349
|
-
test_files:
|
350
|
-
- spec/browser_spec.rb
|
351
|
-
- spec/capybara_webkit_builder_spec.rb
|
352
|
-
- spec/connection_spec.rb
|
353
|
-
- spec/cookie_jar_spec.rb
|
354
|
-
- spec/driver_rendering_spec.rb
|
355
|
-
- spec/driver_resize_window_spec.rb
|
356
|
-
- spec/driver_spec.rb
|
357
|
-
- spec/errors_spec.rb
|
358
|
-
- spec/integration/session_spec.rb
|
359
|
-
- spec/selenium_compatibility_spec.rb
|
360
|
-
- spec/self_signed_ssl_cert.rb
|
361
|
-
- spec/spec_helper.rb
|
362
|
-
- spec/support/app_runner.rb
|
370
|
+
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 218ecbf884de71199261eb9e085c2e408313cd2c
|
4
|
-
data.tar.gz: 56d3b795bb714e25badb726b1a54fabaa84830ea
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 5aa4667fe8e68fb68d02bed0d8bedfa7fa9bf0d24cbcbb95f8acc0aa8b468d9e7c27d1ca14b3b963bf98e62d75c6acf1dbc0d8aa991566a71303fba8f6ece68a
|
7
|
-
data.tar.gz: cc658b8ae059a0d9cbb3a3b2c4e047981c7eab045362dbfc1c840ac054d5ad30aba177886434b165e9fc2c11194e18b5b3d2c2ae453d7d35df249ec810e81e0b
|